System.Management.Automation.PerformanceData Namespace

Classes

CounterSetInstanceBase

An abstract class that forms the base class for any Counter Set type. A Counter Set Instance is required to register a given performance counter category with PSPerfCountersMgr.

CounterSetRegistrarBase

An abstract class that forms the base class for any CounterSetRegistrar type. Any client that needs to register a new type of perf counter category with the PSPerfCountersMgr, should create an instance of CounterSetRegistrarBase's derived non-abstract type. The created instance is then passed to PSPerfCounterMgr's AddCounterSetInstance() method.

PSCounterSetInstance

PSCounterSetInstance is a thin wrapper on System.Diagnostics.PerformanceData.CounterSetInstance

PSCounterSetRegistrar

PSCounterSetRegistrar implements the abstract methods of CounterSetRegistrarBase. Any client that needs to register a new type of perf counter category with the PSPerfCountersMgr, should create an instance of PSCounterSetRegistrar. The created instance is then passed to PSPerfCounterMgr's AddCounterSetInstance() method.

PSPerfCountersMgr

Powershell Performance Counters Manager class shall provide a mechanism for components using SYstem.Management.Automation assembly to register performance counters with Performance Counters susbsystem.

Structs

CounterInfo

A struct that encapuslates the information pertaining to a given counter like name,type and id.