C# 클래스 NBench.Collection.MetricCollector

Responsible for collecting metrics for various things inside NBench
상속: IDisposable
파일 보기 프로젝트 열기: petabridge/NBench 1 사용 예제들

공개 메소드들

메소드 설명
Collect ( ) : double

Collects the value of this metric

Dispose ( ) : void

보호된 메소드들

메소드 설명
Dispose ( bool dispose ) : void
DisposeInternal ( ) : void

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

MetricCollector ( MetricName name, string unitName ) : System

메소드 상세

Collect() 공개 추상적인 메소드

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

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool dispose ) : void
dispose bool
리턴 void

DisposeInternal() 보호된 메소드

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

MetricCollector() 보호된 메소드

protected MetricCollector ( MetricName name, string unitName ) : System
name MetricName
unitName string
리턴 System