diff options
author | gibbs <gibbs@FreeBSD.org> | 1998-09-15 10:05:18 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1998-09-15 10:05:18 +0000 |
commit | 0a7eb834b75745fb718b3e3748521ff5b039c411 (patch) | |
tree | f3084be130981b5811da38d6a38ad7dce62b1514 /sys/kern/kern_clock.c | |
parent | b77e1d03d4e9cb3e2bf01c04a6a82da774180c8c (diff) | |
download | FreeBSD-src-0a7eb834b75745fb718b3e3748521ff5b039c411.zip FreeBSD-src-0a7eb834b75745fb718b3e3748521ff5b039c411.tar.gz |
kern_clock.c:
Remove old disk statistics variables.
vfs_bio.c:
Enable bowrite now that B_ORDERED works for all buffer devices.
Diffstat (limited to 'sys/kern/kern_clock.c')
-rw-r--r-- | sys/kern/kern_clock.c | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c index 587a2df..39347c1 100644 --- a/sys/kern/kern_clock.c +++ b/sys/kern/kern_clock.c @@ -39,7 +39,7 @@ static volatile int print_tci = 1; * SUCH DAMAGE. * * @(#)kern_clock.c 8.5 (Berkeley) 1/21/94 - * $Id: kern_clock.c,v 1.77 1998/07/11 07:45:39 bde Exp $ + * $Id: kern_clock.c,v 1.78 1998/08/05 18:06:40 bde Exp $ */ #include <sys/param.h> @@ -81,15 +81,6 @@ long cp_time[CPUSTATES]; #else static long cp_time[CPUSTATES]; #endif -long dk_seek[DK_NDRIVE]; -static long dk_time[DK_NDRIVE]; /* time busy (in statclock ticks) */ -long dk_wds[DK_NDRIVE]; -long dk_wpms[DK_NDRIVE]; -long dk_xfer[DK_NDRIVE]; - -int dk_busy; -int dk_ndrive = 0; -char dk_names[DK_NDRIVE][DK_NAMELEN]; long tk_cancc; long tk_nin; @@ -408,15 +399,8 @@ statclock(frame) /* * 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. + * programs: the amount of time in each cpu state. */ - 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 |