C# 클래스 NBench.Collection.MetricsCollectorSelector

Strategy pattern that's used to determine how to pick the appropriate MetricCollector based on platform dependencies and user-preferences.
파일 보기 프로젝트 열기: petabridge/NBench

공개 메소드들

메소드 설명
Create ( RunMode runMode, IBenchmarkSetting setting ) : MetricCollector

Creates an instance for all applicable MetricCollectors for this metric type.

Create ( RunMode runMode, WarmupData warmup, IBenchmarkSetting setting ) : MetricCollector

Creates an instance for all applicable MetricCollectors for this metric type.

보호된 메소드들

메소드 설명
MetricsCollectorSelector ( MetricName name ) : System.Collections.Generic
MetricsCollectorSelector ( MetricName name, NBench.Sys.SysInfo systemInfo ) : System.Collections.Generic

메소드 상세

Create() 공개 메소드

Creates an instance for all applicable MetricCollectors for this metric type.
public Create ( RunMode runMode, IBenchmarkSetting setting ) : MetricCollector
runMode RunMode /// The for this benchmark. Influences the type of /// used in some instances. ///
setting IBenchmarkSetting An implementation-specific
리턴 MetricCollector

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

Creates an instance for all applicable MetricCollectors for this metric type.
public abstract Create ( RunMode runMode, WarmupData warmup, IBenchmarkSetting setting ) : MetricCollector
runMode RunMode /// The for this benchmark. Influences the type of /// used in some instances. ///
warmup NBench.Sdk.WarmupData Warmup data. Influences the type of used in some instances.
setting IBenchmarkSetting An implementation-specific
리턴 MetricCollector

MetricsCollectorSelector() 보호된 메소드

protected MetricsCollectorSelector ( MetricName name ) : System.Collections.Generic
name MetricName
리턴 System.Collections.Generic

MetricsCollectorSelector() 보호된 메소드

protected MetricsCollectorSelector ( MetricName name, NBench.Sys.SysInfo systemInfo ) : System.Collections.Generic
name MetricName
systemInfo NBench.Sys.SysInfo
리턴 System.Collections.Generic