net.sf.antcontrib.perf
public class AntPerformanceListener.StopWatch extends Object
Version: $Revision: 1.3 $
Constructor Summary | |
---|---|
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.
|
Returns: the elapsed time
Returns: the start time, the long returned System.currentTimeMillis().
Returns: the stop time, the long returned System.currentTimeMillis().
Returns: the total time