From: gzeljko <[EMAIL PROTECTED]>
> I'm just testing RTLinux (and hardware).
> Motivated with this thread I write small test program (appended)
> for uniprocessor pentium machine to know what we are talking about.
>
> On my test machine (K6/200) it givs stable (2-3 ppm) drift cca. 160 ppm.
>
Exploreing farther I found it's easy solvable, by patching RTLinux to make
scaler_pentium_to_hrtime public and writeing own calibration routine.
It's works nice, drift is 0 (as it's depend of software).
Now, I'm wondering why scaler_pentium_to_hrtime is private? Probably
there is reson. (given that RTLinux is really nice work).
But, time calibration is definite trade-off: spent time vs accuracy, so it's
worth IMHO to allow customisation (calibration module?).
gzeljko
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/