C# Class NBench.PerformanceCounters.Collection.CachedPerformanceCounterProxy

Cached, reference counted implementation of IPerformanceCounterProxy
Inheritance: IPerformanceCounterProxy
Show file Open project: petabridge/NBench Class Usage Examples

Public Methods

Method Description
CachedPerformanceCounterProxy ( Func getUnderlying ) : System
Collect ( ) : double
Dispose ( ) : void
Release ( ) : void
Touch ( ) : void

Method Details

CachedPerformanceCounterProxy() public method

public CachedPerformanceCounterProxy ( Func getUnderlying ) : System
getUnderlying Func
return System

Collect() public method

public Collect ( ) : double
return double

Dispose() public method

public Dispose ( ) : void
return void

Release() public method

public Release ( ) : void
return void

Touch() public method

public Touch ( ) : void
return void