xref: /original-bsd/sys/sys/dkstat.h (revision 6c57d260)
1 /*	dkstat.h	4.2	81/02/19	*/
2 
3 /*
4  * Instrumentation
5  */
6 #define	CPUSTATES	4
7 
8 #define	CP_USER		0
9 #define	CP_NICE		1
10 #define	CP_SYS		2
11 #define	CP_IDLE		3
12 
13 #define	DK_NDRIVE	4
14 
15 #ifdef KERNEL
16 long	cp_time[CPUSTATES];
17 int	dk_busy;
18 long	dk_time[DK_NDRIVE];
19 long	dk_seek[DK_NDRIVE];
20 long	dk_xfer[DK_NDRIVE];
21 long	dk_wds[DK_NDRIVE];
22 float	dk_mspw[DK_NDRIVE];
23 
24 long	tk_nin;
25 long	tk_nout;
26 #endif
27