public class Stopwatch
extends java.lang.Object
| Constructor and Description |
|---|
Stopwatch() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
executionTimeFormatted() |
long |
lapTime() |
java.lang.String |
lapTimeFormatted() |
java.lang.String |
lapTimeFormatted(java.lang.Long executionTimeInMilliseconds) |
void |
start() |
static Stopwatch |
started() |
long |
stop() |
long |
stop(java.lang.String message) |
public static Stopwatch started()
public void start()
public long stop()
public java.lang.String lapTimeFormatted()
public java.lang.String executionTimeFormatted()
public java.lang.String lapTimeFormatted(java.lang.Long executionTimeInMilliseconds)
public long lapTime()
public long stop(java.lang.String message)