Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Statistical Counter Types

Statistical Counter Types

The WMI high-performance Formatted Performance Data Provider calculates the statistical counter types on a specified number of raw counter data samples. The algorithms for the counter types do not require inherited timestamp or frequency properties (such as TimeStamp_PerfTime or Frequency_PerfTime) that other counter types require.

Instead, the statistical counter types support a qualifier that identifies how many samples to use. A sample is collected when the Refresh method is called for the performance object. For scripts use the SWbemRefresher.Refresh method. The calculated data contains the result of the calculation performed on the SampleWindow number of samples from the raw data property. The raw data for the calculation comes frm the property name specified in the Counter qualifier.

For more information, see Obtaining Statistical Performance Data and Accessing WMI Preinstalled Performance Classes.

CounterType ConstantDescription
COOKER_AVERAGE Sums repeated observations of one property in a Win32_PerfRawData class and divides the sum by the number of observations.
COOKER_MAX Largest value from a set of observations of a property in a Win32_PerfRawData class.
COOKER_MIN Smallest value from a set of observations of a property in a Win32_PerfRawData class.
COOKER_RANGE Difference between the Min and Max values for a set of raw observations of a property in a Win32_PerfRawData class.
COOKER_VARIANCE Measure of variability that can be used to characterize dispersion for a set of raw observations of a property in a Win32_PerfRawData class.

 

Related topics

WMI Performance Counter Types
Monitoring Performance Data
Refreshing WMI Data in Scripts
Accessing Performance Data in Script
Accessing Performance Data in C++

 

 

Show:
© 2015 Microsoft