adj_systeim()

Hal Murray hmurray at megapathdsl.net
Mon Mar 13 03:37:40 UTC 2017


gem at rellim.com said:
> Please check your system to see if adj_systime() is called on your system.
> Eric thinks otherwise. 

I poked around a bit more.

The every-second path isn't adjusting the time.  It's updating the second 
order parameters like the accuracy of the local clock which is the initial 
accuracy plus some estimated worst-case drift since the time was set.  The 
code is adj_host_clock in ntp_loopfilter.c (I didn't look carefully, just 
added printout at the bottom which isn't going off.)

Does your printf print out any non-zero samples on your system?


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list