Public Member Functions | |
long | getElapsedTime () |
double | getElapsedTimeSecs () |
void | start () |
void | stop () |
Private Attributes | |
long | elapsed = 0 |
boolean | running = false |
long | startTime = 0 |
long | stopTime = 0 |
Stop watch millisecond accuracy. For measuring different time spans.
Definition at line 9 of file Stopwatch.java.
long edu.tum.cs.ias.knowrob.util.Stopwatch.getElapsedTime | ( | ) | [inline] |
gets elapsed time in msecs
Definition at line 49 of file Stopwatch.java.
double edu.tum.cs.ias.knowrob.util.Stopwatch.getElapsedTimeSecs | ( | ) | [inline] |
gets elapsed time in seconds
Definition at line 60 of file Stopwatch.java.
void edu.tum.cs.ias.knowrob.util.Stopwatch.start | ( | ) | [inline] |
Start stopwatch
Definition at line 31 of file Stopwatch.java.
void edu.tum.cs.ias.knowrob.util.Stopwatch.stop | ( | ) | [inline] |
Stop stopwatch
Definition at line 39 of file Stopwatch.java.
long edu.tum.cs.ias.knowrob.util.Stopwatch.elapsed = 0 [private] |
Stopwatch elapsed time
Definition at line 22 of file Stopwatch.java.
boolean edu.tum.cs.ias.knowrob.util.Stopwatch.running = false [private] |
Is stopwatch currently running?
Definition at line 26 of file Stopwatch.java.
long edu.tum.cs.ias.knowrob.util.Stopwatch.startTime = 0 [private] |
Stopwatch start time
Definition at line 14 of file Stopwatch.java.
long edu.tum.cs.ias.knowrob.util.Stopwatch.stopTime = 0 [private] |
Stopwatch stop time
Definition at line 18 of file Stopwatch.java.