summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/src/cpucounterconverter.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-07-26rtems: Add files to Doxygen groupsSebastian Huber1-0/+9
Provide basic Doxygen comments. Update #3706. Update #3707.
2023-05-20Update company nameSebastian Huber1-1/+1
The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
2022-03-10cpukit/: Scripted embedded brains header file clean upJoel Sherrill1-6/+0
Updates #4625.
2022-02-28sapi/src/*.c: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2021-01-26cpucounter: Increase conversion accuracySebastian Huber1-3/+4
The maximum frequency is UINT32_MAX. Converted to a uint64_t variable it can be shifted by 32. The addition does not overflow since bin_per_s - 1 is UINT32_MAX.
2020-02-04Use RTEMS_SYSINIT_ORDER_LAST_BUT_5Sebastian Huber1-1/+1
Use RTEMS_SYSINIT_ORDER_LAST_BUT_5 instead of RTEMS_SYSINIT_ORDER_LAST to allow applications and support functions to place system initialization handlers behind the standard handlers. Update #3838.
2018-12-03Convert CPU counter ticks to/from sbintime_tSebastian Huber1-2/+20
The sbintime_t is an efficient time format. Add the ability to convert CPU counter ticks to/from sbintime_t.
2018-06-15Add _CPU_Counter_frequency()Sebastian Huber1-3/+15
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.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2014-02-14score: Add CPU counter supportSebastian Huber1-0/+39
Add a CPU counter interface to allow access to a free-running counter. It is useful to measure short time intervals. This can be used for example to enable profiling of critical low-level functions. Add two busy wait functions rtems_counter_delay_ticks() and rtems_counter_delay_nanoseconds() implemented via the CPU counter.