/external/slf4j/slf4j-ext/src/main/java/org/slf4j/profiler/ |
D | Util.java | 59 static public double convertToMicros(long nanos) { in convertToMicros() argument 60 return (double) nanos / NANOS_IN_ONE_MICROSECOND; in convertToMicros() 63 static public double convertToMillis(long nanos) { in convertToMillis() argument 64 return (double) nanos / NANOS_IN_ONE_MILLISECOND; in convertToMillis() 67 static public double convertToSeconds(long nanos) { in convertToSeconds() argument 68 return ((double) nanos / NANOS_IN_ONE_SECOND); in convertToSeconds() 76 static String durationInDurationUnitsAsStr(long nanos, DurationUnit durationUnit) { in durationInDurationUnitsAsStr() argument 80 buf.append(nanos); in durationInDurationUnitsAsStr() 83 double micros = convertToMicros(nanos); in durationInDurationUnitsAsStr() 87 double millis = convertToMillis(nanos); in durationInDurationUnitsAsStr() [all …]
|
/external/guava/guava/src/com/google/common/base/ |
D | Stopwatch.java | 216 long nanos = elapsedNanos(); in toString() local 218 TimeUnit unit = chooseUnit(nanos); in toString() 219 double value = (double) nanos / NANOSECONDS.convert(1, unit); in toString() 225 private static TimeUnit chooseUnit(long nanos) { in chooseUnit() argument 226 if (DAYS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit() 229 if (HOURS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit() 232 if (MINUTES.convert(nanos, NANOSECONDS) > 0) { in chooseUnit() 235 if (SECONDS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit() 238 if (MILLISECONDS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit() 241 if (MICROSECONDS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit()
|
D | Suppliers.java | 187 long nanos = expirationNanos; in get() local 189 if (nanos == 0 || now - nanos >= 0) { in get() 191 if (nanos == expirationNanos) { // recheck for lost race in get() 194 nanos = now + durationNanos; in get() 197 expirationNanos = (nanos == 0) ? 1 : nanos; in get()
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
D | Stopwatch.java | 210 private static TimeUnit chooseUnit(long nanos) { in chooseUnit() argument 211 if (DAYS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit() 214 if (HOURS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit() 217 if (MINUTES.convert(nanos, NANOSECONDS) > 0) { in chooseUnit() 220 if (SECONDS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit() 223 if (MILLISECONDS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit() 226 if (MICROSECONDS.convert(nanos, NANOSECONDS) > 0) { in chooseUnit()
|
/external/guava/guava-bootstrap/src/java/util/concurrent/ |
D | AbstractExecutorService.java | 39 boolean timed, long nanos) in doInvokeAny() argument 70 f = ecs.poll(nanos, TimeUnit.NANOSECONDS); in doInvokeAny() 74 nanos -= now - lastTime; in doInvokeAny() 155 long nanos = unit.toNanos(timeout); in invokeAll() local 168 nanos -= now - lastTime; in invokeAll() 170 if (nanos <= 0) in invokeAll() 176 if (nanos <= 0) in invokeAll() 179 f.get(nanos, TimeUnit.NANOSECONDS); in invokeAll() 186 nanos -= now - lastTime; in invokeAll()
|
/external/llvm/include/llvm/Support/ |
D | TimeValue.h | 100 explicit TimeValue (SecondsType seconds, NanoSecondsType nanos = 0) 101 : seconds_( seconds ), nanos_( nanos ) { this->normalize(); } in seconds_() 267 void getTimespecTime( uint64_t& seconds, uint32_t& nanos ) const { in getTimespecTime() argument 269 nanos = nanos_; in getTimespecTime() 296 void nanoseconds ( NanoSecondsType nanos ) { in nanoseconds() argument 297 this->nanos_ = nanos; in nanoseconds()
|
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
D | RuntimeWorker.java | 75 long nanos = invokeTimeMethod(nextReps); in measure() local 78 .value(Value.create(nanos, "ns")) in measure() 83 totalNanos += nanos; in measure() 94 @VisibleForTesting static long calculateTargetReps(long reps, long nanos, long targetNanos, in calculateTargetReps() argument 96 double targetReps = (((double) reps) / nanos) * targetNanos; in calculateTargetReps()
|
D | MacrobenchmarkWorker.java | 70 long nanos = stopwatch.stop().elapsed(NANOSECONDS); in measure() local 75 .value(Value.create(nanos, "ns")) in measure()
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | FakeTicker.java | 43 private final AtomicLong nanos = new AtomicLong(); field in FakeTicker 53 nanos.addAndGet(nanoseconds); in advance() 70 return nanos.getAndAdd(autoIncrementStepNanos); in read()
|
/external/drm_hwcomposer/ |
D | worker.cpp | 149 int64_t nanos = (int64_t)abs_deadline.tv_nsec + max_nanoseconds; in WaitForSignalOrExitLocked() local 150 abs_deadline.tv_sec += nanos / kBillion; in WaitForSignalOrExitLocked() 151 abs_deadline.tv_nsec = nanos % kBillion; in WaitForSignalOrExitLocked()
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | MoreExecutors.java | 345 long nanos = unit.toNanos(timeout); in awaitTermination() local 351 } else if (nanos <= 0) { in awaitTermination() 354 nanos = termination.awaitNanos(nanos); in awaitTermination() 673 Collection<? extends Callable<T>> tasks, boolean timed, long nanos) in invokeAnyImpl() argument 708 f = futureQueue.poll(nanos, TimeUnit.NANOSECONDS); in invokeAnyImpl() 713 nanos -= now - lastTime; in invokeAnyImpl()
|
D | Monitor.java | 1014 private boolean awaitNanos(Guard guard, long nanos, boolean signalBeforeWaiting) in awaitNanos() argument 1022 if (nanos < 0L) { in awaitNanos() 1025 nanos = guard.condition.awaitNanos(nanos); in awaitNanos()
|
D | AbstractFuture.java | 264 V get(long nanos) throws TimeoutException, CancellationException, in get() argument 268 if (!tryAcquireSharedNanos(-1, nanos)) { in get()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | SimpleTimeLimiterTest.java | 175 long nanos = System.nanoTime() - startNanos; in assertTheCallTookBetween() local 176 assertTrue(nanos >= atLeastMillis * 1000000); in assertTheCallTookBetween() 177 assertTrue(nanos <= atMostMillis * 1000000); in assertTheCallTookBetween()
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
D | RuntimeInstrument.java | 407 double nanos = measurement.value().magnitude() / measurement.weight(); in validateMeasurement() local 408 if (!notifiedAboutGranularity && ((nanos / 1000) > nanoTimeGranularity.to(NANOSECONDS))) { in validateMeasurement() 456 double nanos = measurement.value().magnitude() / measurement.weight(); in validateMeasurement() local 457 if ((nanos / 1000) < nanoTimeGranularity.to(NANOSECONDS)) { in validateMeasurement() 458 ShortDuration runtime = ShortDuration.of(BigDecimal.valueOf(nanos), NANOSECONDS); in validateMeasurement()
|
/external/jetty/src/java/org/eclipse/jetty/util/ |
D | BlockingArrayQueue.java | 331 long nanos = unit.toNanos(time); in poll() local 340 if (nanos<=0) in poll() 342 nanos = _notEmpty.awaitNanos(nanos); in poll()
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/execution/ |
D | ExecutionUtils.java | 59 long nanos = millis * 1000000L; in waitEventLoop() local 66 } while (System.nanoTime() - start < nanos); in waitEventLoop()
|
/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
D | ShortDuration.java | 54 long nanos = TimeUnit.NANOSECONDS.convert(duration, unit); in of() local 55 return new PositiveShortDuration(nanos * 1000); in of()
|
/external/robolectric/v3/libs/ |
D | sqlite4java-0.282.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/almworks/
com/ ... |
/external/owasp/sanitizer/distrib/lib/ |
D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/external/owasp/sanitizer/lib/guava-libraries/ |
D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/external/guice/lib/ |
D | guava-16.0.1.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/maven/
META- ... |
/external/robolectric/v3/runtime/ |
D | android-all-4.2.2_r1.2-robolectric-0.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/accessibilityservice/
android/ ... |
D | android-all-4.3_r2-robolectric-0.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/accessibilityservice/
android/ ... |
D | android-all-4.4_r1-robolectric-1.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |