util
Class StopWatch
java.lang.Object
|
+--util.StopWatch
- public class StopWatch
- extends Object
- implements Serializable
StopWatch.java A static class that allows you to do fine level
timing between events. Useful for debugging.
Created: Tue Nov 14 16:00:27 2000
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
StopWatch
public StopWatch()
reset
public static long reset()
- resets the timer
- Returns:
- the number of milliseconds since the last reset
timeElapsed
public static long timeElapsed()
- Returns:
- the number of milliseconds since the last reset