Searched refs:NANOS_PER_MILLI (Results 1 – 2 of 2) sorted by relevance
364 long duration = (millis * NANOS_PER_MILLI) + nanos; in sleep()382 millis = duration / NANOS_PER_MILLI; in sleep()383 nanos = (int) (duration % NANOS_PER_MILLI); in sleep()2051 private static final int NANOS_PER_MILLI = 1000000; field in Thread2122 long millis = nanos / NANOS_PER_MILLI; in parkFor$()2123 nanos %= NANOS_PER_MILLI; in parkFor$()2191 parkFor$(delayMillis * NANOS_PER_MILLI); in parkUntil$()
38 private static final int NANOS_PER_MILLI = 1000 * 1000; field in Daemons39 private static final int NANOS_PER_SECOND = NANOS_PER_MILLI * 1000;309 long sleepMills = sleepNanos / NANOS_PER_MILLI; in sleepFor()