C# Class CogMon.Agent.PerfMon.PerfCounter

Single performance counter instance.
Datei anzeigen Open project: lafar6502/cogmon

Public Properties

Property Type Description
_data ConcurrentCircularBuffer

Public Methods

Method Description
GetCurrentValue ( bool reset ) : PerfCounterStats

Return current perf counter values and optionally reset the counter

PerfCounter ( ) : System
Update ( int val ) : void

Protected Methods

Method Description
GetValues ( bool reset ) : PerfCounterStats
GetValuesAndReset ( ) : PerfCounterStats

Resets the counter

Method Details

GetCurrentValue() public method

Return current perf counter values and optionally reset the counter
public GetCurrentValue ( bool reset ) : PerfCounterStats
reset bool
return CogMon.Lib.DataSeries.PerfCounterStats

GetValues() protected method

protected GetValues ( bool reset ) : PerfCounterStats
reset bool
return CogMon.Lib.DataSeries.PerfCounterStats

GetValuesAndReset() protected method

Resets the counter
protected GetValuesAndReset ( ) : PerfCounterStats
return CogMon.Lib.DataSeries.PerfCounterStats

PerfCounter() public method

public PerfCounter ( ) : System
return System

Update() public method

public Update ( int val ) : void
val int
return void

Property Details

_data public_oe property

public ConcurrentCircularBuffer _data
return ConcurrentCircularBuffer