]> git.ipfire.org Git - thirdparty/chrony.git/commit
sys: include predicted drift in adjtime() offset
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 12 Aug 2015 13:48:13 +0000 (15:48 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 12 Aug 2015 14:09:24 +0000 (16:09 +0200)
commitb6a27df5b9be0f07f151c8fba311cb7eadb2b13e
tree8886324458ab62abcf155ec9ad627218031c72c3
parent18d514d55272e0895dd9bf40f81ded7c9d857ede
sys: include predicted drift in adjtime() offset

In drivers with periodic drift removal include in the adjustment also a
prediction of the error gained in half of the interval to move the mean
offset of the clock closer to zero. E.g. offset of a stable clock
drifting by 10 ppm should now be closer to 0 +/- 5 microseconds instead
of 5 +/- 5 microseconds.
sys_macosx.c
sys_solaris.c
sys_sunos.c