C# Class NBench.Collection.MetricsCollectorSelector

Strategy pattern that's used to determine how to pick the appropriate MetricCollector based on platform dependencies and user-preferences.
Afficher le fichier Open project: petabridge/NBench

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
MetricsCollectorSelector ( MetricName name ) : System.Collections.Generic
MetricsCollectorSelector ( MetricName name, NBench.Sys.SysInfo systemInfo ) : System.Collections.Generic

Method Details

Create() public méthode

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
Résultat MetricCollector

Create() public abstract méthode

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
Résultat MetricCollector

MetricsCollectorSelector() protected méthode

protected MetricsCollectorSelector ( MetricName name ) : System.Collections.Generic
name MetricName
Résultat System.Collections.Generic

MetricsCollectorSelector() protected méthode

protected MetricsCollectorSelector ( MetricName name, NBench.Sys.SysInfo systemInfo ) : System.Collections.Generic
name MetricName
systemInfo NBench.Sys.SysInfo
Résultat System.Collections.Generic