DragonFly commits List (threaded) for 2005-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/usr.sbin/ntpd/patches ntp.c.patch ntpd.c.patch ntpd.h.patch
joerg 2005/04/22 01:35:05 PDT
DragonFly src repository
Modified files:
usr.sbin/ntpd/patches ntp.c.patch ntpd.c.patch ntpd.h.patch
Log:
Add frequency correction support. The drift factor is currently
determined via linear regression of the last 8 offset corrections.
It is bound to 128 ppm in one step to avoid extreme drifts when
the drift calculation is incorrect for some reason. With the
default values this can result in a maximum wrong drift of
8 * 60 * 8 * 128e-6 s ~= 0.5s (samples per update, update interval,
samples to trigger drift correction, max. drift error) until the
next iteration is done.
Revision Changes Path
1.7 +67 -1 src/usr.sbin/ntpd/patches/ntp.c.patch
1.7 +41 -4 src/usr.sbin/ntpd/patches/ntpd.c.patch
1.7 +23 -5 src/usr.sbin/ntpd/patches/ntpd.h.patch
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/ntpd/patches/ntp.c.patch.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/ntpd/patches/ntpd.c.patch.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/ntpd/patches/ntpd.h.patch.diff?r1=1.6&r2=1.7&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]