MetricName used for ElapsedTimeAssertionAttribute and TimingMeasurementAttribute.
Inheritance: MetricName
Beispiel #1
0
 private bool Equals(TimingMetricName other)
 {
     return(string.Equals(_name, other._name));
 }
Beispiel #2
0
 public TimingBenchmarkSetting(TimingMetricName metricName, Assertion assertion)
 {
     TimingMetricName = metricName;
     Assertion        = assertion;
     AssertionType    = AssertionType.Total; // timing specs always care about totals only
 }
Beispiel #3
0
 private bool Equals(TimingMetricName other)
 {
     return string.Equals(_name, other._name);
 }
 public TimingBenchmarkSetting(TimingMetricName metricName, Assertion assertion)
 {
     TimingMetricName = metricName;
     Assertion = assertion;
     AssertionType = AssertionType.Total; // timing specs always care about totals only
 }