public Recorder( long lowestDiscernibleValue, long highestTrackableValue, int numberOfSignificantValueDigits, HistogramFactory histogramFactory) { _histogramFactory = histogramFactory; _activeHistogram = histogramFactory(_instanceId, lowestDiscernibleValue, highestTrackableValue, numberOfSignificantValueDigits); _inactiveHistogram = histogramFactory(_instanceId, lowestDiscernibleValue, highestTrackableValue, numberOfSignificantValueDigits); _activeHistogram.StartTimeStamp = DateTime.Now.MillisecondsSinceUnixEpoch(); }
internal RecorderFactory(HistogramFactory histogramBuilder) { _histogramBuilder = histogramBuilder; }
public IntConcurrentHistogramFactory(HistogramFactory histogramFactory) { LowestTrackableValue = histogramFactory.LowestTrackableValue; HighestTrackableValue = histogramFactory.HighestTrackableValue; NumberOfSignificantValueDigits = histogramFactory.NumberOfSignificantValueDigits; }