summaryrefslogtreecommitdiffstats
path: root/public/sdk/inc/ntprfctr.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--public/sdk/inc/ntprfctr.h130
1 files changed, 130 insertions, 0 deletions
diff --git a/public/sdk/inc/ntprfctr.h b/public/sdk/inc/ntprfctr.h
new file mode 100644
index 000000000..0a476e527
--- /dev/null
+++ b/public/sdk/inc/ntprfctr.h
@@ -0,0 +1,130 @@
+/*++ BUILD Version: 0001 // Increment this if a change has global effects
+
+Copyright (c) 1992 Microsoft Corporation
+
+Module Name:
+
+ ntprfctr.h
+
+Abstract:
+
+ Contains symbolic definitions of the "Standard" Perfmon Counter Objects
+ These are the integer and unicode string values used in the registry to
+ locate and identify counter titles and help text.
+
+Author:
+
+ Bob Watson (a-robw) 16 Nov 92
+
+Revision History:
+
+
+--*/
+#ifndef _NTPRFCTR_H_
+#define _NTPRFCTR_H_
+//
+// These values correspond to the values assigned to these object titles
+// in the registry
+//
+#define NULL_OBJECT_TITLE_INDEX 0
+
+#define SYSTEM_OBJECT_TITLE_INDEX 2
+#define PROCESSOR_OBJECT_TITLE_INDEX 238
+#define MEMORY_OBJECT_TITLE_INDEX 4
+#define CACHE_OBJECT_TITLE_INDEX 86
+#define PHYSICAL_DISK_OBJECT_TITLE_INDEX 234
+#define LOGICAL_DISK_OBJECT_TITLE_INDEX 236
+#define PROCESS_OBJECT_TITLE_INDEX 230
+#define THREAD_OBJECT_TITLE_INDEX 232
+#define OBJECT_OBJECT_TITLE_INDEX 260
+#define REDIRECTOR_OBJECT_TITLE_INDEX 262
+#define SERVER_OBJECT_TITLE_INDEX 330
+#define SERVER_QUEUE_OBJECT_TITLE_INDEX 1300
+#define PAGEFILE_OBJECT_TITLE_INDEX 700
+#define BROWSER_OBJECT_TITLE_INDEX 52
+//
+// The number of "standard" object types
+//
+#define NT_NUM_PERF_OBJECT_TYPES 14
+//
+// Costly Items
+//
+#define EXPROCESS_OBJECT_TITLE_INDEX 786
+#define IMAGE_OBJECT_TITLE_INDEX 740
+#define THREAD_DETAILS_OBJECT_TITLE_INDEX 816
+#define LONG_IMAGE_OBJECT_TITLE_INDEX 1408
+
+#define NT_NUM_COSTLY_OBJECT_TYPES 4
+
+#define EXTENSIBLE_OBJECT_INDEX 0xFFFFFFFF
+
+//
+// Microsoft provided extensible counters
+//
+// these have to match the titles in PERFCTRS.INI (they don't do it
+// by themselves, unfortunately!
+
+#define TCP_OBJECT_TITLE_INDEX 638
+#define UDP_OBJECT_TITLE_INDEX 658
+#define IP_OBJECT_TITLE_INDEX 546
+#define ICMP_OBJECT_TITLE_INDEX 582
+#define NET_OBJECT_TITLE_INDEX 510
+
+#define NBT_OBJECT_TITLE_INDEX 502
+
+#define NBF_OBJECT_TITLE_INDEX 492
+#define NBF_RESOURCE_OBJECT_TITLE_INDEX 494
+
+//
+// Microsoft extensible counters for other components that are included
+// in the Daytona system.
+//
+#define FTP_FIRST_COUNTER_INDEX 824
+#define FTP_FIRST_HELP_INDEX 825
+#define FTP_LAST_COUNTER_INDEX 856
+#define FTP_LAST_HELP_INDEX 857
+
+#define RAS_FIRST_COUNTER_INDEX 870
+#define RAS_FIRST_HELP_INDEX 871
+#define RAS_LAST_COUNTER_INDEX 908
+#define RAS_LAST_HELP_INDEX 909
+
+#define WIN_FIRST_COUNTER_INDEX 920
+#define WIN_FIRST_HELP_INDEX 921
+#define WIN_LAST_COUNTER_INDEX 950
+#define WIN_LAST_HELP_INDEX 951
+
+#define SFM_FIRST_COUNTER_INDEX 1000
+#define SFM_FIRST_HELP_INDEX 1001
+#define SFM_LAST_COUNTER_INDEX 1034
+#define SFM_LAST_HELP_INDEX 1035
+
+#define ATK_FIRST_COUNTER_INDEX 1050
+#define ATK_FIRST_HELP_INDEX 1051
+#define ATK_LAST_COUNTER_INDEX 1102
+#define ATK_LAST_HELP_INDEX 1103
+
+#define BH_FIRST_COUNTER_INDEX 1110
+#define BH_FIRST_HELP_INDEX 1111
+#define BH_LAST_COUNTER_INDEX 1126
+#define BH_LAST_HELP_INDEX 1127
+
+#define TAPI_FIRST_COUNTER_INDEX 1150
+#define TAPI_FIRST_HELP_INDEX 1151
+#define TAPI_LAST_COUNTER_INDEX 1178
+#define TAPI_LAST_HELP_INDEX 1179
+
+// NetWare counters have different Object indexes depending
+// on whether the system is a Workstation or a Server.
+// The rest of the counter indexes are the same (from 1232 to 1247)
+#define NWCS_GATEWAY_COUNTER_INDEX 1228
+#define NWCS_GATEWAY_HELP_INDEX 1229
+#define NWCS_CLIENT_COUNTER_INDEX 1230
+#define NWCS_CLIENT_HELP_INDEX 1231
+#define NWCS_FIRST_COUNTER_INDEX 1230
+#define NWCS_FIRST_HELP_INDEX 1231
+#define NWCS_LAST_COUNTER_INDEX 1246
+#define NWCS_LAST_HELP_INDEX 1247
+
+#endif //_NTPRFCTR_H_
+