windows-nt/Source/XPSP1/NT/sdktools/perfmon/sizes.h
2020-09-26 16:20:57 +08:00

47 lines
1.5 KiB
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#define FilePathLen 256
//==========================================================================//
// Other //
//==========================================================================//
#define ControlStringLen 160
#define MenuStringLen 80
#define MessageLen 160
#define ProfileValueLen 120
#define ProfileKeyLen 80
#define WindowCaptionLen 40
#define ResourceStringLen 40
#define MiscTextLen 80
#define ShortTextLen 25
#define LongTextLen 256
#define FileExtLen 8
#define TEMP_BUF_LEN 256
//==========================================================================//
// Perfmon-Related Sizes //
//==========================================================================//
#define PerfObjectLen 80
#define MAX_SYSTEM_NAME_LENGTH 128
#define DEFAULT_COUNTER_NAME_SIZE (2 * 4096)
#define DEFAULT_COUNTER_HELP_SIZE (24 * 4096)
#define SMALL_BUF_LEN 16 // For numeric strings done in ASCII or whatever
#define STARTING_SYSINFO_SIZE (48L * 1024L)
#define NM_BUF_SIZE 64
// the min and max of time interval in sec
#define MAX_INTERVALSEC (FLOAT)2000000.0
#define MIN_INTERVALSEC (FLOAT)0.0
// the min and max for the Graph Vertical max.
#define MAX_VERTICAL 2000000000
#define MIN_VERTICAL 1