C# Class CogMon.Agent.WinPerf

Inheritance: IDisposable
Afficher le fichier Open project: lafar6502/cogmon

Méthodes publiques

Méthode Description
Dispose ( ) : void
GetRawValue ( string pcref ) : long
GetValue ( string pcref ) : float

Private Methods

Méthode 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 méthode

public Dispose ( ) : void
Résultat void

GetRawValue() public méthode

public GetRawValue ( string pcref ) : long
pcref string
Résultat long

GetValue() public méthode

public GetValue ( string pcref ) : float
pcref string
Résultat float