Package se.datadosen.util
Class Stopwatch
java.lang.Object
se.datadosen.util.Stopwatch
- All Implemented Interfaces:
Comparable
-
Constructor Details
-
Stopwatch
public Stopwatch() -
Stopwatch
-
-
Method Details
-
start
-
stop
-
reset
-
getSecs
public double getSecs()- Returns:
- Since:
- 31.1
-
getMillis
public long getMillis() -
setMillis
public void setMillis(long millis) -
trace
-
toString
-
print
public void print() -
printDelta
Prints time passed since last printDelta call- Returns:
- time passed since last printDelta call
- Since:
- 12.6
-
isRunning
public boolean isRunning() -
compareTo
- Specified by:
compareTo
in interfaceComparable
-