NetBSD/usr.sbin/xntp
sommerfeld 75397663ed Correct precision estimate:
we buzzloop calling gettimeofday() until we see a big jump.
old code would take the difference between the immediately previous return value.
Now, compute the difference based on the clock value as of right
after the previous big jump.

An alpha pc164 at 500MHz can do about 700 calls to gettimeofday() in
one clock tick, each of which increments tv_usec by 1 -- so the "big
jump" at the end is only ~270us rather than the real clock tick of
976us, which yields a precision value which is overoptimistic by a
factor of ~4.  The corrected code now yields the exact tick value
(which is correct since NetBSD/alpha doesn't have a precise
microtime).
1999-09-06 22:27:44 +00:00
..
html HTML documentation files for XNTP, installed in /usr/share/doc/xntp 1998-12-30 20:19:29 +00:00
include RCS ID police 1999-02-15 04:03:03 +00:00
ntpdate HTML documentation files for XNTP, installed in /usr/share/doc/xntp 1998-12-30 20:19:29 +00:00
ntpq Add missing .El line. 1999-03-10 08:33:15 +00:00
ntptime More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:43:46 +00:00
ntptrace Add missing .El line. 1999-03-10 08:33:15 +00:00
xntpd Correct precision estimate: 1999-09-06 22:27:44 +00:00
xntpdc More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:43:46 +00:00
COPYRIGHT Resolve corn-flakes 1998-08-12 14:11:49 +00:00
Makefile Resolve conflicts. 1998-03-06 18:17:13 +00:00
Makefile.inc Resolve corn-flakes 1998-08-12 14:11:49 +00:00
xntp2netbsd HTML documentation files for XNTP, installed in /usr/share/doc/xntp 1998-12-30 20:19:29 +00:00