/third_party/benchmark/test/ |
H A D | benchmark_test.cc | 201 auto elapsed = in BM_ManualTiming() local 204 state.SetIterationTime(elapsed.count()); in BM_ManualTiming()
|
/third_party/ninja/src/ |
H A D | status.cc | 139 // Given the time elapsed on the edges we've just run,
in RecalculateProgressPrediction() 177 int64_t elapsed = end_time_millis - start_time_millis;
178 cpu_time_millis_ += elapsed;
342 case 'e': // elapsed, seconds
in FormatProgressStatus() 343 case 'w': // elapsed, human-readable
in FormatProgressStatus() 363 case 'e': // elapsed, seconds
in FormatProgressStatus() 364 case 'w': // elapsed, human-readable
in FormatProgressStatus() 377 case 'e': // elapsed, seconds
in FormatProgressStatus() 381 case 'w': // elapsed, human-readable
in FormatProgressStatus()
|
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_ir_performance.cpp | 1607 unsigned elapsed = 0; in calculate_performance() local 1611 const unsigned elapsed0 = elapsed; in calculate_performance() 1621 elapsed += (st.unit_ready[EU_UNIT_FE] - clock0) * st.weight; in calculate_performance() 1631 p.block_latency[block->num] = elapsed - elapsed0; in calculate_performance() 1634 p.latency = elapsed; in calculate_performance() 1635 p.throughput = dispatch_width * calculate_thread_throughput(st, elapsed); in calculate_performance()
|
/third_party/skia/bench/ |
H A D | nanobench.cpp | 294 double elapsed = now_ms() - start; in time() local 296 return elapsed; in time() 412 double elapsed = 0; in setup_gpu_bench() local 423 elapsed = time(loops, bench, target); in setup_gpu_bench() 425 } while (elapsed < FLAGS_gpuMs); in setup_gpu_bench() 428 loops = (int)ceil(loops * FLAGS_gpuMs / elapsed); in setup_gpu_bench()
|
/third_party/python/Lib/test/ |
H A D | _test_multiprocessing.py | 181 self.elapsed = None 188 self.elapsed = time.monotonic() - t 465 self.assertTimingAlmostEqual(join.elapsed, 0.0) 469 self.assertTimingAlmostEqual(join.elapsed, 0.0) 492 self.assertTimingAlmostEqual(join.elapsed, 0.0) 1000 self.assertTimingAlmostEqual(put.elapsed, 0) 1003 self.assertTimingAlmostEqual(put.elapsed, 0) 1006 self.assertTimingAlmostEqual(put_nowait.elapsed, 0) 1009 self.assertTimingAlmostEqual(put.elapsed, TIMEOUT1) 1012 self.assertTimingAlmostEqual(put.elapsed, [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | fifo.c | 626 int64_t elapsed = 0; in fifo_write_trailer() local 637 elapsed += delay; in fifo_write_trailer() 638 if (elapsed > fifo->timeshift) in fifo_write_trailer()
|
/third_party/node/deps/v8/src/base/platform/ |
H A D | time.cc | 128 // microsecond if the early return is not taken -- the elapsed time can't 311 // time change or the amount of time elapsed. in Now() 312 TimeDelta elapsed = ticks - initial_ticks_; in Now() local 313 if (time < initial_time_ || elapsed > kMaxElapsedTime) { in Now() 319 return initial_time_ + elapsed; in Now() 867 // Make sure that at least 50 ms elapsed between the 2 readings. The first in TSCTicksPerSecond() 869 // Note: The longer the elapsed time between the 2 readings is, the more in TSCTicksPerSecond()
|
H A D | platform-win32.cc | 373 // Check if we need to resync due to elapsed time. in SetToCurrentTime() 387 DWORD elapsed = ticks_now - init_ticks; in SetToCurrentTime() 388 this->time_.t_ = init_time.t_ + (static_cast<int64_t>(elapsed) * 10000); in SetToCurrentTime()
|
/third_party/skia/modules/skottie/src/ |
H A D | SkottieTool.cpp | 326 const auto elapsed = std::chrono::steady_clock::now() - start; in main() 327 return std::chrono::duration_cast<std::chrono::milliseconds>(elapsed).count(); in main()
|
/base/security/code_signature/services/key_enable/src/ |
H A D | key_enable.rs | 196 } else if start_time.elapsed() >= Duration::from_secs(PROFILE_SEARCH_SLEEP_OUT_TIME) {
in add_profile_cert_path_thread()
|
/base/hiviewdfx/faultloggerd/test/unittest/unwind/ |
H A D | unwinder_test.cpp | 502 time_t elapsed = counter.Elapsed(); in HWTEST_F() local 503 GTEST_LOG_(INFO) << "StepTest003: Elapsed: " << elapsed; in HWTEST_F() 556 time_t elapsed = counter.Elapsed(); in HWTEST_F() local 557 GTEST_LOG_(INFO) << "StepTest004: Elapsed: " << elapsed; in HWTEST_F()
|
/third_party/ltp/lib/ |
H A D | tst_test.c | 1529 int elapsed; in tst_remaining_runtime() local 1540 elapsed = tst_timespec_diff_ms(now, tst_start_time) / 1000; in tst_remaining_runtime() 1541 if (results->max_runtime > elapsed) in tst_remaining_runtime() 1542 return results->max_runtime - elapsed; in tst_remaining_runtime()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_bufmgr.c | 748 double elapsed = unlikely(busy) ? -get_time() : 0.0; in bo_wait_with_stall_warning() local 753 elapsed += get_time(); in bo_wait_with_stall_warning() 754 if (elapsed > 1e-5) /* 0.01ms */ { in bo_wait_with_stall_warning() 756 action, bo->name, elapsed * 1000); in bo_wait_with_stall_warning()
|
/third_party/skia/tools/fm/ |
H A D | fm.cpp | 677 const auto elapsed = std::chrono::steady_clock::now() - start; in main() 681 (int)std::chrono::duration_cast<std::chrono::milliseconds>(elapsed).count()); in main()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
H A D | nanobenchmark.cc | 170 // regions' elapsed times are independent of such reordering. The only 175 // elapsed time, it must not be included in the region to measure (i.e. 182 // elapsed time. Inserting another fence after the final RDTSCP would prevent 557 // on failure (e.g. the elapsed time is too long for a 32-bit tick count). 560 // Min elapsed ticks for any input. in NumSkip() 568 const uint64_t elapsed = t1 - t0; in NumSkip() local 569 if (elapsed >= (1ULL << 30)) { in NumSkip() 657 // Returns total ticks elapsed for all inputs.
|
/foundation/graphic/graphic_3d/lume/metaobject/src/ |
H A D | object_registry.cpp | 50 auto elapsed = std::chrono::high_resolution_clock::now(); in GenerateInstanceId() local 51 auto high = std::chrono::duration_cast<std::chrono::nanoseconds>(elapsed.time_since_epoch()).count(); in GenerateInstanceId()
|
/third_party/node/deps/v8/src/inspector/ |
H A D | v8-console-message.cc | 636 double elapsed = m_inspector->client()->currentTimeMS() - it->second; in timeEnd() local 638 return elapsed; in timeEnd()
|
H A D | v8-console.cc | 430 double elapsed; in timeEndFunction() local 432 elapsed = in timeEndFunction() 435 elapsed = in timeEndFunction() 439 protocolTitle + ": " + String16::fromDouble(elapsed) + " ms"; in timeEndFunction()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_bufmgr.c | 1508 double elapsed = unlikely(busy) ? -get_time() : 0.0; in bo_wait_with_stall_warning() local 1513 elapsed += get_time(); in bo_wait_with_stall_warning() 1514 if (elapsed > 1e-5) /* 0.01ms */ { in bo_wait_with_stall_warning() 1516 action, bo->name, elapsed * 1000); in bo_wait_with_stall_warning()
|
/third_party/googletest/googletest/include/gtest/ |
H A D | gtest.h | 129 // This flags control whether Google Test prints the elapsed time for each 437 // Returns the elapsed time, in milliseconds. 477 // Sets the elapsed time. 478 void set_elapsed_time(TimeInMillis elapsed) { elapsed_time_ = elapsed; } in set_elapsed_time() argument 522 // The elapsed time, in milliseconds. 746 // Returns the elapsed time, in milliseconds. 1209 // Gets the elapsed time, in milliseconds.
|
/third_party/node/deps/googletest/include/gtest/ |
H A D | gtest.h | 119 // This flags control whether Google Test prints the elapsed time for each 429 // Returns the elapsed time, in milliseconds. 469 // Sets the elapsed time. 470 void set_elapsed_time(TimeInMillis elapsed) { elapsed_time_ = elapsed; } in set_elapsed_time() argument 514 // The elapsed time, in milliseconds. 738 // Returns the elapsed time, in milliseconds. 1204 // Gets the elapsed time, in milliseconds.
|
/third_party/mesa3d/src/gtest/include/gtest/ |
H A D | gtest.h | 120 // This flags control whether Google Test prints the elapsed time for each 592 // Returns the elapsed time, in milliseconds. 632 // Sets the elapsed time. 633 void set_elapsed_time(TimeInMillis elapsed) { elapsed_time_ = elapsed; } in set_elapsed_time() argument 677 // The elapsed time, in milliseconds. 894 // Returns the elapsed time, in milliseconds. 1349 // Gets the elapsed time, in milliseconds.
|
/third_party/node/tools/ |
H A D | test.py | 489 elapsed = time.time() - self.start_time 495 'mins': int(elapsed) / 60, 496 'secs': int(elapsed) % 60
|
/third_party/backends/backend/ |
H A D | pieusb_specific.c | 2320 time_t start, elapsed; in sanei_pieusb_wait_ready() local 2339 elapsed = time(NULL) - start; in sanei_pieusb_wait_ready() 2340 if (elapsed > 120) { /* 2 minute overall timeout */ in sanei_pieusb_wait_ready() 2344 if (elapsed % 2) { in sanei_pieusb_wait_ready()
|
H A D | umax_pp_low.c | 1310 /* delay elapsed ? */ in sanei_umax_pp_scannerStatus() 8848 float elapsed; in cmdGetBlockBuffer() local 8906 elapsed = in cmdGetBlockBuffer() 8909 if (elapsed > 3) in cmdGetBlockBuffer() 8914 elapsed, reg, __FILE__, __LINE__); in cmdGetBlockBuffer() 8965 elapsed = in cmdGetBlockBuffer() 8968 if (elapsed > 3) in cmdGetBlockBuffer() 8973 elapsed, reg, __FILE__, __LINE__); in cmdGetBlockBuffer() 10214 float elapsed; in sanei_umax_pp_scan() local 10490 elapsed in sanei_umax_pp_scan() [all...] |