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:  *	@(#)dk.h	7.1 (Berkeley) 6/4/86
   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   4
  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

Defined variables

cp_time defined in line 22; used 1 times
dk_ndrive defined in line 23; never used
dk_time defined in line 25; used 1 times
dk_wds defined in line 28; used 4 times
dk_xfer defined in line 27; used 3 times
tk_nin defined in line 31; used 2 times
tk_nout defined in line 32; used 4 times

Defined macros

CPUSTATES defined in line 12; used 1 times
  • in line 22
CP_IDLE defined in line 17; used 1 times
CP_NICE defined in line 15; used 1 times
CP_SYS defined in line 16; used 1 times
CP_USER defined in line 14; used 1 times
DK_NDRIVE defined in line 19; used 9 times

Usage of this include

Last modified: 1986-06-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1010
Valid CSS Valid XHTML 1.0 Strict