Some sun.misc internal APIs are deprectaed in JDK 9 and will be encapsulated or removed in a future release.
@Override public long current () { return _timer.highResCounter(); }
@Override public long current () { return _timer.highResCounter(); }
/** * Returns the current value of the most precise available system timer, in milliseconds. This * method is used to measure elapsed time and is not related to any other notion of system or * wall-clock time. * * @return The current value of the system timer, in milliseconds. */ public long timeMillis() { return ((_perf.highResCounter() * TO_MILLISECONDS) / TICKS_PER_SECOND); }
public long getCurrentTime() { return perf.highResCounter(); }
public long getCurrentTime() { return perf.highResCounter(); }
public long nanoTime() { long ctr = perf.highResCounter();
public long nanoTime() { long ctr = perf.highResCounter();
public long nanoTime() { long ctr = perf.highResCounter();