Class Stopwatch
java.lang.Object
is.galia.util.Stopwatch
Measures time elapsed. The timer starts at instantiation.
Instances are thread-safe.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Stopwatch
public Stopwatch()
-
-
Method Details
-
reset
public void reset() -
timeElapsed
public long timeElapsed()- Returns:
- Number of milliseconds since the stopwatch was started.
-
toString
-