Re: adjtime(2): distribute skew along arbitrary runtime period

2020-07-16 Thread Otto Moerbeek
On Wed, Jul 15, 2020 at 09:08:29AM -0500, Scott Cheloha wrote: > Hi, > > adjtime(2) skews the clock at up to 5000ppm per second. The way this > actually happens is pretty straightforward: at the start of every UTC > second we call ntp_update_second() from tc_windup() and reset > th_adjustment.

adjtime(2): distribute skew along arbitrary runtime period

2020-07-15 Thread Scott Cheloha
Hi, adjtime(2) skews the clock at up to 5000ppm per second. The way this actually happens is pretty straightforward: at the start of every UTC second we call ntp_update_second() from tc_windup() and reset th_adjustment. th_adjustment is then mixed into the scale for one UTC second. This cycle