home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 February
/
CHIP_2_98.iso
/
software
/
pelne
/
optionp
/
msmqocm.cab
/
counters.h
< prev
next >
Wrap
Text File
|
1997-10-06
|
2KB
|
42 lines
// --counters.h-----------------------------------------------------------------
//
// This file contains defined constants for the performance counters
// that the sample gateway exports to the Windows NT Performance Monitor.
//
// This file, along with counters.ini, is used to install the
// performance counters on the server that is running the sample gateway.
// Any changes to this file must be reflected in counters.ini and in the
// array of COUNTERDEF structures that is passed to HrMonInit().
//
// For information on how to install/uninstall counters, see counters.ini.
//
// Copyright (C) Microsoft Corp. 1986-1996. All Rights Reserved.
//
// -----------------------------------------------------------------------------
#if !defined(_COUNTERS_H)
#define _COUNTERS_H
#define OBJECT_MQEXGW 0
#define COUNTER_MESSAGES_IN 2
#define COUNTER_BYTES_IN 4
#define COUNTER_MESSAGES_OUT 6
#define COUNTER_BYTES_OUT 8
#define COUNTER_HOUR_MESSAGES_IN 10
#define COUNTER_HOUR_BYTES_IN 12
#define COUNTER_HOUR_MESSAGES_OUT 14
#define COUNTER_HOUR_BYTES_OUT 16
#define COUNTER_LAST_MESSAGES_IN 18
#define COUNTER_LAST_BYTES_IN 20
#define COUNTER_LAST_MESSAGES_OUT 22
#define COUNTER_LAST_BYTES_OUT 24
#define COUNTER_MESSAGES_IN_IN_QUEUE 26
#define COUNTER_BYTES_IN_IN_QUEUE 28
#define COUNTER_MESSAGES_IN_OUT_QUEUE 30
#define COUNTER_BYTES_IN_OUT_QUEUE 32
#endif