Win32_PerfFormattedData_PerfProc_Image_Costly class

The Win32_PerfFormattedData_PerfProc_Image_Costly formatted data class provides precalculated data from performance counters that monitor counters that monitor the virtual address usage of images executed by processes on the computer.

This class is shown as the Image object in System Monitor and returns the same data found in System Monitor. This class derives its raw data from the corresponding raw class Win32_PerfRawData_PerfProc_Image_Costly. The original data source is the PerfProc performance library. Data is dynamically provided for this class from the performance library object by the WmiPerfInst provider.

Windows Server 2003 and Windows XP: WMI data for this class is supplied by the Formatted Performance Data Provider.

The suffix "Costly" indicates that obtaining data from the counters contained in this class uses system or network resources heavily and can affect performance.

The following syntax is simplified from MOF code and shows all inherited properties, including the Frequency and Timestamp properties required for class display in System Monitor. For more information about required property qualifiers, see Property Qualifiers for Performance Counter Classes. For more information about CounterType values, see WMI Performance Counter Types.

Syntax

class Win32_PerfFormattedData_PerfProc_Image_Costly : Win32_PerfFormattedData
{
  string Caption;
  string Description;
  uint64 ExecReadOnly;
  uint64 ExecReadPerWrite;
  uint64 Executable;
  uint64 ExecWriteCopy;
  uint64 Frequency_Object;
  uint64 Frequency_PerfTime;
  uint64 Frequency_Sys100NS;
  string Name;
  uint64 NoAccess;
  uint64 ReadOnly;
  uint64 ReadPerWrite;
  uint64 Timestamp_Object;
  uint64 Timestamp_PerfTime;
  uint64 Timestamp_Sys100NS;
  uint64 WriteCopy;
};

Members

The Win32_PerfFormattedData_PerfProc_Image_Costly class has these types of members:

  • Properties

Properties

The Win32_PerfFormattedData_PerfProc_Image_Costly class has these properties.

Caption

Data type: string

Access type: Read-only

Short textual description 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.

ExecReadOnly

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_LARGE_RAWCOUNT") , Counter ("ExecReadOnly") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Memory that can be executed as well as read.

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

ExecReadPerWrite

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_LARGE_RAWCOUNT") , Counter ("ExecReadPerWrite") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Memory that can be executed by programs as well as read and written.

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

Executable

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_LARGE_RAWCOUNT") , Counter ("Executable") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Memory that can be executed by programs, but cannot be read or written. This type of protection is not supported by all processor types.

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

ExecWriteCopy

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_LARGE_RAWCOUNT") , Counter ("ExecWriteCopy") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Memory that can be executed by programs as well as read and written. This type of protection is used when memory must be shared between processes. If the sharing processes only read the memory, then they all use the same memory. If a sharing process requests write access, then a copy of this memory is made for that process.

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

Frequency_Object

Data type: uint64

Access type: Read-only

Frequency, in ticks per second, of Timestamp_Object. 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 Timestamp_Perftime. 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 Timestamp_Sys100NS (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: Key, MaxLen (256)

Label by which the statistic or metric is known. When sub-classed, the property can be overridden to be a key property. This property is inherited from CIM_StatisticalInformation.

NoAccess

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_LARGE_RAWCOUNT") , Counter ("NoAccess") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Protection that prevents a process from writing or reading these pages and generates an access violation if either is attempted.

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

ReadOnly

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_LARGE_RAWCOUNT") , Counter ("ReadOnly") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Protection that prevents the modification of pages with this protection. Any attempts to write or modify these pages generates an access violation.

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

ReadPerWrite

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_LARGE_RAWCOUNT") , Counter ("ReadPerWrite") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Protection that allows a process to read, modify, and write to these pages.

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

Timestamp_Object

Data type: uint64

Access type: Read-only

Object-defined timestamp, defined by the provider. 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 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.

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.

WriteCopy

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_LARGE_RAWCOUNT") , Counter ("WriteCopy") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Protection used when memory is shared for reading but not for writing. When processes are reading this memory, they can share the same memory; however, when a sharing process requests read/write access, a copy of the memory is made for the process that requires read/write access.

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

Remarks

All classes derived from Win32_Perf are designed to be used with a refresher object. For more information about how to create and use a refresher object in C++, see Accessing Performance Data in C++. For more information about how to create and use a refresher object using scripts, see Refreshing WMI Data in Scripts.

All classes derived from Win32_Perf are designed to be used with a refresher object. For more information about how to create and use a refresher object in C++, see Accessing Performance Data in C++. For more information about how to create and use a refresher object using scripts, see Refreshing WMI Data in Scripts.

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 client

Windows XP

Minimum supported server

Windows Server 2003

Namespace

\root\CIMV2

DLL

WmiPerfInst.dll; WmiCookr.dll on Windows Server 2003 and Windows XP

See also

Performance Counter Classes

Accessing WMI Preinstalled Performance Classes

WMI Tasks: Performance Monitoring

Accessing Performance Data in Script