C# Class CogMon.Agent.WinPerf

Inheritance: IDisposable
Datei anzeigen Open project: lafar6502/cogmon

Public Methods

Method Description
Dispose ( ) : void
GetRawValue ( string pcref ) : long
GetValue ( string pcref ) : float

Private Methods

Method Description
GetPerfCounter ( string pcref ) : PerformanceCounter
GetPerfCounterKey ( string categoryName, string counterName, string counterInstance, string machineName ) : string
NormalizePCRef ( string pcref ) : string
ParsePerfCounterKey ( string pcref, string &categoryName, string &counterName, string &instanceName, string &machineName ) : bool

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetRawValue() public method

public GetRawValue ( string pcref ) : long
pcref string
return long

GetValue() public method

public GetValue ( string pcref ) : float
pcref string
return float