- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testElapsed_micros (0.17 sec)
-
android/guava-tests/test/com/google/common/base/StopwatchTest.java
ticker.advance(25); assertEquals(34, stopwatch.elapsed(NANOSECONDS)); stopwatch.stop(); ticker.advance(36); assertEquals(34, stopwatch.elapsed(NANOSECONDS)); } public void testElapsed_micros() { stopwatch.start(); ticker.advance(999); assertEquals(0, stopwatch.elapsed(MICROSECONDS)); ticker.advance(1); assertEquals(1, stopwatch.elapsed(MICROSECONDS)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/StopwatchTest.java
ticker.advance(25); assertEquals(34, stopwatch.elapsed(NANOSECONDS)); stopwatch.stop(); ticker.advance(36); assertEquals(34, stopwatch.elapsed(NANOSECONDS)); } public void testElapsed_micros() { stopwatch.start(); ticker.advance(999); assertEquals(0, stopwatch.elapsed(MICROSECONDS)); ticker.advance(1); assertEquals(1, stopwatch.elapsed(MICROSECONDS)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 5.7K bytes - Viewed (0)