home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / msmqocm.cab / counters.h < prev    next >
Text File  |  1997-10-06  |  2KB  |  42 lines

  1. // --counters.h-----------------------------------------------------------------
  2. //
  3. //  This file contains defined constants for the performance counters 
  4. //  that the sample gateway exports to the Windows NT Performance Monitor.
  5. //
  6. //  This file, along with counters.ini, is used to install the
  7. //  performance counters on the server that is running the sample gateway.
  8. //  Any changes to this file must be reflected in counters.ini and in the 
  9. //  array of COUNTERDEF structures that is passed to HrMonInit().
  10. //
  11. //  For information on how to install/uninstall counters, see counters.ini.
  12. //
  13. // Copyright (C) Microsoft Corp. 1986-1996.  All Rights Reserved.
  14. //
  15. // -----------------------------------------------------------------------------
  16. #if !defined(_COUNTERS_H)
  17. #define _COUNTERS_H
  18.  
  19. #define OBJECT_MQEXGW                                            0
  20.  
  21. #define COUNTER_MESSAGES_IN                                      2
  22. #define COUNTER_BYTES_IN                                         4
  23. #define COUNTER_MESSAGES_OUT                                     6
  24. #define COUNTER_BYTES_OUT                                        8
  25.  
  26. #define COUNTER_HOUR_MESSAGES_IN                                10
  27. #define COUNTER_HOUR_BYTES_IN                                   12
  28. #define COUNTER_HOUR_MESSAGES_OUT                               14
  29. #define COUNTER_HOUR_BYTES_OUT                                  16
  30.  
  31. #define COUNTER_LAST_MESSAGES_IN                                18
  32. #define COUNTER_LAST_BYTES_IN                                   20
  33. #define COUNTER_LAST_MESSAGES_OUT                               22
  34. #define COUNTER_LAST_BYTES_OUT                                  24
  35.  
  36. #define COUNTER_MESSAGES_IN_IN_QUEUE                            26
  37. #define COUNTER_BYTES_IN_IN_QUEUE                               28
  38. #define COUNTER_MESSAGES_IN_OUT_QUEUE                           30
  39. #define COUNTER_BYTES_IN_OUT_QUEUE                              32
  40.  
  41. #endif
  42.