To achieve timing interval <1ms

Hi ,

I am working on a critical project in QNX 6.3.0 where i need to run a particular part of a code less than 1ms.
But i found below lines in QNX help
If your CPU is 40 MHz or better, a tick is 1 ms.

Does this mean that i cannot run the timer less than 1ms.

Please help me in this regard.

regards
Pradeep

The OS is providing “software based” timers with the tick as the timebase, you can have thousands of them. Less than 1ms would mean a lot of overhead. You could make the tick smaller, but I would advise against that. I’d simply use another hardware timer.

HI,

Thanks for the quick reply,

Please suggest me how to change the tick size, Is it using clock_period() function and does this effect the hardware clock of the computer.

regards
Pradeep