[LinuxPPS] cross posting [time-nuts] NTP API on Linux 2.6.26

clemens at dwf.com clemens at dwf.com
Sun Jan 11 07:19:51 CET 2009


<snip>

> # ntptime
> ntp_gettime() returns code 0 (OK)
>   time cd137e25.947b02a0  Sat, Jan 10 2009 12:05:57.580, (.580002806),
>   maximum error 8294508 us, estimated error 2 us, TAI offset 0
> ntp_adjtime() returns code 0 (OK)
>   modes 0x0 (),
>   offset -0.426 us, frequency -39.298 ppm, interval 1 s,
>   maximum error 8294508 us, estimated error 2 us,
>   status 0x2001 (PLL,NANO),
>   time constant 4, precision 0.001 us, tolerance 500 ppm,
> 
but wait a minute.
Your precision is showing 0.001 us, which is ns precision.
Where does that come from in ntptime?
My system (also NANO) only shows 1.000 us.

Im going to try the -lrt experiment.
-- 
                                        Reg.Clemens
                                        reg at dwf.com





More information about the LinuxPPS mailing list