xref: /original-bsd/sys/sys/dkstat.h (revision 440fde76)
1 /*
2  * Copyright (c) 1982, 1986 Regents of the University of California.
3  * All rights reserved.  The Berkeley software License Agreement
4  * specifies the terms and conditions for redistribution.
5  *
6  *	@(#)dkstat.h	7.4 (Berkeley) 05/29/89
7  */
8 
9 /*
10  * Instrumentation
11  */
12 #define	CPUSTATES	4
13 
14 #define	CP_USER		0
15 #define	CP_NICE		1
16 #define	CP_SYS		2
17 #define	CP_IDLE		3
18 
19 #define	DK_NDRIVE	8
20 
21 #ifdef KERNEL
22 long	cp_time[CPUSTATES];
23 int	dk_ndrive;
24 int	dk_busy;
25 long	dk_time[DK_NDRIVE];
26 long	dk_seek[DK_NDRIVE];
27 long	dk_xfer[DK_NDRIVE];
28 long	dk_wds[DK_NDRIVE];
29 long	dk_wpms[DK_NDRIVE];
30 
31 long	tk_nin;
32 long	tk_cancc;
33 long	tk_rawcc;
34 long	tk_nout;
35 #endif
36