public class NanosAdjustedClock extends DefaultClock
Constructor and Description |
---|
NanosAdjustedClock(long nanosEpoch) |
NanosAdjustedClock(long nanosEpoch,
boolean enableThreadCpuTime) |
Modifier and Type | Method and Description |
---|---|
long |
nanoTime() |
currentTimeMillis, threadUserNanoTime
public NanosAdjustedClock(long nanosEpoch)
public NanosAdjustedClock(long nanosEpoch, boolean enableThreadCpuTime)
public long nanoTime()
nanoTime
in interface Clock
nanoTime
in class DefaultClock
System.nanoTime()