summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/src/cpucounterconverter.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rtems: Add files to Doxygen groupsSebastian Huber2023-07-261-0/+9
| | | | | | | Provide basic Doxygen comments. Update #3706. Update #3707.
* Update company nameSebastian Huber2023-05-201-1/+1
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* cpukit/: Scripted embedded brains header file clean upJoel Sherrill2022-03-101-6/+0
| | | | Updates #4625.
* sapi/src/*.c: Change license to BSD-2Joel Sherrill2022-02-281-3/+22
| | | | Updates #3053.
* cpucounter: Increase conversion accuracySebastian Huber2021-01-261-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.
* Use RTEMS_SYSINIT_ORDER_LAST_BUT_5Sebastian Huber2020-02-041-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.
* Convert CPU counter ticks to/from sbintime_tSebastian Huber2018-12-031-2/+20
| | | | | The sbintime_t is an efficient time format. Add the ability to convert CPU counter ticks to/from sbintime_t.
* Add _CPU_Counter_frequency()Sebastian Huber2018-06-151-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.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* score: Add CPU counter supportSebastian Huber2014-02-141-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.