public MemoryBenchmarkSetting(MemoryMetric metric, Assertion assertion) { Metric = metric; Assertion = assertion; AssertionType = AssertionType.Total; MetricName = new MemoryMetricName(metric); }
protected bool Equals(MemoryMetricName other) { return Metric == other.Metric; }
public PerformanceCounterTotalMemoryCollector(MemoryMetricName name, PerformanceCounter counter, bool disposesCounter) : this(name, MetricNames.MemoryAllocatedUnits, counter, disposesCounter) { }
public PerformanceCounterTotalMemoryCollector(MemoryMetricName name, string unitName, PerformanceCounter counter, bool disposesCounter) : base(name, unitName, counter, disposesCounter) { }
public PerformanceCounterTotalMemoryCollector(MemoryMetricName name) : this(name, true) { }
public PerformanceCounterTotalMemoryCollector(MemoryMetricName name, bool disposesCounter) : this(name, GetTotalProcessMemoryCounter(), disposesCounter) { }
public TotalMemorySelector(MemoryMetricName name, SysInfo systemInfo) : base(name, systemInfo) { }
protected bool Equals(MemoryMetricName other) { return(Metric == other.Metric); }
public GcTotalMemoryCollector(MemoryMetricName name) : this(name, MetricNames.MemoryAllocatedUnits) { }
public GcTotalMemoryCollector(MemoryMetricName name, string unitName) : base(name, unitName) { }