Package org.javarosa.core.util
Class CodeTimer
java.lang.Object
org.javarosa.core.util.CodeTimer
@Deprecated public class CodeTimer extends Object
Deprecated.
Use
StopWatch insteadWarning: This class is unused and should remain that way. It will be removed in a future release.
Helps with timing an operation and logging the time
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidlogDone()Deprecated.UseStopWatchinsteadvoidlogDone(PrintStream stream)Deprecated.UseStopWatchinsteadstatic voidsetEnabled(boolean enabled)Deprecated.UseStopWatchinstead
-
Constructor Details
-
Method Details
-
logDone
Deprecated.UseStopWatchinsteadCalculates and logs the time since this object was constructed. -
logDone
Deprecated.UseStopWatchinsteadCalculates and logs the time since this object was constructed.- Parameters:
stream- the PrintStream onto which to log the message
-
setEnabled
Deprecated.UseStopWatchinstead
-