Package com.adobe.xfa.ut.trace
Class TraceTimer
- java.lang.Object
-
- com.adobe.xfa.ut.trace.TraceTimer
-
public final class TraceTimer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TraceTimer(TraceHandler.TimingType eType)
-
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.
-
-
-
Constructor Detail
-
TraceTimer
public TraceTimer(TraceHandler.TimingType eType)
-
-
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.
-
-