public class Timer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.time.Clock |
clock |
protected static Timer |
instance |
long |
te |
long |
ts |
Modifier | Constructor and Description |
---|---|
protected |
Timer() |
Modifier and Type | Method and Description |
---|---|
static Timer |
newTimer() |
void |
start() |
void |
stop() |
static Timer |
timer() |
java.lang.String |
totalTime() |
protected static Timer instance
protected final java.time.Clock clock
public long ts
public long te