Clock Functions

The following functions are available to access wRTOS clock services:

The clock values are delivered and set in 100 ns units (ticks) and are reported as the number of ticks since 12:00 AM January 1, 1601.

Note: When wRTOS is configured to use multiple processors on a multiprocessor computer, it should not matter which processor RtGetClockTime is called. However, you may get different results on different processors due to deviations that exist among local APIC timers. For this reason, if you want to trace the execution sequence of two events on different processors, Use QueryPerformanceCounter, instead of RtGetClockTime.

Related topics: