[LinuxPPS] Any Updates on that issue [PATCHv3 12/16] ntp: add hardpps implementation

Udo van den Heuvel udovdh at xs4all.nl
Fri Oct 8 17:24:19 CEST 2010


On 2010-10-08 16:49, Alexander Gordeev wrote:
>> Isn't /usr/include/timepps.h part of the patches?
>>
>> Where do I get the code that needs to be there?
> 
> From my pps-tools repository.
> http://github.com/ago/pps-tools
> 
> It was not available some time ago, but it's ok now.

# ntptime
ntp_gettime() returns code 0 (OK)
  time d059b5f1.1dc8b860  Fri, Oct  8 2010 17:23:29.116, (.116344442),
  maximum error 3953979 us, estimated error 3116 us, TAI offset 0
ntp_adjtime() returns code 0 (OK)
  modes 0x0 (),
  offset 0.000 us, frequency 3.308 ppm, interval 8 s,
  maximum error 3953979 us, estimated error 3116 us,
  status 0x2107 (PLL,PPSFREQ,PPSTIME,PPSSIGNAL,NANO),
  time constant 4, precision 0.001 us, tolerance 500 ppm,
  pps frequency 3.308 ppm, stability 1.057 ppm, jitter 88.710 us,
  intervals 5, jitter exceeded 2, stability exceeded 0, errors 0.

So it works!

Thanks a LOT,
Udo



More information about the LinuxPPS mailing list