[RTEMS Project] #3456: Add support for CPU counter timestamps

RTEMS trac trac at rtems.org
Tue Jun 19 04:58:29 UTC 2018


#3456: Add support for CPU counter timestamps
-----------------------------+------------------------------
 Reporter:  Sebastian Huber  |       Owner:  Sebastian Huber
     Type:  enhancement      |      Status:  assigned
 Priority:  normal           |   Milestone:  5.1
Component:  score            |     Version:  5
 Severity:  normal           |  Resolution:
 Keywords:                   |  Blocked By:
 Blocking:                   |
-----------------------------+------------------------------

Comment (by Sebastian Huber <sebastian.huber@…>):

 In [changeset:"65f868cac6f7fd5c3ad02046574c19f8f4673255/rtems"
 65f868c/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="65f868cac6f7fd5c3ad02046574c19f8f4673255"
 Add _CPU_Counter_frequency()

 Add rtems_counter_frequency() API function.  Use it to initialize the
 counter value converter via the new system initialization step
 (RTEMS_SYSINIT_CPU_COUNTER).  This decouples the counter implementation
 and the counter converter.  It avoids an unnecessary pull in of the
 64-bit integer division from libgcc.

 Update #3456.
 }}}

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


More information about the bugs mailing list