Esempio n. 1
0
 public MemoryBenchmarkSetting(MemoryMetric metric, Assertion assertion)
 {
     Metric        = metric;
     Assertion     = assertion;
     AssertionType = AssertionType.Total;
     MetricName    = new MemoryMetricName(metric);
 }
Esempio n. 2
0
 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)
 {
 }
Esempio n. 7
0
 public TotalMemorySelector(MemoryMetricName name, SysInfo systemInfo)
     : base(name, systemInfo)
 {
 }
Esempio n. 8
0
 protected bool Equals(MemoryMetricName other)
 {
     return(Metric == other.Metric);
 }
Esempio n. 9
0
 public GcTotalMemoryCollector(MemoryMetricName name) : this(name, MetricNames.MemoryAllocatedUnits)
 {
 }
Esempio n. 10
0
 public GcTotalMemoryCollector(MemoryMetricName name, string unitName) : base(name, unitName)
 {
 }
Esempio n. 11
0
 public TotalMemorySelector(MemoryMetricName name, SysInfo systemInfo) : base(name, systemInfo)
 {
 }
Esempio n. 12
0
 public GcTotalMemoryCollector(MemoryMetricName name)
     : this(name, MetricNames.MemoryAllocatedUnits)
 {
 }
Esempio n. 13
0
 public GcTotalMemoryCollector(MemoryMetricName name, string unitName)
     : base(name, unitName)
 {
 }