Package org.snpeff.util
Class Timer
java.lang.Object
org.snpeff.util.Timer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongelapsed()Elapsed time in millisecondsvoidend()voidsetUseMiliSecs(boolean useMiliSecs) static voidShow absolute timer value and a messagestatic voidshowStdErr(Object msg) Show absolute timer value and a message on STDERRvoidstart()toString()static StringtoString(long elapsedMs, boolean useMiliSecs)
-
Constructor Details
-
Timer
public Timer()
-
-
Method Details
-
show
Show absolute timer value and a message- Parameters:
msg-
-
showStdErr
Show absolute timer value and a message on STDERR- Parameters:
msg-
-
toString
-
elapsed
public long elapsed()Elapsed time in milliseconds -
end
public void end() -
setUseMiliSecs
public void setUseMiliSecs(boolean useMiliSecs) -
start
public void start() -
toString
-