Techwiki:Performance Counter Indexes

From ReactOS Wiki
Revision as of 22:40, 31 March 2011 by Z98 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This information was compiled by dumping the Performance Registry Text and Help Text hives and then crosslisted with Technet's documentation on Windows 2003 performance counters. The primary issue with the listings provided in the Text hive is there is nothing to distinguish between indexes that represent a block of performance counters versus individual performance counters. As such, this listing does not go in numerical order and instead groups performance counters into their respective blocks in the order they were encountered. System indexes appear to at least have been hardcoded.

Color Coding
Need Verification
Not listed in Technet documentation.
Performance Counter Object Name Index Value Number of Counters Instances Notes
PhysicalDisk 234 31 # of Disks PhysicalDisk and LogicalDisk are reported by the same provider and a query for PhysicalDisk will also return LogicalDisk, with LogicalDisk first, then PhysicalDisk.
Performance Counter Name Index Value Counter Type Byte Offset
Current Disk Queue Length 198 0x10000 4
% Disk Time 200 0x20570500 8
% Disk Time 200 0x40030500 168
Avg. Disk Queue Length 1400 0x550500 16
% Disk Read Time 202 0x20570500 24
% Disk Read Time 202 0x40030500 168
Avg. Disk Read Queue Length 1402 0x550500 32
% Disk Write Time 204 0x20570500 40
% Disk Write Time 204 0x40030500 168
Avg. Disk Write Queue Length 1404 0x550500 48
Avg. Disk sec/Transfer 206 0x30020400 56
Avg. Disk sec/Transfer 206 0x40030402 72
Avg. Disk sec/Read 208 0x30020400 64
Avg. Disk sec/Read 208 0x40030402 76
Avg. Disk sec/Write 210 0x30020400 80
Avg. Disk sec/Write 210 0x40030402 88
Disk Transfers/sec 212 0x10410400 92
Disk Reads/sec 214 0x10410400 96
Disk Writes/sec 216 0x10410400 100
Disk Bytes/sec 218 0x10410500 104
Disk Read Bytes/sec 220 0x10410500 112
Disk Write Bytes/sec 222 0x10410500 120
Avg. Disk Bytes/Transfer 224 0x40020500 128
Avg. Disk Bytes/Transfer 224 0x40030402 144
Avg. Disk Bytes/Read 226 0x40020500 136
Avg. Disk Bytes/Read 226 0x40030402 148
Avg. Disk Bytes/Write 228 0x40020500 152
Avg. Disk Bytes/Write 228 0x40030402 176
% Idle Time 1482 0x20570500 160
% Idle Time 1482 0x40030500 168
Split IO/Sec 1484 0x10410400 180
Performance Counter Object Name Index Value Number of Counters Instances Notes
LogicalDisk 236 34 # of Disks PhysicalDisk and LogicalDisk are reported by the same provider.
Performance Counter Name Index Value Counter Type Byte Offset
% Free Space 408 PERF_RAW_FRACTION 4
% Free Space 408 PERF_RAW_BASE 8
Free Megabytes 410 PERF_COUNTER_RAWCOUNT 12
Current Disk Queue Length 198 PERF_COUNTER_RAWCOUNT 16
% Disk Time 200 PERF_PRECISION_100NS_TIMER 24
% Disk Time 200 PERF_PRECISION_TIMESTAMP 184
Avg. Disk Queue Length 1400 PERF_COUNTER_LARGE_QUEUELEN_TYPE 32
% Disk Read Time 202 PERF_PRECISION_100NS_TIMER 40
% Disk Read Time 202 PERF_PRECISION_TIMESTAMP 184
Avg. Disk Read Queue Length 1402 PERF_COUNTER_LARGE_QUEUELEN_TYPE 48
% Disk Write Time 204 PERF_PRECISION_100NS_TIMER 56
% Disk Write Time 204 PERF_PRECISION_TIMESTAMP 184
Avg. Disk Write Queue Length 1404 PERF_COUNTER_LARGE_QUEUELEN_TYPE 64
Avg. Disk sec/Transfer 206 PERF_AVERAGE_TIMER 72
Avg. Disk sec/Transfer 206 PERF_AVERAGE_BASE 20
Avg. Disk sec/Read 208 PERF_AVERAGE_TIMER 80
Avg. Disk sec/Read 208 PERF_AVERAGE_BASE 96
Avg. Disk sec/Write 210 PERF_AVERAGE_TIMER 88
Avg. Disk sec/Write 210 PERF_AVERAGE_BASE 100
Disk Transfers/sec 212 PERF_COUNTER_COUNTER 104
Disk Reads/sec 214 PERF_COUNTER_COUNTER 108
Disk Writes/sec 216 PERF_COUNTER_COUNTER 112
Disk Bytes/sec 218 PERF_COUNTER_BULK_COUNT 120
Disk Read Bytes/sec 220 PERF_COUNTER_BULK_COUNT 128
Disk Write Bytes/sec 222 PERF_COUNTER_BULK_COUNT 136
Avg. Disk Bytes/Transfer 224 PERF_AVERAGE_BULK 144
Avg. Disk Bytes/Transfer 224 PERF_AVERAGE_BASE 116
Avg. Disk Bytes/Read 226 PERF_AVERAGE_BULK 152
Avg. Disk Bytes/Read 226 PERF_AVERAGE_BASE 168
Avg. Disk Bytes/Write 228 PERF_AVERAGE_BULK 160
Avg. Disk Bytes/Write 228 PERF_AVERAGE_BASE 172
% Idle Time 1482 PERF_PRECISION_100NS_TIMER 176
% Idle Time 1482 PERF_PRECISION_TIMESTAMP 184
Split IO/Sec 1484 PERF_COUNTER_COUNTER 192
Performance Counter Object Name Index Value Number of Counters Instances
Memory 2 31 N/A
Performance Counter Name Index Value Counter Type Byte Offset
Page Faults/sec 28 PERF_COUNTER_COUNTER 4
Available Bytes 24 PERF_COUNTER_RAWCOUNT 8
Committed Bytes 26 PERF_COUNTER_RAWCOUNT 16
Commit Limit 30 PERF_COUNTER_RAWCOUNT 24
Write Copies/sec 32 PERF_COUNTER_COUNTER 32
Transition Faults/sec 34 PERF_COUNTER_COUNTER 36
Cache Faults/sec 36 PERF_COUNTER_COUNTER 40
Demand Zero Faults/sec 38 PERF_COUNTER_RAWCOUNT 44
Pages/sec 40 PERF_COUNTER_COUNTER 48
Pages Input/sec 822 PERF_COUNTER_COUNTER 52
Page Reads/sec 42 PERF_COUNTER_COUNTER 56
Pages Output/sec 48 PERF_COUNTER_COUNTER 60
Pool Paged Bytes 56 PERF_COUNTER_RAWCOUNT 64
Pool Nonpaged Bytes 58 PERF_COUNTER_RAWCOUNT 72
Page Writes/sec 50 PERF_COUNTER_COUNTER 80
Pool Paged Allocs 60 PERF_COUNTER_RAWCOUNT 84
Pool Nonpaged Allocs 64 PERF_COUNTER_RAWCOUNT 88
Free System Page Table Entries 678 PERF_COUNTER_RAWCOUNT 92
Cache Bytes 818 PERF_COUNTER_RAWCOUNT 96
Cache Bytes Peak 820 PERF_COUNTER_RAWCOUNT 104
Pool Paged Resident Bytes 66 PERF_COUNTER_RAWCOUNT 112
System Code Total Bytes 68 PERF_COUNTER_RAWCOUNT 120
System Code Resident Bytes 70 PERF_COUNTER_RAWCOUNT 128
System Driver Total Bytes 72 PERF_COUNTER_RAWCOUNT 136
System Driver Resident Bytes 74 PERF_COUNTER_RAWCOUNT 144
System Cache Resident Bytes 76 PERF_COUNTER_RAWCOUNT 152
% Committed Bytes In Use 1406 PERF_RAW_FRACTION 160
% Committed Bytes In Use 1406 PERF_RAW_BASE 164
Available KBytes 1380 PERF_COUNTER_RAWCOUNT 168
Available MBytes 1382 PERF_COUNTER_RAWCOUNT 176
Transition Pages RePurposed/sec 824 PERF_COUNTER_COUNTER 184
Performance Counter Object Name Index Value Number of Counters Instances
Objects 260 6 N/A
Performance Counter Name Index Value Counter Type Byte Offset
Processes 248 PERF_COUNTER_RAWCOUNT 4
Threads 250 PERF_COUNTER_RAWCOUNT 8
Events 252 PERF_COUNTER_RAWCOUNT 12
Semaphores 254 PERF_COUNTER_RAWCOUNT 16
Mutexes 256 PERF_COUNTER_RAWCOUNT 20
Sections 258 PERF_COUNTER_RAWCOUNT 24
Performance Counter Object Name Index Value Number of Counters Instances Notes
Process 230 27 # of Processes The Process and Thread counter objects are reported by the same provider. Only Process is returned when it is queried.
Performance Counter Name Index Value Counter Type Byte Offset
% Processor Time 6 PERF_100NSEC_TIMER 8
% User Time 142 PERF_100NSEC_TIMER 16
% Privileged Time 144 PERF_100NSEC_TIMER 24
Virtual Bytes Peak 172 PERF_COUNTER_RAWCOUNT 32
Virtual Bytes 174 PERF_COUNTER_RAWCOUNT 40
Page Faults/sec 28 PERF_COUNTER_COUNTER 4
Working Set Peak 178 PERF_COUNTER_RAWCOUNT 48
Working Set 180 PERF_COUNTER_RAWCOUNT 56
Page File Bytes Peak 182 PERF_COUNTER_RAWCOUNT 64
Page File Bytes 184 PERF_COUNTER_RAWCOUNT 72
Private Bytes 186 PERF_COUNTER_RAWCOUNT 80
Thread Count 680 PERF_COUNTER_RAWCOUNT 88
Priority Base 682 PERF_COUNTER_RAWCOUNT 92
Elapsed Time 684 PERF_ELAPSED_TIME 96
ID Process 784 PERF_COUNTER_RAWCOUNT 104
Creating Process ID 1410 PERF_COUNTER_RAWCOUNT 108
Pool Paged Bytes 56 PERF_COUNTER_RAWCOUNT 112
Pool Nonpaged Bytes 58 PERF_COUNTER_RAWCOUNT 116
Handle Count 952 PERF_COUNTER_RAWCOUNT 120
IO Read Operations/sec 1412 PERF_COUNTER_BULK_COUNT 128
IO Write Operations/sec 1414 PERF_COUNTER_BULK_COUNT 136
IO Data Operations/sec 1416 PERF_COUNTER_BULK_COUNT 144
IO Other Operations/sec 1418 PERF_COUNTER_BULK_COUNT 152
IO Read Bytes/sec 1420 PERF_COUNTER_BULK_COUNT 160
IO Write Bytes/sec 1422 PERF_COUNTER_BULK_COUNT 168
IO Data Bytes/sec 1424 PERF_COUNTER_BULK_COUNT 176
IO Other Bytes/sec 1426 PERF_COUNTER_BULK_COUNT 184
Performance Counter Object Name Index Value Number of Counters Instances Notes
Thread 232 12 # of Threads The Process and Thread counter objects are reported by the same provider and both are returned when Thread is queried, with Process first, then Thread.
Performance Counter Name Index Value Counter Type Byte Offset
NAME 146 0x10410400 4
NAME 6 0x20510500 8
NAME 142 0x20510500 16
NAME 144 0x20510500 24
NAME 684 0x30240500 32
NAME 694 0x10000 40
NAME 682 0x10000 44
NAME 706 0x0 48
NAME 46 0x10000 52
NAME 336 0x10000 56
NAME 784 0x10000 60
NAME 804 0x10000 64
Performance Counter Object Name Index Value Number of Counters Instances
Processor 238 15 # of CPUs + 1
Performance Counter Name Index Value Counter Type Byte Offset
% Processor Time 6 PERF_100NSEC_TIMER_INV 8
% User Time 142 PERF_100NSEC_TIMER 16
% Privileged Time 144 PERF_100NSEC_TIMER 24
Interrupts/sec 148 PERF_COUNTER_COUNTER 32
% DPC Time 696 PERF_100NSEC_TIMER 40
% Interrupt Time 698 PERF_100NSEC_TIMER 48
DPCs Queued/sec 1334 PERF_COUNTER_COUNTER 56
DPC Rate 1336 PERF_COUNTER_RAWCOUNT 60
% Idle Time 1746 PERF_100NSEC_TIMER 64
% C1 Time 1748 PERF_100NSEC_TIMER 72
% C2 Time 1750 PERF_100NSEC_TIMER 80
% C3 Time 1752 PERF_100NSEC_TIMER 88
C1 Transitions/sec 1754 PERF_COUNTER_BULK_COUNT 96
C2 Transitions/sec 1756 PERF_COUNTER_BULK_COUNT 104
C3 Transitions/sec 1758 PERF_COUNTER_BULK_COUNT 112