xref: /original-bsd/sys/sys/dkstat.h (revision c3e32dec)
1 /*-
2  * Copyright (c) 1990, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)dkstat.h	8.1 (Berkeley) 06/02/93
8  */
9 
10 #define	CP_USER		0
11 #define	CP_NICE		1
12 #define	CP_SYS		2
13 #define	CP_INTR		3
14 #define	CP_IDLE		4
15 #define	CPUSTATES	5
16 
17 #define	DK_NDRIVE	8
18 #ifdef KERNEL
19 long cp_time[CPUSTATES];
20 long dk_seek[DK_NDRIVE];
21 long dk_time[DK_NDRIVE];
22 long dk_wds[DK_NDRIVE];
23 long dk_wpms[DK_NDRIVE];
24 long dk_xfer[DK_NDRIVE];
25 
26 int dk_busy;
27 int dk_ndrive;
28 
29 long tk_cancc;
30 long tk_nin;
31 long tk_nout;
32 long tk_rawcc;
33 #endif
34