Exemplo n.º 1
0
        public void Reset()
        {
            // TODO For stats purposes on sparse operations, it might be nice to have this called at regular intervals.
            var stopwatch = Stopwatch.StartNew();

            try
            {
                _resettingNumbersBucket.Reset();
            }
            finally
            {
                _stats.Elapsed(StatsPrefix + " Reset", null, stopwatch.Elapsed);
            }
        }
Exemplo n.º 2
0
 public void Reset()
 {
     _resettingNumbersBucket.Reset();
 }