Understanding the Microkernel's Concept of Time
QNX SDP8.0Programmer's GuideDeveloper
Whether you're working with timers or simply getting the time of day, it's important that you understand how the OS works with time.
The primary time source in the QNX OS is a free-running 64-bit cycle counter supplied by the hardware. On x86 systems, this is the Time Stamp Counter; on ARM systems, it's the Generic Timer. For further details, refer to ClockCycles().
The QNX OS also has the concept of a system tick (or clock tick), which is configured by the procnto -C option and may be queried with the ClockPeriod() call. By default, this tick is 1 ms and the expiry of system timers is aligned to the tick.
Page updated: