Performance Counter Provider

[The Performance Counter Provider is no longer available for use. Instead, use the WMIPerfInst provider.]

The Performance Counter provider is a high-performance provider that provides raw performance counter data to the WMI Performance Counter Classes derived from Win32_PerfRawData. The __Win32Provider instance name is "NT5_GenericPerfProvider_V1".

The Win32_PerfRawData classes are located in the WMI "Root\CIMv2" namespace. Each WMI performance class corresponds to a performance object in a performance library. The properties of these classes represent the counters for the object. The WMI class name for a raw counter object is of the form Win32_PerfRawData__service_name_object_name. For example, the WMI class name that contains the logical disk counters is Win32_PerfRawData_PerfDisk_LogicalDisk.

You can use the corresponding Win32_PerfFormattedData class to get the pre-calculated performance data shown in System Monitor. For example, use the Win32_PerfFormattedData_PerfDisk_LogicalDisk class to get pre-calculated disk data.

For more information about how to write a client that can access raw performance data, see Accessing Performance Data in C++.

As a high-performance provider, the Performance Counter provider implements the standard IWbemProviderInit interface, as well as the IWbemRefresher::Refresh method and the following IWbemHiPerfProvider methods:

WMI Providers