public class AntPerformanceListener.StopWatch
extends java.lang.Object
Constructor and Description |
---|
StopWatch()
Starts the stopwatch.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public long start()
public long stop()
public long total()
public long elapsed()