Changeset 0a1f5df9 in rtems for c/src/lib/libbsp

Timestamp:
05/03/18 11:03:27 (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
7ee6437
Parents:
ef23838
git-author:
Sebastian Huber <sebastian.huber@…> (05/03/18 11:03:27)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/07/18 13:22:01)
Message:

Simplify _CPU_Counter_difference()

In order to simplify the use of CPU counter values it is beneficial to
have monotonic increasing values within the range of the CPU counter
ticks data type, e.g. 32-bit unsigned integer. This eases the use of
CPU counter timestamps in external tools which do not know the details
of the CPU counter hardware. The CPU counter is the fastest way to get
a time on an RTEMS system.

Such a CPU counter may be also used as the timecounter. Use it on SPARC
for this purpose to simplify the clock drivers.

Update #3456.

(No files)

Note: See TracChangeset for help on using the changeset viewer.