Class Qualifiers for Performance Counter Classes

Class qualifiers specify information about the performance object to which the WMI performance counter class is mapped. For more information, see Monitoring Performance Data.

Performance counter–specific qualifiers are automatically attached by the "WbemPerfClass" provider to Win32_PerfRawData classes and properties in Root\CIMv2.

This information applies to all instances of the class. Some qualifiers with Boolean values that are always False may not be present on specific classes.

Qualifiers for Raw and Formatted PerformanceClasses

The following qualifiers apply to all classes that are derived from Win32_PerfRawData and Win32_PerfFormattedData.

Cooked

boolean

Indicates whether the class contains cooked data.

DisplayName

string

Performance object name. For more information, see Performance Counters.

DetailLevel

sint32

Does not provide detail data. Always contains value of 100.

Dynamic

boolean

Always set to True because instances are always dynamic.

GenericPerfCtr

boolean

Indicates whether the class comes from a legacy performance library. Always set to True.

HelpIndex

sint32

Indexes are no longer valid. This qualifier is always zero.

HiPerf

boolean

Indicates that the class is a high-performance class. Always set to True.

Locale

sint32

Locale identifier. Value is always 1033 (U.S. English).

PerfIndex

int32

Indexes are no longer valid. This qualifier is always zero.

Provider

string

Name of the instance provider. Value is "WbemPerfV2".

RegistryKey

string

Name of the driver in the HKEY_LOCAL_MACHINE\CurrentControlSet\Services key, under which the performance key can be located. This name is also the name of the service that provides the performance counter.

Singleton

boolean

If True, indicates that only a single instance of the class exists.

Qualifiers for Raw Performance Classes

The following qualifiers apply to all classes that are derived from Win32_PerfRawData.

Costly

boolean

Indicates whether obtaining instances of this class is a costly operation. Always set to True for classes with "_Costly" appended to the end of the class name.

DetailLevel

uint32

Does not provide detail data. Always contains value of 100.

PerfDefault

boolean

Value is always False.

Qualifiers for Formatted Performance Classes

The following qualifiers apply to all classes that are derived from Win32_PerfFormattedData.

AutoCook

int32

Indicates that the values in class instances are automatically calculated from the corresponding raw data class. Value is always 1.

AutoCook_RawClass

string

Name of the raw class to use for calculation for the formatted class. This qualifier is required.

Monitoring Performance Data

Qualifiers Specific to WMI Performance Classes

Performance Counter Classes

Accessing WMI Preinstalled Performance Classes

WMI Tasks: Performance Monitoring