LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Mobile (https://www.linuxquestions.org/questions/linux-mobile-81/)
-   -   low gitter timer (https://www.linuxquestions.org/questions/linux-mobile-81/low-gitter-timer-781196/)

icoms 01-10-2010 03:26 AM

low gitter timer
 
Hi,

I started some days ago on Mini2440 (arm) running debian 2.6.29 and loaded with Qtopia 2.2. I would like to design program with precise timer(milli to 10 milli seconds step) with low gitter. Have somebody example or recommandations?

Happy new year to all.

salasi 01-11-2010 04:20 AM

If you mean jitter, spell it that way in the title, otherwise people will assume this post is about something else that they have never heard of.

jf.argentino 01-11-2010 03:33 PM

Depending on how big jitter could be acceptable on you system, if you can afford a good precision most of the time and sometime a big shift, what is the cpu usage, do you need an absolute accuracy of the period or just regularity...
For a reasonable need, if hpet are availables, you could have a 'not too bad' regularity (something like 100us most of the time under low CPU usage). If you want to have an absolute timing interval, add a PPS support (you'll need a GPS or other hardware), you can try PTP or even NTP.
If you cant afford glitches, an hard real time scheduler will be necessary, adeos-xenomai looks like the way to go if you still want a linux system...


All times are GMT -5. The time now is 03:02 AM.