Home
last modified time | relevance | path

Searched refs:NANOS_IN_ONE_SECOND (Results 1 – 3 of 3) sorted by relevance

/external/slf4j/slf4j-ext/src/main/java/org/slf4j/profiler/
DUtil.java40 static final long NANOS_IN_ONE_SECOND = NANOS_IN_ONE_MILLISECOND * 1000; field in Util
52 } else if (durationInNanos < 10 * NANOS_IN_ONE_SECOND) { in selectDurationUnitForDisplay()
68 return ((double) nanos / NANOS_IN_ONE_SECOND); in convertToSeconds()
/external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/
DBogoPerf.java39 private static long NANOS_IN_ONE_SECOND = 1000 * 1000 * 1000; field in BogoPerf
76 double bogoIPS = NANOS_IN_ONE_SECOND / avgDPIS; in computeBogoIPS()
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/profiler/
DUtilTest.java49 …ssertEquals(DurationUnit.SECOND, Util.selectDurationUnitForDisplay(11 * Util.NANOS_IN_ONE_SECOND)); in testSelectDurationUnitForDisplay()