예제 #1
0
 public ManualTimerMetric(
     TimeUnit durationUnit,
     TimeUnit rateUnit,
     MeterMetric meter,
     HistogramMetric histogram,
     bool clear)
     : base(durationUnit, rateUnit, meter, histogram, clear)
 {
 }
예제 #2
0
 protected TimerMetricBase(TimeUnit durationUnit, TimeUnit rateUnit, MeterMetric meter, HistogramMetric histogram, bool clear)
 {
     DurationUnit = durationUnit;
     RateUnit     = rateUnit;
     _meter       = meter;
     _histogram   = histogram;
     if (clear)
     {
         Clear();
     }
 }