Searched refs:elapsed (Results 1 – 13 of 13) sorted by relevance
/system/netd/libnetdutils/include/netdutils/ |
D | Stopwatch.h | 37 int64_t elapsed = getElapsedUs(now); in getTimeAndResetUs() local 39 return elapsed; in getTimeAndResetUs()
|
/system/extras/tests/tcp_nuke_addr/ |
D | tcp_nuke_addr_test.cpp | 116 uint32_t elapsed = 0; in progressThread() local 120 elapsed++; in progressThread() 122 printf("%ds: %u cps, total %u\n", elapsed, total-previous, total); in progressThread()
|
/system/bt/gd/rust/common/src/ |
D | time.rs | 97 assert_near!(timer.elapsed().as_millis(), 10, 3); in alarm_simple_case() 118 assert_near!(timer.elapsed().as_millis(), 20, 3); in alarm_clear_ready_after_expired() 140 assert_near!(timer.elapsed().as_millis(), 10 * n, 3); in interval_simple_case()
|
/system/security/keystore2/src/ |
D | watchdog.rs | 101 if self.last_report.elapsed() < Watchdog::NOISY_REPORT_TIMEOUT { in log_report() 125 r.started.elapsed(), in log_report() 126 r.deadline.elapsed(), in log_report() 135 r.started.elapsed(), in log_report() 136 r.deadline.elapsed() in log_report()
|
D | apc.rs | 151 let elapsed = self.timestamp.elapsed(); in get_remaining_back_off() localVariable 156 back_off.checked_sub(elapsed) in get_remaining_back_off()
|
D | id_rotation.rs | 56 .elapsed() in had_factory_reset_since_id_rotation()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapuserd_client.cpp | 77 auto elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start); in Connect() local 78 if (elapsed >= timeout_ms) { in Connect()
|
D | snapshot.cpp | 3739 auto elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start); in DeleteDeviceIfExists() local 3740 if (elapsed >= timeout_ms) { in DeleteDeviceIfExists()
|
/system/core/fs_mgr/ |
D | file_wait.cpp | 210 auto elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(remaining); in RemainingMs() local 211 return (relative_timeout_ - elapsed).count(); in RemainingMs()
|
/system/extras/profcollectd/libprofcollectd/ |
D | service.rs | 176 let report_age = report_ts.unwrap().elapsed()?; in new()
|
/system/core/fastboot/fuzzy_fastboot/ |
D | main.cpp | 879 std::chrono::duration<double> elapsed; in TEST_F() local 887 elapsed = std::chrono::high_resolution_clock::now() - start; in TEST_F() 888 } while (i++, elapsed.count() < 5); in TEST_F() 984 std::chrono::duration<double> elapsed; in TEST_F() local 988 elapsed = std::chrono::high_resolution_clock::now() - start; in TEST_F() 989 } while (i++, elapsed.count() < 5); in TEST_F() 997 std::chrono::duration<double> elapsed; in TEST_F() local 1004 elapsed = std::chrono::high_resolution_clock::now() - start; in TEST_F() 1005 } while (elapsed.count() < 10); in TEST_F()
|
/system/vold/bench/inodeop_bench/ |
D | inodeop_bench.cpp | 58 auto elapsed = std::chrono::steady_clock::now() - reset_time; in collect_metric() local 59 metrics.emplace_back(workload, std::chrono::duration_cast<time_unit>(elapsed)); in collect_metric()
|
/system/core/fs_mgr/libfiemap/ |
D | image_manager.cpp | 477 auto elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); in MapWithLoopDevice() local 480 if (!CreateLoopDevice(control, file, timeout_ms - elapsed, &loop_device)) { in MapWithLoopDevice()
|