1 /*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. 9 * 10 * %sccs.include.redist.c% 11 * 12 * @(#)dkstat.h 8.2 (Berkeley) 01/21/94 13 */ 14 15 #define CP_USER 0 16 #define CP_NICE 1 17 #define CP_SYS 2 18 #define CP_INTR 3 19 #define CP_IDLE 4 20 #define CPUSTATES 5 21 22 #define DK_NDRIVE 8 23 #ifdef KERNEL 24 long cp_time[CPUSTATES]; 25 long dk_seek[DK_NDRIVE]; 26 long dk_time[DK_NDRIVE]; 27 long dk_wds[DK_NDRIVE]; 28 long dk_wpms[DK_NDRIVE]; 29 long dk_xfer[DK_NDRIVE]; 30 31 int dk_busy; 32 int dk_ndrive; 33 34 long tk_cancc; 35 long tk_nin; 36 long tk_nout; 37 long tk_rawcc; 38 #endif 39