C# Class Munin.WinNode.PerformanceCounterHelper

Mostra file Open project: jweber/Munin.WinNode

Public Methods

Method 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 method

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

CleanName() public static method

public static CleanName ( string name ) : string
name string
return string

Initialize() public static method

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

InitializeCounters() public static method

Initializes the counters.
public static InitializeCounters ( ) : void
return void