Simon Leonard
|
1ms latency every 6.5 second with pulses/signals
|
Simon Leonard
10/12/2010 1:04 PM
post70315
|
1ms latency every 6.5 second with pulses/signals
First post here.
We need to use periodic threads and we get good latencies (1.5usec) except there is an ugly 1ms latency that shows up
every 6.53 second, which is not acceptable for our application. I've tried to get rid of it by increasing the priority,
disabling services, testing a different computer using signals/pulses and so on but it won't go away.
One thing that I noticed is that the first 1ms latency always appear at 6.53 second relative to the execution of the
program (and every 6.53 second after). Thus if this was caused by an interrupting service on the computer I'd think that
the first 1ms latency would show up at different times.
I am posting the minimal code here hoping that someone can help. My compile command is:
qcc -V4.2.4,gcc_ntox86 -o latency latency.c
and you can pipe the output with:
./latency > output
Regards.
/sl
|
|
|