diff options
author | 1997-11-23 03:19:17 +0000 | |
---|---|---|
committer | 1997-11-23 03:19:17 +0000 | |
commit | bccf35dd8be6a0cb3fce1dff4e55795ef53b31ff (patch) | |
tree | 0a130bcbf042c39b41f0fb225361426f9bafb6ff /sys/kern/kern_clock.c | |
parent | typo (diff) | |
download | wireguard-openbsd-bccf35dd8be6a0cb3fce1dff4e55795ef53b31ff.tar.xz wireguard-openbsd-bccf35dd8be6a0cb3fce1dff4e55795ef53b31ff.zip |
nuke prehistoric disk statistics
Diffstat (limited to 'sys/kern/kern_clock.c')
-rw-r--r-- | sys/kern/kern_clock.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c index 45ea1f52e6e..53180a009b3 100644 --- a/sys/kern/kern_clock.c +++ b/sys/kern/kern_clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_clock.c,v 1.15 1997/01/25 23:35:58 tholo Exp $ */ +/* $OpenBSD: kern_clock.c,v 1.16 1997/11/23 03:19:17 mickey Exp $ */ /* $NetBSD: kern_clock.c,v 1.34 1996/06/09 04:51:03 briggs Exp $ */ /*- @@ -901,7 +901,6 @@ statclock(frame) register struct gmonparam *g; #endif register struct proc *p; - register int i; if (CLKF_USERMODE(frame)) { p = curproc; @@ -960,20 +959,6 @@ statclock(frame) pscnt = psdiv; /* - * XXX Support old-style instrumentation for now. - * - * We maintain statistics shown by user-level statistics - * programs: the amount of time in each cpu state, and - * the amount of time each of DK_NDRIVE ``drives'' is busy. - * - * XXX should either run linked list of drives, or (better) - * grab timestamps in the start & done code. - */ - for (i = 0; i < DK_NDRIVE; i++) - if (dk_busy & (1 << i)) - dk_time[i]++; - - /* * We adjust the priority of the current process. The priority of * a process gets worse as it accumulates CPU time. The cpu usage * estimator (p_estcpu) is increased here. The formula for computing |