cperciva 6cdc82f907 In tc_windup, handle the case where the previous call to tc_windup was
more than 1s earlier.  Prior to this commit, the computation of
th_scale * delta (which produces a 64-bit value equal to the time since
the last tc_windup call in units of 2^(-64) seconds) would overflow and
any complete seconds would be lost.

We fix this by repeatedly converting tc_frequency units of timecounter
to one seconds; this is not exactly correct, since it loses the NTP
adjustment, but if we find ourselves going more than 1s at a time between
clock interrupts, losing a few seconds worth of NTP adjustments is the
least of our problems...
2010-11-22 09:13:25 +00:00
..
2010-08-30 14:26:02 +00:00
2010-11-14 16:10:15 +00:00
2010-11-13 11:54:04 +00:00
2010-10-29 19:07:36 +00:00
2010-11-14 16:10:15 +00:00
2010-11-09 10:59:09 +00:00
2010-07-09 10:57:55 +00:00
2010-08-30 14:26:02 +00:00
2010-08-30 14:26:02 +00:00
2010-01-04 20:59:52 +00:00
2009-05-26 09:19:21 +00:00
2010-11-14 16:10:15 +00:00
2010-06-26 21:44:45 +00:00