static class TimerImpl.FlatTimer extends DebugValue implements DebugTimer
Constructor and Description |
---|
FlatTimer(String name,
boolean conditional) |
Modifier and Type | Method and Description |
---|---|
TimeUnit |
getTimeUnit()
Gets the time unit of this timer.
|
DebugCloseable |
start()
Starts this timer if timing is enabled or this is an
unconditional timer.
|
String |
toString(long value) |
addToCurrentValue, compareTo, getCurrentValue, getIndex, getName, isConditional, setConditional, setCurrentValue, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCurrentValue, getFlat, isConditional, setConditional
public String toString(long value)
toString
in class DebugValue
public TimeUnit getTimeUnit()
DebugTimer
getTimeUnit
in interface DebugTimer
public DebugCloseable start()
DebugTimer
start
in interface DebugTimer