/external/python/cpython2/Doc/includes/ |
D | mp_benchmarks.py | 32 elapsed = 0 35 while elapsed < delta: 50 elapsed = _timer() - t 54 print iterations, 'objects passed through the queue in', elapsed, 'seconds' 55 print 'average number/sec:', iterations/elapsed 74 elapsed = 0 77 while elapsed < delta: 93 elapsed = _timer() - t 96 print iterations, 'objects passed through connection in',elapsed,'seconds' 97 print 'average number/sec:', iterations/elapsed [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | StopwatchTest.java | 47 assertEquals(0, unstartedStopwatch.elapsed(NANOSECONDS)); in testCreateUnstarted() 52 assertEquals(0, stopwatch.elapsed(NANOSECONDS)); in testInitialState() 101 assertEquals(0, stopwatch.elapsed(NANOSECONDS)); in testReset_new() 104 assertEquals(3, stopwatch.elapsed(NANOSECONDS)); in testReset_new() 110 assertEquals(0, stopwatch.elapsed(NANOSECONDS)); in testReset_whileRunning() 112 assertEquals(2, stopwatch.elapsed(NANOSECONDS)); in testReset_whileRunning() 116 assertEquals(0, stopwatch.elapsed(NANOSECONDS)); in testReset_whileRunning() 122 assertEquals(0, stopwatch.elapsed(NANOSECONDS)); in testElapsed_whileRunning() 125 assertEquals(345, stopwatch.elapsed(NANOSECONDS)); in testElapsed_whileRunning() 134 assertEquals(4, stopwatch.elapsed(NANOSECONDS)); in testElapsed_notRunning() [all …]
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | StopwatchTest.java | 48 assertEquals(0, unstartedStopwatch.elapsed(NANOSECONDS)); in testCreateUnstarted() 53 assertEquals(0, stopwatch.elapsed(NANOSECONDS)); in testInitialState() 102 assertEquals(0, stopwatch.elapsed(NANOSECONDS)); in testReset_new() 105 assertEquals(3, stopwatch.elapsed(NANOSECONDS)); in testReset_new() 111 assertEquals(0, stopwatch.elapsed(NANOSECONDS)); in testReset_whileRunning() 113 assertEquals(2, stopwatch.elapsed(NANOSECONDS)); in testReset_whileRunning() 117 assertEquals(0, stopwatch.elapsed(NANOSECONDS)); in testReset_whileRunning() 123 assertEquals(0, stopwatch.elapsed(NANOSECONDS)); in testElapsed_whileRunning() 126 assertEquals(345, stopwatch.elapsed(NANOSECONDS)); in testElapsed_whileRunning() 135 assertEquals(4, stopwatch.elapsed(NANOSECONDS)); in testElapsed_notRunning() [all …]
|
/external/libxkbcommon/xkbcommon/bench/ |
D | rulescomp.c | 35 struct timespec start, stop, elapsed; in main() local 52 elapsed.tv_sec = stop.tv_sec - start.tv_sec; in main() 53 elapsed.tv_nsec = stop.tv_nsec - start.tv_nsec; in main() 54 if (elapsed.tv_nsec < 0) { in main() 55 elapsed.tv_nsec += 1000000000; in main() 56 elapsed.tv_sec--; in main() 60 BENCHMARK_ITERATIONS, elapsed.tv_sec, elapsed.tv_nsec); in main()
|
D | rules.c | 36 struct timespec start, stop, elapsed; in main() local 59 elapsed.tv_sec = stop.tv_sec - start.tv_sec; in main() 60 elapsed.tv_nsec = stop.tv_nsec - start.tv_nsec; in main() 61 if (elapsed.tv_nsec < 0) { in main() 62 elapsed.tv_nsec += 1000000000; in main() 63 elapsed.tv_sec--; in main() 67 BENCHMARK_ITERATIONS, elapsed.tv_sec, elapsed.tv_nsec); in main()
|
D | compose.c | 36 struct timespec start, stop, elapsed; in main() local 64 elapsed.tv_sec = stop.tv_sec - start.tv_sec; in main() 65 elapsed.tv_nsec = stop.tv_nsec - start.tv_nsec; in main() 66 if (elapsed.tv_nsec < 0) { in main() 67 elapsed.tv_nsec += 1000000000; in main() 68 elapsed.tv_sec--; in main() 72 BENCHMARK_ITERATIONS, elapsed.tv_sec, elapsed.tv_nsec); in main()
|
D | key-proc.c | 59 struct timespec start, stop, elapsed; in main() local 80 elapsed.tv_sec = stop.tv_sec - start.tv_sec; in main() 81 elapsed.tv_nsec = stop.tv_nsec - start.tv_nsec; in main() 82 if (elapsed.tv_nsec < 0) { in main() 83 elapsed.tv_nsec += 1000000000; in main() 84 elapsed.tv_sec--; in main() 88 BENCHMARK_ITERATIONS, elapsed.tv_sec, elapsed.tv_nsec); in main()
|
/external/wayland/tests/ |
D | fixed-benchmark.c | 83 struct timespec start, stop, elapsed; in benchmark() local 89 elapsed.tv_sec = stop.tv_sec - start.tv_sec; in benchmark() 90 elapsed.tv_nsec = stop.tv_nsec - start.tv_nsec; in benchmark() 91 if (elapsed.tv_nsec < 0) { in benchmark() 92 elapsed.tv_nsec += 1000000000; in benchmark() 93 elapsed.tv_sec--; in benchmark() 96 s, elapsed.tv_sec, elapsed.tv_nsec); in benchmark()
|
/external/ImageMagick/MagickCore/ |
D | timer.c | 131 time_info->elapsed.total-=time_info->elapsed.stop- in ContinueTimer() 132 time_info->elapsed.start; in ContinueTimer() 255 return(time_info->elapsed.total); in GetElapsedTime() 354 time_info->elapsed.stop=0.0; in ResetTimer() 394 time_info->elapsed.total=0.0; in StartTimer() 398 time_info->elapsed.start=ElapsedTime(); in StartTimer() 430 time_info->elapsed.stop=ElapsedTime(); in StopTimer() 436 time_info->elapsed.total+=time_info->elapsed.stop- in StopTimer() 437 time_info->elapsed.start+MagickEpsilon; in StopTimer()
|
/external/strace/ |
D | strace-graph | 305 my $elapsed; 312 $elapsed = $pr{$pid}{end} - $pr{$pid}{start}; 313 $elapsed /= $scale_factor; 315 $elapsed = sprintf("%0.02f", $elapsed); 317 $elapsed = int $elapsed; 325 if (defined $elapsed) { 326 print "$lead [$elapsed] $pid @$argv\n"; 327 undef $elapsed;
|
/external/blktrace/ |
D | blkparse_fmt.c | 168 struct blk_io_trace *t, unsigned long long elapsed, in print_field() argument 243 if (elapsed == -1ULL) { in print_field() 247 fprintf(ofp, strcat(format, "llu"), elapsed / 1000); in print_field() 262 struct blk_io_trace *t, unsigned long long elapsed, in parse_field() argument 282 print_field(act, pci, t, elapsed, pdu_len, pdu_buf, *p++, in parse_field() 289 struct blk_io_trace *t, unsigned long long elapsed, in process_default() argument 326 if (elapsed != -1ULL) { in process_default() 330 t_sec(t), elapsed, t->error); in process_default() 334 elapsed, t->error); in process_default() 360 if (elapsed != -1ULL) { in process_default() [all …]
|
/external/v8/src/base/platform/ |
D | elapsed-timer.h | 58 TimeDelta elapsed = ticks - start_ticks_; in Restart() local 59 DCHECK_GE(elapsed.InMicroseconds(), 0); in Restart() 62 return elapsed; in Restart() 69 TimeDelta elapsed = Now() - start_ticks_; in Elapsed() local 70 DCHECK_GE(elapsed.InMicroseconds(), 0); in Elapsed() 71 return elapsed; in Elapsed()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | FadeDrawableComponent.java | 85 float elapsed = currentTime - mStartTime; in update() local 87 if (mLoopType != LOOP_TYPE_NONE && elapsed > mDuration) { in update() 89 elapsed = endTime - currentTime; in update() 98 if (elapsed > mDuration) { in update() 100 } else if (elapsed != 0.0f) { in update() 102 opacity = Lerp.lerp(mInitialOpacity, mTargetOpacity, mDuration, elapsed); in update() 104 opacity = Lerp.ease(mInitialOpacity, mTargetOpacity, mDuration, elapsed); in update()
|
/external/autotest/frontend/tko/preconfigs/metrics/ |
D | perf | 6 name[0]: kernbench (elapsed) 11 seriesFilters[0][0][condition]: = 'elapsed' 51 inverted: kernbench (elapsed) 57 name[0]: kernbench (elapsed) 62 seriesFilters[0][0][condition]: = 'elapsed' 102 inverted: kernbench (elapsed) 108 name[0]: kernbench (elapsed) 113 seriesFilters[0][0][condition]: = 'elapsed' 153 inverted: kernbench (elapsed)
|
/external/libjpeg-turbo/ |
D | tjbench.c | 147 double elapsed, elapsedDecode; in decomp() local 189 elapsed = elapsedDecode = 0.; in decomp() 218 elapsed += getTime() - start; in decomp() 221 if (elapsed >= benchTime) break; in decomp() 222 } else if (elapsed >= warmup) { in decomp() 224 elapsed = elapsedDecode = 0.; in decomp() 227 if (doYUV) elapsed -= elapsedDecode; in decomp() 234 sigfig((double)(w * h) / 1000000. * (double)iter / elapsed, 4, in decomp() 244 doYUV ? "Decomp to YUV" : "Decompress ", (double)iter / elapsed); in decomp() 246 (double)(w * h) / 1000000. * (double)iter / elapsed); in decomp() [all …]
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_windows_events.py | 119 elapsed = self.loop.time() - start 125 self.assertTrue(0.45 <= elapsed <= 0.9, elapsed) 134 elapsed = self.loop.time() - start 138 self.assertTrue(0 <= elapsed < 0.3, elapsed) 155 elapsed = self.loop.time() - start 156 self.assertTrue(0 <= elapsed < 0.1, elapsed)
|
/external/v8/benchmarks/ |
D | 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;
|
/external/webrtc/webrtc/base/ |
D | profiler.cc | 62 double elapsed = static_cast<double>(stop_time - current_start_time_) / in Stop() local 64 total_time_ += elapsed; in Stop() 66 minimum_ = maximum_ = elapsed; in Stop() 68 minimum_ = std::min(minimum_, elapsed); in Stop() 69 maximum_ = std::max(maximum_, elapsed); in Stop() 74 double delta = elapsed - mean_; in Stop() 76 sum_of_squared_differences_ += delta * (elapsed - mean_); in Stop()
|
/external/vboot_reference/utility/ |
D | tpm-dad-lock | 42 elapsed=$(( $after - $before )) 43 if [ $elapsed -gt $max ]; then 44 echo delay of $elapsed seconds after $attempts attempts 45 max=$elapsed
|
/external/python/cpython2/Lib/ |
D | telnetlib.py | 322 elapsed = time() - time_start 323 call_timeout = timeout-elapsed 333 elapsed = time() - time_start 334 if elapsed >= timeout: 336 call_timeout = timeout-elapsed 375 elapsed = time() - time_start 376 if elapsed >= timeout: 378 s_args = s_reply + (timeout-elapsed,) 693 elapsed = time() - time_start 694 call_timeout = timeout-elapsed [all …]
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/ |
D | rdtsc_buckets.cpp | 94 float percentTotal = (float)((double)bucket.elapsed / (double)threadCycles * 100.0); in PrintBucket() 97 float percentParent = (float)((double)bucket.elapsed / (double)parentCycles * 100.0); in PrintBucket() 100 uint64_t CPE = bucket.elapsed / bucket.count; in PrintBucket() 113 bucket.elapsed, in PrintBucket() 126 PrintBucket(f, level + 1, threadCycles, bucket.elapsed, child); in PrintBucket() 142 totalCycles += child.elapsed; in PrintThread()
|
/external/libjpeg-turbo/java/ |
D | TJBench.java | 168 double elapsed, elapsedDecode; in decomp() local 200 elapsed = elapsedDecode = 0.0; in decomp() 232 elapsed += getTime() - start; in decomp() 235 if (elapsed >= benchTime) in decomp() 237 } else if (elapsed >= warmup) { in decomp() 239 elapsed = elapsedDecode = 0.0; in decomp() 243 elapsed -= elapsedDecode; in decomp() 254 (double)iter / elapsed, 4), in decomp() 265 (double)iter / elapsed); in decomp() 267 (double)(w * h) / 1000000. * (double)iter / elapsed); in decomp() [all …]
|
/external/openssh/ |
D | progressmeter.c | 124 double elapsed, now; in refresh_progress_meter() local 138 elapsed = now - last_update; in refresh_progress_meter() 140 elapsed = now - start; in refresh_progress_meter() 147 if (elapsed != 0) in refresh_progress_meter() 148 cur_speed = (transferred / elapsed); in refresh_progress_meter() 193 stalled += elapsed; in refresh_progress_meter() 205 seconds = elapsed; in refresh_progress_meter()
|
/external/protobuf/benchmarks/ |
D | ProtoBench.java | 164 long elapsed = timeAction(action, iterations); in benchmark() local 165 while (elapsed < MIN_SAMPLE_TIME_MS) { in benchmark() 167 elapsed = timeAction(action, iterations); in benchmark() 172 iterations = (int) ((TARGET_TIME_MS / (double) elapsed) * iterations); in benchmark() 173 elapsed = timeAction(action, iterations); in benchmark() 175 + (elapsed/1000f) + "s; " in benchmark() 176 + (iterations * dataSize) / (elapsed * 1024 * 1024 / 1000f) in benchmark()
|
/external/autotest/client/tools/ |
D | avgtime | 23 (user, system, elapsed, cpu) = line.split()[0:4] 26 m = re.match(r'(\d+):([\d\.]+)', elapsed) 27 elapsed = 60*int(m.group(1)) + float(m.group(2)) variable 30 list.append((user, system, elapsed, cpu))
|