C# 클래스 NBench.PerformanceCounters.Collection.PerformanceCounterProxy

Concrete implementation of IPerformanceCounterProxy that recreates the underlying PerformanceCounter on fault up to a maxmium limit. NOT THREAD SAFE.
상속: IPerformanceCounterProxy
파일 보기 프로젝트 열기: petabridge/NBench 1 사용 예제들

공개 메소드들

메소드 설명
Collect ( ) : double

Return the raw value of the counter

Dispose ( ) : void
Dispose ( bool isDisposing ) : void
PerformanceCounterProxy ( Func counterFactory ) : System

비공개 메소드들

메소드 설명
DisposeCounter ( ) : void
GetOrCreate ( ) : PerformanceCounter

메소드 상세

Collect() 공개 메소드

Return the raw value of the counter
public Collect ( ) : double
리턴 double

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( bool isDisposing ) : void
isDisposing bool
리턴 void

PerformanceCounterProxy() 공개 메소드

public PerformanceCounterProxy ( Func counterFactory ) : System
counterFactory Func
리턴 System