|
|
1.1 root 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.2 (Berkeley) 5/21/88
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: float dk_mspw[DK_NDRIVE];
30:
31: long tk_nin;
32: long tk_nout;
33: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.