Esempio n. 1
0
        private static WavefrontHistogramImpl CreateRangeHistogram(Func <long> clockMillis)
        {
            var wavefrontHistogram = new WavefrontHistogramImpl(clockMillis);

            for (int i = 1; i <= 1000; ++i)
            {
                wavefrontHistogram.Update(i);
            }

            return(wavefrontHistogram);
        }
 /// <inheritdoc />
 public void Update(long value)
 {
     wavefrontHistogram.Update(value);
 }