[RTEMS Project] #2182: broken RTEMS CLOCKS_PER_SEC interface, when including only time.h

RTEMS trac trac at rtems.org
Tue Feb 24 15:15:25 UTC 2015


#2182: broken RTEMS CLOCKS_PER_SEC interface, when including only time.h
--------------------+----------------------------
 Reporter:  johill  |       Owner:  joel.sherrill
     Type:  defect  |      Status:  new
 Priority:  normal  |   Milestone:  4.11
Component:  libcpu  |     Version:  4.10
 Severity:  normal  |  Resolution:
 Keywords:          |
--------------------+----------------------------

Comment (by gedare):

 XSI requires CLOCKS_PER_SEC to be one million. If we don't care about XSI
 conformance we can let it be anything. However we could define
 CLOCKS_PER_SEC to 1000000 and scale ticks to microseconds in  _times().

--
Ticket URL: <http://devel.rtems.org/ticket/2182#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list