/external/v8/benchmarks/ |
base.js | 203 var elapsed = 0; 205 for (var n = 0; elapsed < 1000; n++) { 207 elapsed = new Date() - start; 211 data.elapsed += elapsed; 219 return { runs: 0, elapsed: 0 }; 224 var usec = (data.elapsed * 1000) / data.runs;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
telnetlib.py | 315 elapsed = time() - time_start
316 if elapsed >= timeout:
318 s_args = s_reply + (timeout-elapsed,)
614 elapsed = time() - time_start
615 if elapsed >= timeout:
617 s_args = ([self.fileno()], [], [], timeout-elapsed)
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
RecurrenceProcessorTest.java | 2492 long elapsed = endTime - startTime; local 2516 long elapsed = endTime - startTime; local [all...] |
/tools/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/ |
WifiConnector.java | 96 long elapsed = System.currentTimeMillis() - startTime; local 98 "Time elapsed waiting for %s: %d ms", description, elapsed)); 99 return elapsed;
|
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
MacrobenchmarkWorker.java | 70 long nanos = stopwatch.stop().elapsed(NANOSECONDS);
|
/external/guava/guava/src/com/google/common/base/ |
Stopwatch.java | 36 * An object that measures elapsed time in nanoseconds. It is useful to measure 37 * elapsed time using this class instead of direct calls to {@link 56 * long millis = stopwatch.elapsed(MILLISECONDS); 168 * elapsed up to this point. 182 * Sets the elapsed time for this stopwatch to zero, 198 * Returns the current elapsed time shown on this stopwatch, expressed 207 public long elapsed(TimeUnit desiredUnit) { method in class:Stopwatch 212 * Returns a string representation of the current elapsed time.
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
Stopwatch.java | 35 * An object that measures elapsed time in nanoseconds. It is useful to measure 36 * elapsed time using this class instead of direct calls to {@link 55 * long millis = stopwatch.elapsed(MILLISECONDS); 167 * elapsed up to this point. 181 * Sets the elapsed time for this stopwatch to zero, 197 * Returns the current elapsed time shown on this stopwatch, expressed 206 public long elapsed(TimeUnit desiredUnit) { method in class:Stopwatch
|
/external/syslinux/gpxe/src/net/udp/ |
dhcp.c | 491 unsigned long elapsed; local 510 elapsed = ( currticks() - dhcp->start ); 513 ( elapsed > PROXYDHCP_MAX_TIMEOUT ) ) ) 526 unsigned long elapsed = ( currticks() - dhcp->start ); local 530 ( elapsed > PROXYDHCP_MAX_TIMEOUT ) ) { 783 unsigned long elapsed = ( currticks() - dhcp->start ); local 786 if ( elapsed > PROXYDHCP_MAX_TIMEOUT ) { 944 unsigned long elapsed = ( currticks() - dhcp->start ); local 949 if ( elapsed > PXEBS_MAX_TIMEOUT ) { [all...] |
/external/autotest/client/tests/monotonic_time/src/ |
time_test.c | 209 uint64_t elapsed = rdgtod() - test->start; local 212 (double)elapsed/(double)test->loops,
|
/external/google-benchmark/test/ |
benchmark_test.cc | 189 auto elapsed = local 192 state.SetIterationTime(elapsed.count());
|
/external/libcxx/utils/google-benchmark/test/ |
benchmark_test.cc | 189 auto elapsed = local 192 state.SetIterationTime(elapsed.count());
|
/frameworks/base/services/core/java/com/android/server/trust/ |
TrustArchive.java | 160 private static String formatElapsed(long elapsed) { 161 long delta = elapsed - SystemClock.elapsedRealtime();
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
SwipeProgressBar.java | 149 long elapsed = (now - mStartTime) % ANIMATION_DURATION_MS; local 151 float rawProgress = (elapsed / (ANIMATION_DURATION_MS / 100f));
|
/libcore/luni/src/test/java/libcore/java/lang/ |
ThreadTest.java | 78 long elapsed = System.currentTimeMillis() - start; local 79 long offBy = Math.abs(elapsed - millis);
|
/external/iputils/Modules/ |
pg3.c | 213 u32 start_s, elapsed; local 219 elapsed = get_cycles() - start_s; 220 if (elapsed == 0) 222 } while (elapsed < 1000*50000); 224 return elapsed/(stop.tv_usec-start.tv_usec+1000000*(stop.tv_sec-start.tv_sec));
|
/external/openssh/ |
moduli.c | 534 time_t time_now, elapsed; local 548 elapsed = time_now - time_start; 552 time_per_line = (double)elapsed / processed; 557 processed, fmt_time(elapsed)); 565 fmt_time(elapsed), eta_str);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_multiprocessing.py | 123 self.elapsed = None 130 self.elapsed = time.time() - t 266 self.assertTimingAlmostEqual(join.elapsed, 0.0) 458 self.assertTimingAlmostEqual(put.elapsed, 0) 461 self.assertTimingAlmostEqual(put.elapsed, 0) 464 self.assertTimingAlmostEqual(put_nowait.elapsed, 0) 467 self.assertTimingAlmostEqual(put.elapsed, TIMEOUT1) 470 self.assertTimingAlmostEqual(put.elapsed, 0) 473 self.assertTimingAlmostEqual(put.elapsed, TIMEOUT3) 526 self.assertTimingAlmostEqual(get.elapsed, 0 [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_multiprocessing.py | 123 self.elapsed = None 130 self.elapsed = time.time() - t 266 self.assertTimingAlmostEqual(join.elapsed, 0.0) 458 self.assertTimingAlmostEqual(put.elapsed, 0) 461 self.assertTimingAlmostEqual(put.elapsed, 0) 464 self.assertTimingAlmostEqual(put_nowait.elapsed, 0) 467 self.assertTimingAlmostEqual(put.elapsed, TIMEOUT1) 470 self.assertTimingAlmostEqual(put.elapsed, 0) 473 self.assertTimingAlmostEqual(put.elapsed, TIMEOUT3) 526 self.assertTimingAlmostEqual(get.elapsed, 0 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_multiprocessing.py | 123 self.elapsed = None 130 self.elapsed = time.time() - t 266 self.assertTimingAlmostEqual(join.elapsed, 0.0) 458 self.assertTimingAlmostEqual(put.elapsed, 0) 461 self.assertTimingAlmostEqual(put.elapsed, 0) 464 self.assertTimingAlmostEqual(put_nowait.elapsed, 0) 467 self.assertTimingAlmostEqual(put.elapsed, TIMEOUT1) 470 self.assertTimingAlmostEqual(put.elapsed, 0) 473 self.assertTimingAlmostEqual(put.elapsed, TIMEOUT3) 526 self.assertTimingAlmostEqual(get.elapsed, 0 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_multiprocessing.py | 123 self.elapsed = None 130 self.elapsed = time.time() - t 266 self.assertTimingAlmostEqual(join.elapsed, 0.0) 458 self.assertTimingAlmostEqual(put.elapsed, 0) 461 self.assertTimingAlmostEqual(put.elapsed, 0) 464 self.assertTimingAlmostEqual(put_nowait.elapsed, 0) 467 self.assertTimingAlmostEqual(put.elapsed, TIMEOUT1) 470 self.assertTimingAlmostEqual(put.elapsed, 0) 473 self.assertTimingAlmostEqual(put.elapsed, TIMEOUT3) 526 self.assertTimingAlmostEqual(get.elapsed, 0 [all...] |
/prebuilts/go/darwin-x86/src/net/ |
dial_test.go | 247 elapsed := time.Now().Sub(startTime) 249 return elapsed, expected 370 elapsed := time.Since(startTime) 384 if !(elapsed >= expectElapsedMin) { 385 t.Errorf("#%d: got %v; want >= %v", i, elapsed, expectElapsedMin) 386 } else if !(elapsed <= expectElapsedMax) { 387 t.Errorf("#%d: got %v; want <= %v", i, elapsed, expectElapsedMax) 404 elapsed = time.Now().Sub(startTime) 405 if elapsed > 100*time.Millisecond { 406 t.Errorf("#%d (cancel): got %v; want <= 100ms", i, elapsed) [all...] |
/prebuilts/go/linux-x86/src/net/ |
dial_test.go | 247 elapsed := time.Now().Sub(startTime) 249 return elapsed, expected 370 elapsed := time.Since(startTime) 384 if !(elapsed >= expectElapsedMin) { 385 t.Errorf("#%d: got %v; want >= %v", i, elapsed, expectElapsedMin) 386 } else if !(elapsed <= expectElapsedMax) { 387 t.Errorf("#%d: got %v; want <= %v", i, elapsed, expectElapsedMax) 404 elapsed = time.Now().Sub(startTime) 405 if elapsed > 100*time.Millisecond { 406 t.Errorf("#%d (cancel): got %v; want <= 100ms", i, elapsed) [all...] |
/external/fio/ |
gettime.c | 241 uint64_t elapsed; local 245 elapsed = utime_since(&s, &e); 246 if (elapsed >= 1280) {
|
/external/netperf/src/ |
netlib.h | 561 extern void cpu_stop(int measure_cpu, float *elapsed); 601 extern double calc_thruput_interval(double units_received,double elapsed); 603 extern double calc_thruput_interval_omni(double units_received,double elapsed);
|
/external/v8/tools/testrunner/local/ |
progress.py | 223 elapsed = time.time() - self.start_time 232 'mins': int(elapsed) / 60, 233 'secs': int(elapsed) % 60
|