Searched refs:startNanos (Results 1 – 9 of 9) sorted by relevance
36 final long startNanos = System.nanoTime(); in run() local42 System.out.printf("%.2f Canceling call.%n", (System.nanoTime() - startNanos) / 1e9f); in run()44 System.out.printf("%.2f Canceled call.%n", (System.nanoTime() - startNanos) / 1e9f); in run()49 System.out.printf("%.2f Executing call.%n", (System.nanoTime() - startNanos) / 1e9f); in run()52 (System.nanoTime() - startNanos) / 1e9f, response); in run()55 (System.nanoTime() - startNanos) / 1e9f, e); in run()
22 private Long startNanos = null; field in Stopwatch38 if (startNanos != null) in start()41 startNanos = nanoTime(); in start()61 if (startNanos == null) in elapsedNanos()63 return nanoTime() - startNanos; in elapsedNanos()
81 private volatile long startNanos; field in Stopwatch127 if (startNanos == 0) { in getNanos()135 return currentEndNanos - startNanos; in getNanos()139 startNanos = clock.nanoTime(); in starting()
201 long startNanos = System.nanoTime(); in throttleRequest() local207 long elapsedNanos = System.nanoTime() - startNanos; in throttleRequest()223 long startNanos = System.nanoTime();233 long elapsedNanos = System.nanoTime() - startNanos;246 long startNanos = System.nanoTime();250 long elapsedNanos = System.nanoTime() - startNanos;
72 final AtomicLong startNanos = new AtomicLong(); in runTest() local82 startNanos.set(System.nanoTime()); in runTest()127 long tookMs = TimeUnit.NANOSECONDS.toMillis(endNanos - startNanos.get()); in runTest()
174 long startNanos, int atLeastMillis, int atMostMillis) { in assertTheCallTookBetween() argument175 long nanos = System.nanoTime() - startNanos; in assertTheCallTookBetween()
901 long startNanos = System.nanoTime();907 long elapsedNanos = System.nanoTime() - startNanos;929 long startNanos = System.nanoTime();935 long elapsedNanos = System.nanoTime() - startNanos;966 long startNanos = System.nanoTime();973 long elapsedNanos = System.nanoTime() - startNanos;1008 long startNanos = System.nanoTime();1014 long elapsedNanos = System.nanoTime() - startNanos;
744 long startNanos = System.nanoTime(); in timeoutsUpdatedOnReusedConnections() local750 long elapsedNanos = System.nanoTime() - startNanos; in timeoutsUpdatedOnReusedConnections()1602 long startNanos = System.nanoTime(); in cancelDuringConnect() local1608 long elapsedNanos = System.nanoTime() - startNanos; in cancelDuringConnect()
1339 long startNanos = System.nanoTime(); in streamDiscardingIsTimely() local1343 long elapsedNanos = System.nanoTime() - startNanos; in streamDiscardingIsTimely()