75397663ed
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). |
||
---|---|---|
.. | ||
Makefile | ||
clk_computime.c | ||
clk_dcf7000.c | ||
clk_hopf6021.c | ||
clk_meinberg.c | ||
clk_rawdcf.c | ||
clk_rcc8000.c | ||
clk_schmid.c | ||
clk_trimtaip.c | ||
clk_trimtsip.c | ||
map_vme.c | ||
ntp_config.c | ||
ntp_control.c | ||
ntp_filegen.c | ||
ntp_intres.c | ||
ntp_io.c | ||
ntp_leap.c | ||
ntp_loopfilter.c | ||
ntp_monitor.c | ||
ntp_peer.c | ||
ntp_proto.c | ||
ntp_refclock.c | ||
ntp_request.c | ||
ntp_restrict.c | ||
ntp_timer.c | ||
ntp_unixclock.c | ||
ntp_util.c | ||
ntpd.c | ||
parse.c | ||
parse_conf.c | ||
refclock_acts.c | ||
refclock_arbiter.c | ||
refclock_arc.c | ||
refclock_as2201.c | ||
refclock_atom.c | ||
refclock_bancomm.c | ||
refclock_chu.c | ||
refclock_conf.c | ||
refclock_datum.c | ||
refclock_gpsvme.c | ||
refclock_heath.c | ||
refclock_hpgps.c | ||
refclock_irig.c | ||
refclock_leitch.c | ||
refclock_local.c | ||
refclock_msfees.c | ||
refclock_mx4200.c | ||
refclock_nmea.c | ||
refclock_parse.c | ||
refclock_pst.c | ||
refclock_ptbacts.c | ||
refclock_tpro.c | ||
refclock_trak.c | ||
refclock_true.c | ||
refclock_usno.c | ||
refclock_wwvb.c | ||
xntpd.8 |