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