C# Class Munin.WinNode.PerformanceCounterHelper

Afficher le fichier Open project: jweber/Munin.WinNode

Méthodes publiques

Méthode Description
CategoryExists ( string category ) : bool

Returns true if the category exists as a PerformanceCounter category on the local system.

CleanName ( string name ) : string
Initialize ( this counter ) : PerformanceCounter

Initializes the specified counter by calling its PerformanceCounter.NextValue method.

InitializeCounters ( ) : void

Initializes the counters.

Method Details

CategoryExists() public static méthode

Returns true if the category exists as a PerformanceCounter category on the local system.
public static CategoryExists ( string category ) : bool
category string
Résultat bool

CleanName() public static méthode

public static CleanName ( string name ) : string
name string
Résultat string

Initialize() public static méthode

Initializes the specified counter by calling its PerformanceCounter.NextValue method.
public static Initialize ( this counter ) : PerformanceCounter
counter this The counter.
Résultat System.Diagnostics.PerformanceCounter

InitializeCounters() public static méthode

Initializes the counters.
public static InitializeCounters ( ) : void
Résultat void