/**********************************************************************/
/**                       Microsoft Windows NT                       **/
/**                Copyright(c) Microsoft Corp., 1993                **/
/**********************************************************************/

/*
    infoctrs.h

    Offset definitions for the INFO Server's counter objects & counters.

    These offsets *must* start at 0 and be multiples of 2.  In the
    INFOOpenPerformanceData procecedure, they will be added to the
    INFO Server's "First Counter" and "First Help" values in order to
    determine the absolute location of the counter & object names
    and corresponding help text in the registry.

    This file is used by the INFOCTRS.DLL DLL code as well as the
    INFOCTRS.INI definition file.  INFOCTRS.INI is parsed by the
    LODCTR utility to load the object & counter names into the
    registry.


    FILE HISTORY:
        KeithMo     07-Jun-1993 Created.
        MuraliK     02-Jun-1995 Added Counters for Atq I/O requests
        SophiaC     16-Oct-1995 Info/Access Product Split

*/


#ifndef _INFOCTRS_H_
#define _INFOCTRS_H_


//
//  The INFO Server counter object.
//

#define INFO_COUNTER_OBJECT                     0


//
//  The individual counters.
//

#define INFO_CACHE_BYTES_TOTAL_COUNTER                  2
#define INFO_CACHE_BYTES_IN_USE_COUNTER                 4
#define INFO_CACHE_OPEN_FILES_COUNTER                   6
#define INFO_CACHE_DIR_LISTS_COUNTER                    8
#define INFO_CACHE_OBJECTS_COUNTER                      10
#define INFO_CACHE_FLUSHES_COUNTER                      12
#define INFO_CACHE_HITS_COUNTER                         14
#define INFO_CACHE_MISSES_COUNTER                       16
#define INFO_CACHE_RATIO_COUNTER                        18
#define INFO_CACHE_RATIO_COUNTER_DENOM                  20
#define INFO_ATQ_TOTAL_ALLOWED_REQUESTS_COUNTER         22
#define INFO_ATQ_TOTAL_BLOCKED_REQUESTS_COUNTER         24
#define INFO_ATQ_TOTAL_REJECTED_REQUESTS_COUNTER        26
#define INFO_ATQ_CURRENT_BLOCKED_REQUESTS_COUNTER       28
#define INFO_ATQ_MEASURED_BANDWIDTH_COUNTER             30



#endif  // _INFOCTRS_H_
