home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilss / sockets / include / sys / h / dk < prev    next >
Encoding:
Text File  |  1995-01-11  |  1020 b   |  51 lines

  1. /*
  2.  * $Header: /ax/networking:include/sys/dk.h:networking  1.1  $
  3.  * $Source: /ax/networking:include/sys/dk.h: $
  4.  *
  5.  * Copyright (c) 1988 Acorn Computers Ltd., Cambridge, England
  6.  *
  7.  * $Log:    dk.h,v $
  8.  * Revision 1.1  95/01/11  10:19:05  kwelton
  9.  * Initial revision
  10.  * 
  11.  * Revision 1.3  88/06/17  20:18:40  beta
  12.  * Acorn Unix initial beta version
  13.  * 
  14.  */
  15. /* @(#)dk.h    1.2 87/05/15 3.2/4.3NFSSRC */
  16. /*
  17.  * Copyright (c) 1982, 1986 Regents of the University of California.
  18.  * All rights reserved.  The Berkeley software License Agreement
  19.  * specifies the terms and conditions for redistribution.
  20.  *
  21.  *    @(#)dk.h    7.1 (Berkeley) 6/4/86
  22.  */
  23.  
  24. /*
  25.  * Instrumentation
  26.  */
  27. #define    CPUSTATES    4
  28.  
  29. #define    CP_USER        0
  30. #define    CP_NICE        1
  31. #define    CP_SYS        2
  32. #define    CP_IDLE        3
  33.  
  34. #define    DK_NDRIVE    4
  35.  
  36. #ifdef KERNEL
  37. long    cp_time[CPUSTATES];
  38. int    dk_ndrive;
  39. int    dk_busy;
  40. long    dk_time[DK_NDRIVE];
  41. long    dk_seek[DK_NDRIVE];
  42. long    dk_xfer[DK_NDRIVE];
  43. long    dk_wds[DK_NDRIVE];
  44. float    dk_mspw[DK_NDRIVE];
  45.  
  46. long    tk_nin;
  47. long    tk_nout;
  48. #endif
  49.  
  50. /* EOF dk.h */
  51.