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

Hal V. Engel hvengel at astound.net
Sun Jan 11 09:24:16 CET 2009


On Saturday 10 January 2009 22:19:51 clemens at dwf.com wrote:
> <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?

This comes from the glibc patch.

> My system (also NANO) only shows 1.000 us.
>
> Im going to try the -lrt experiment.




More information about the LinuxPPS mailing list