set the system tick size
#include <time.h> long qnx_ticksize( long nsec, int flags );
The qnx_ticksize() function sets the system tick size. This tick is the base granularity for the time functions.
The nsec argument specifies the ticksize in nanoseconds. The flags argument controls how the nsec value is used. At least the following exclusive flag values are defined:
This flag allows the timer functions to be an even multiple of the hardware timer.
This flag allows the timer functions to be an even multiple of the external clock (rather than the default hardware timer).
The qnx_ticksize() function returns the previous ticksize (in nanoseconds) upon success. If an error occurs, then (-1) is returned, and errno is set to indicate the error.
QNX
QNX