Class TotalMemorySelector
Allocator responsible for choosing the appropriate memory collector implementation, depending on user settings and SysInfo.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NBench.Collection.Memory
Assembly: NBench.dll
Syntax
public class TotalMemorySelector : MetricsCollectorSelector
Constructors
TotalMemorySelector()
Declaration
public TotalMemorySelector()
TotalMemorySelector(MemoryMetricName, SysInfo)
Declaration
public TotalMemorySelector(MemoryMetricName name, SysInfo systemInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| MemoryMetricName | name | |
| SysInfo | systemInfo |
Properties
MemoryMetricName
Declaration
public MemoryMetricName MemoryMetricName { get; }
Property Value
| Type | Description |
|---|---|
| MemoryMetricName |
Methods
Create(RunMode, WarmupData, IBenchmarkSetting)
Declaration
public override MetricCollector Create(RunMode runMode, WarmupData warmup, IBenchmarkSetting setting)
Parameters
| Type | Name | Description |
|---|---|---|
| RunMode | runMode | |
| WarmupData | warmup | |
| IBenchmarkSetting | setting |
Returns
| Type | Description |
|---|---|
| MetricCollector |