I tried timer_create() function following the example in the QNX 6.2
Library Reference. The best
resolution I can get is 1 ms(0.001second). For clock_gettime(), it’s also
1ms resolution.
How can we set up a timer whose resolution is 0.1ms. Can we get the
more precise time measuring
,like 0.001ms resolution?
How many nsec is the lowest clock period that we can set?
In the help it says that it is 10 microseconds (10000 ns). But the
lowest that i could set unti now it was 500 microseconds (500000 ns).
If i tried lower than 500us, it give me errno=22.
I have a PIII 800Mhz and QNX6.2.
Javier
Jens H Jorgensen wrote:
Look at ClockPeriod() to increase the real-time clock.
I tried timer_create() function following the example in the QNX 6.2
Library Reference. The best
resolution I can get is 1 ms(0.001second). For clock_gettime(), it’s also
1ms resolution.
How can we set up a timer whose resolution is 0.1ms. Can we get the
more precise time measuring
,like 0.001ms resolution?
I tried timer_create() function following the example in the QNX 6.2
Library Reference. The best
resolution I can get is 1 ms(0.001second). For clock_gettime(), it’s also
1ms resolution.
How can we set up a timer whose resolution is 0.1ms. Can we get the
more precise time measuring
,like 0.001ms resolution?
How many nsec is the lowest clock period that we can set?
In the help it says that it is 10 microseconds (10000 ns). But the
lowest that i could set unti now it was 500 microseconds (500000 ns).
If i tried lower than 500us, it give me errno=22.
I have a PIII 800Mhz and QNX6.2.
Javier
Jens H Jorgensen wrote:
Look at ClockPeriod() to increase the real-time clock.
I tried timer_create() function following the example in the QNX
6.2
Library Reference. The best
resolution I can get is 1 ms(0.001second). For clock_gettime(), it’s
also
1ms resolution.
How can we set up a timer whose resolution is 0.1ms. Can we get
the
more precise time measuring
,like 0.001ms resolution?
I haven’t tried it myself - but I saw a post somewhere where they talked
setting it to100us successfully.
I know the documentation claims that you should be able to go down to 10us
with QNX 6.2. In QNX 6.1 there was a lower limit at 500us.
Jens
“Javier Barreiro” <> jbarreiro@ingdesi.com> > wrote in message
news:> 3D088942.9030901@ingdesi.com> …
How many nsec is the lowest clock period that we can set?
In the help it says that it is 10 microseconds (10000 ns). But the
lowest that i could set unti now it was 500 microseconds (500000 ns).
If i tried lower than 500us, it give me errno=22.
I have a PIII 800Mhz and QNX6.2.
Javier
Jens H Jorgensen wrote:
Look at ClockPeriod() to increase the real-time clock.
I tried timer_create() function following the example in the QNX
6.2
Library Reference. The best
resolution I can get is 1 ms(0.001second). For clock_gettime(), it’s
also
1ms resolution.
How can we set up a timer whose resolution is 0.1ms. Can we get
the
more precise time measuring
,like 0.001ms resolution?
How many nsec is the lowest clock period that we can set?
In the help it says that it is 10 microseconds (10000 ns). But the
lowest that i could set unti now it was 500 microseconds (500000 ns).
If i tried lower than 500us, it give me errno=22.
I tested this today. I got 10us on a 333Mhz AMD K6.