C# Class NBench.Collection.MetricCollector

Responsible for collecting metrics for various things inside NBench
Inheritance: IDisposable
Show file Open project: petabridge/NBench Class Usage Examples

Public Methods

Method Description
Collect ( ) : double

Collects the value of this metric

Dispose ( ) : void

Protected Methods

Method Description
Dispose ( bool dispose ) : void
DisposeInternal ( ) : void

Internal method for disposing any resources used by a specific MetricCollector implementation.

MetricCollector ( MetricName name, string unitName ) : System

Method Details

Collect() public abstract method

Collects the value of this metric
public abstract Collect ( ) : double
return double

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool dispose ) : void
dispose bool
return void

DisposeInternal() protected method

Internal method for disposing any resources used by a specific MetricCollector implementation.
protected DisposeInternal ( ) : void
return void

MetricCollector() protected method

protected MetricCollector ( MetricName name, string unitName ) : System
name MetricName
unitName string
return System