timer_tick2ns()
QNX SDP8.0Building Embedded SystemsConfigurationDeveloper
Synopsis:
unsigned long timer_tick2ns(unsigned long ticks);
Arguments:
- ticks
- The number of hardware timer ticks.
Description:
Convert the value returned by timer_diff() to nanoseconds.
The accuracy of the returned value is dependent on the resolution of the hardware timer tick and the time it takes to read the hardware timer.
For more information and a code example that uses this function, see by timer_start().
Returns:
The length of time in nanoseconds.
Page updated: