QNX timers

Hi,

I’ve been using QNX timers (POSIX style), unfortunately
I haven’t been able to get a resolution higher that 0.5ms.

Is is possible to get more resolution with standard timers ?

Do exist other timers with better performance ?

Best Regards,

R. Costa-Castello

Previously, Mario Charest wrote in comp.os.qnx:

"Ramon Costa i Castell " <> costa@ioc.upc.es> > wrote in message
news:> 3A8CFA18.39DA5058@ioc.upc.es> …
Hi,

I’ve been using QNX timers (POSIX style), unfortunately
I haven’t been able to get a resolution higher that 0.5ms.

Is is possible to get more resolution with standard timers ?

With QNX4 you can get down to like 100us I beleive, but
you’d better have a fast CPU.

… which you do using the “ticksize” utility. I believe what you
want is “ticksize -e 100000”, which will attempt to set the ticksize
at 100000 nsec, despite that ticksize only claims to allow down to
500000 nsec.

Cheers,
Andrew