Searched refs:selectDurationUnitForDisplay (Results 1 – 3 of 3) sorted by relevance
44 assertEquals(DurationUnit.NANOSECOND, Util.selectDurationUnitForDisplay(10)); in testSelectDurationUnitForDisplay()45 …assertEquals(DurationUnit.NANOSECOND, Util.selectDurationUnitForDisplay(9 * Util.NANOS_IN_ONE_MICR… in testSelectDurationUnitForDisplay()46 …assertEquals(DurationUnit.MICROSECOND, Util.selectDurationUnitForDisplay(11 * Util.NANOS_IN_ONE_MI… in testSelectDurationUnitForDisplay()47 …assertEquals(DurationUnit.MICROSECOND, Util.selectDurationUnitForDisplay(9 * Util.NANOS_IN_ONE_MIL… in testSelectDurationUnitForDisplay()48 …assertEquals(DurationUnit.MILLISSECOND, Util.selectDurationUnitForDisplay(11 * Util.NANOS_IN_ONE_M… in testSelectDurationUnitForDisplay()49 …assertEquals(DurationUnit.SECOND, Util.selectDurationUnitForDisplay(11 * Util.NANOS_IN_ONE_SECOND)… in testSelectDurationUnitForDisplay()
43 static DurationUnit selectDurationUnitForDisplay(StopWatch sw) { in selectDurationUnitForDisplay() method in Util44 return selectDurationUnitForDisplay(sw.elapsedTime()); in selectDurationUnitForDisplay()47 static DurationUnit selectDurationUnitForDisplay(long durationInNanos) { in selectDurationUnitForDisplay() method in Util72 DurationUnit du = selectDurationUnitForDisplay(sw); in durationInDurationUnitsAsStr()
189 DurationUnit du = Util.selectDurationUnitForDisplay(globalStopWatch); in toString()199 DurationUnit du = Util.selectDurationUnitForDisplay(globalStopWatch); in log()