Class TraceTimer


  • public final class TraceTimer
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void startTiming()  
      void stopTiming()
      Stop the timer and add the time to the totals being accumulated in TraceHandler.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • startTiming

        public void startTiming()
      • stopTiming

        public void stopTiming()
        Stop the timer and add the time to the totals being accumulated in TraceHandler. In this Java implementation, this method needs to be called explicitly since we can't rely on the destructor being called to stop the timer.