C# Class NBench.Collection.Memory.TotalMemorySelector

Allocator responsible for choosing between GcTotalMemoryCollector and PerformanceCounterTotalMemoryCollector, depending on user settings and SysInfo.
Inheritance: MetricsCollectorSelector
显示文件 Open project: petabridge/NBench

Public Methods

Method Description
Create ( RunMode runMode, WarmupData warmup, IBenchmarkSetting setting ) : MetricCollector
TotalMemorySelector ( ) : System.Collections.Generic
TotalMemorySelector ( NBench.Metrics.MemoryMetricName name, NBench.Sys.SysInfo systemInfo ) : System.Collections.Generic

Method Details

Create() public method

public Create ( RunMode runMode, WarmupData warmup, IBenchmarkSetting setting ) : MetricCollector
runMode RunMode
warmup NBench.Sdk.WarmupData
setting IBenchmarkSetting
return MetricCollector

TotalMemorySelector() public method

public TotalMemorySelector ( ) : System.Collections.Generic
return System.Collections.Generic

TotalMemorySelector() public method

public TotalMemorySelector ( NBench.Metrics.MemoryMetricName name, NBench.Sys.SysInfo systemInfo ) : System.Collections.Generic
name NBench.Metrics.MemoryMetricName
systemInfo NBench.Sys.SysInfo
return System.Collections.Generic