diff options
author | wollman <wollman@FreeBSD.org> | 1996-01-30 18:56:47 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1996-01-30 18:56:47 +0000 |
commit | 0f051dbe15584dfdb04ee0ce3c0f2e9164097280 (patch) | |
tree | 3312ba08ef0790620d22873f6f6020aeee294199 /sys/isa | |
parent | 3b195d769a569c04772af6f2ca2888e3b13da1f9 (diff) | |
download | FreeBSD-src-0f051dbe15584dfdb04ee0ce3c0f2e9164097280.zip FreeBSD-src-0f051dbe15584dfdb04ee0ce3c0f2e9164097280.tar.gz |
No longer use the cyclecounter to attempt to correct for late or missed
clock interrupts.
Keep a 1-in-16 smoothed average of the length of each tick. If the
CPU speed is correctly diagnosed, this should give experienced users
enough information to figure out a more suitable value for `tick'.
Diffstat (limited to 'sys/isa')
-rw-r--r-- | sys/isa/atrtc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/isa/atrtc.c b/sys/isa/atrtc.c index a2dd215..6454b70 100644 --- a/sys/isa/atrtc.c +++ b/sys/isa/atrtc.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)clock.c 7.2 (Berkeley) 5/12/91 - * $Id: clock.c,v 1.49 1996/01/15 21:26:43 phk Exp $ + * $Id: clock.c,v 1.50 1996/01/16 06:35:40 ache Exp $ */ /* @@ -99,6 +99,7 @@ u_int idelayed; unsigned i586_ctr_rate; long long i586_ctr_bias; long long i586_last_tick; +unsigned long i586_avg_tick; #endif u_int stat_imask = SWI_CLOCK_MASK; int timer0_max_count; |