[ntp:questions] Extracting ntpq like information programmatically

unruh unruh at invalid.ca
Tue Apr 2 02:04:14 UTC 2013


On 2013-04-01, David Woolley <david at ex.djwhome.demon.invalid> wrote:
> unruh wrote:
>
>> ntpd only uses two points of history-- the last measurement used and teh
>> current one. But it slowly adjusts the clock. If the offset is there, it
>
> However, it is affected by infinitely many points, even though they are 
> all wrapped up into the phase and frequency of the local clock, 
> otherwise it wouldn't ring.

Agreed. One could unroll the loop and write the current time and rate as
a function of the time and rate on Dec 30, 1987, plus all of the
meaurements since then. But the way the algorithm is set up, it
needs to remember only the last couple of measurements. It is a Markovian
process. 



More information about the questions mailing list