On 13/02/2014 7:01 pm, Sebastian Huber wrote:
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.
v2: Various name changes.
v3: Rename _CPU_Counter_Read() to _CPU_Counter_difference(). Change CPU
counter name pattern. Add documentation.
Fine with me. Thanks for adding this API.
Chris
_______________________________________________
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel