Searched refs:NANOS_IN_ONE_MICROSECOND (Results 1 – 2 of 2) sorted by relevance
38 static final long NANOS_IN_ONE_MICROSECOND = 1000; field in Util39 static final long NANOS_IN_ONE_MILLISECOND = NANOS_IN_ONE_MICROSECOND * 1000;48 if (durationInNanos < 10 * NANOS_IN_ONE_MICROSECOND) { in selectDurationUnitForDisplay()60 return (double) nanos / NANOS_IN_ONE_MICROSECOND; in convertToMicros()
45 …als(DurationUnit.NANOSECOND, Util.selectDurationUnitForDisplay(9 * Util.NANOS_IN_ONE_MICROSECOND)); in testSelectDurationUnitForDisplay()46 …s(DurationUnit.MICROSECOND, Util.selectDurationUnitForDisplay(11 * Util.NANOS_IN_ONE_MICROSECOND)); in testSelectDurationUnitForDisplay()