C# Class TabMon.Counters.Perfmon.PerfmonCounter

Represents a Perfmon counter on a machine, possible remote. This is a thin wrapper over the existing System.Diagnostics PerformanceCounter class.
Inheritance: ICounter, IDisposable
ファイルを表示 Open project: tableau/TabMon Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
PerfmonCounter ( Host host, CounterLifecycleType lifecycleType, string counterCategory, string counterName, string instance, string unit ) : System
Sample ( ) : ICounterSample

Sample this Perfmon counter.

ToString ( ) : string

Private Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

PerfmonCounter() public method

public PerfmonCounter ( Host host, CounterLifecycleType lifecycleType, string counterCategory, string counterName, string instance, string unit ) : System
host Host
lifecycleType CounterLifecycleType
counterCategory string
counterName string
instance string
unit string
return System

Sample() public method

Sample this Perfmon counter.
public Sample ( ) : ICounterSample
return ICounterSample

ToString() public method

public ToString ( ) : string
return string