[PATCH v3] score: Add CPU counter support
Chris Johns
chrisj at rtems.org
Thu Feb 13 10:26:19 UTC 2014
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
More information about the devel
mailing list