Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Performance Counter Provider

[The Performance Counter Provider is no longer available for use as of Windows Vista. 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:

Related topics

WMI Providers

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.