Ejemplo n.º 1
0
 //! 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);
     }
 }