|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmako5.evnt.StopWatch
public class StopWatch
This class is useful for time benchmarking. It marks a start time and end time, and then reports the elapsed time between start and finish.
Constructor Summary | |
---|---|
StopWatch()
Makes a new StopWatch. |
Method Summary | |
---|---|
long |
mark()
Marks the next end time and returns the elapsed time. |
void |
reset()
Resets the starting time to now. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StopWatch()
Method Detail |
---|
public void reset()
public long mark()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |