//! Stop the counter (it cannot be started again), add info in PerfStats public void Stop() { if (stopwatch != null && stopwatch.IsRunning) { stopwatch.Stop(); PerfStats.AddCall(_strName, stopwatch.Elapsed); } }
//! Stop the counter (it cannot be started again), add info in PerfStats public void Stop() { if (stopwatch != null && stopwatch.IsRunning) { stopwatch.Stop(); PerfStats.AddCall(_strName, stopwatch.Elapsed); } }