|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.antcontrib.perf.AntPerformanceListener.StopWatch
public class AntPerformanceListener.StopWatch
A stopwatch, useful for 'quick and dirty' performance testing.
Constructor Summary | |
---|---|
AntPerformanceListener.StopWatch()
Starts the stopwatch. |
Method Summary | |
---|---|
long |
elapsed()
Elapsed time, difference between the last start time and now. |
long |
start()
Starts/restarts the stopwatch. |
long |
stop()
Stops the stopwatch. |
long |
total()
Total cumulative elapsed time. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AntPerformanceListener.StopWatch()
Method Detail |
---|
public long start()
public long stop()
public long total()
public long elapsed()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |