Searched refs:NANOS_IN_ONE_MILLISECOND (Results 1 – 2 of 2) sorted by relevance
39 static final long NANOS_IN_ONE_MILLISECOND = NANOS_IN_ONE_MICROSECOND * 1000; field in Util40 static final long NANOS_IN_ONE_SECOND = NANOS_IN_ONE_MILLISECOND * 1000;50 } else if (durationInNanos < 10 * NANOS_IN_ONE_MILLISECOND) { in selectDurationUnitForDisplay()64 return (double) nanos / NANOS_IN_ONE_MILLISECOND; in convertToMillis()
47 …ls(DurationUnit.MICROSECOND, Util.selectDurationUnitForDisplay(9 * Util.NANOS_IN_ONE_MILLISECOND)); in testSelectDurationUnitForDisplay()48 …(DurationUnit.MILLISSECOND, Util.selectDurationUnitForDisplay(11 * Util.NANOS_IN_ONE_MILLISECOND)); in testSelectDurationUnitForDisplay()