Win32 Classes


Win32_PerfFormattedData Class

The Win32_PerfFormattedData performance counter class is an abstract base class for the preinstalled, calculated data classes. An example of such a class is Win32_PerfFormattedData_PerfDisk_LogicalDisk. These classes contain calculated values provided by the high-performance Formatted Performance Data Provider.

The following syntax is simplified from MOF code and shows all of the inherited properties.

Syntax

class Win32_PerfFormattedData : Win32_Perf
{
  string Caption;
  string Description;
  uint64 Frequency_Object;
  uint64 Frequency_PerfTime;
  uint64 Frequency_Sys100NS;
  string Name;
  uint64 Timestamp_Object;
  uint64 Timestamp_PerfTime;
  uint64 Timestamp_Sys100NS;
};

Methods

The Win32_PerfFormattedData class does not define any methods.

Properties

The Win32_PerfFormattedData class defines the following properties.

Caption
Data type: string
Access type: Read-only
Qualifiers: MaxLen(64)

Short, textual description (one-line string) for the statistic or metric. This property is inherited from CIM_StatisticalInformation.

Description
Data type: string
Access type: Read-only

Textual description of the statistic or metric. This property is inherited from CIM_StatisticalInformation.

Frequency_Object
Data type: uint64
Access type: Read-only

Frequency in ticks per second of the Timestamp_Object property. This property is defined by the provider. This property is inherited from Win32_Perf.

For more information about using uint64 values in scripts, see Scripting in WMI.

Frequency_PerfTime
Data type: uint64
Access type: Read-only

Frequency, in ticks per second, of the Timestamp_PerfTime property. A value could be obtained by calling the Windows function QueryPerformanceCounter. This property is inherited from Win32_Perf.

For more information about using uint64 values in scripts, see Scripting in WMI.

Frequency_Sys100NS
Data type: uint64
Access type: Read-only

Frequency in ticks per second of the Timestamp_Sys100NS property (10000000). This property is inherited from Win32_Perf.

For more information about using uint64 values in scripts, see Scripting in WMI.

Name
Data type: string
Access type: Read-only
Qualifiers: MaxLen(256)

Label by which the statistic or metric is known. This property is inherited from CIM_StatisticalInformation.

Timestamp_Object
Data type: uint64
Access type: Read-only

Object-defined timestamp. The provider defines this property. This property is inherited from Win32_Perf.

For more information about using uint64 values in scripts, see Scripting in WMI.

Timestamp_PerfTime
Data type: uint64
Access type: Read-only

High Performance counter timestamp. A value can be obtained by calling the Windows function QueryPerformanceCounter. This property is inherited from Win32_Perf.

For more information about using uint64 values in scripts, see Scripting in WMI.

Timestamp_Sys100NS
Data type: uint64
Access type: Read-only

Timestamp value in 100 nanosecond units. This property is inherited from Win32_Perf.

For more information about using uint64 values in scripts, see Scripting in WMI.

Remarks

The Win32_PerfFormattedData class is derived from Win32_Perf, which is derived from CIM_StatisticalInformation. The class is found in the root\cimv2 namespace.

Examples

For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.

For C++ code examples, see WMI C++ Application Examples.

Requirements

Minimum supported clientWindows XP
Minimum supported serverWindows Server 2003
DLLWmicookr.dll on Windows Server 2003 and Windows XP, WmiPerfInst.dll on Windows Server 2008 and Windows Vista
Namespace\root\cimv2

See Also

Performance Counter Classes
Accessing WMI Preinstalled Performance Classes
WMI Tasks: Performance Monitoring
Accessing Performance Data in Script

Send comments about this topic to Microsoft

Build date: 11/3/2009

Tags :


Page view tracker