home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / Runimage / Cbuilder4 / Include / STATTYPE.H < prev    next >
Encoding:
C/C++ Source or Header  |  1999-01-26  |  1001 b   |  32 lines

  1. // --stattype.h-----------------------------------------------------------------
  2. //
  3. // Defines types used in the stats component.
  4. // 
  5. // Copyright 1986 - 1998 Microsoft Corporation.  All Rights Reserved.
  6. // -----------------------------------------------------------------------------
  7.  
  8. #ifndef __stattype_h
  9. #pragma option push -b -a8 -pc -A- /*P_O_Push_S*/
  10. #define __stattype_h
  11.  
  12. // Flags for metric to calculate.
  13. // ------------------------------
  14. #define FM_CMESSAGES        0x00000001
  15. #define FM_LONGEST_WAIT     0x00000002
  16. #define FM_TOTAL_WAIT       0x00000004
  17.  
  18.  
  19.  
  20. typedef enum _jswindowtype
  21. {
  22.     JSWINDOW_MIN = 0,       // calculate the minimum in a window
  23.     JSWINDOW_MAX,           // calculate the maximum in a window
  24.     JSWINDOW_AVERAGE,       // calculate the average of a window
  25.     JSWINDOW_TOTAL_RATE,    // calculate the total of a window
  26.     JSWINDOW_LAST           // all types are less than this
  27. } JSWINDOWTYPE;
  28.  
  29. #pragma option pop /*P_O_Pop*/
  30. #endif
  31.  
  32.