Searched refs:target_time (Results 1 – 7 of 7) sorted by relevance
/external/webrtc/test/time_controller/ |
D | simulated_time_controller.cc | 147 void SimulatedTimeControllerImpl::AdvanceTime(Timestamp target_time) { in AdvanceTime() argument 149 RTC_DCHECK_GE(target_time, current_time_); in AdvanceTime() 150 current_time_ = target_time; in AdvanceTime() 213 Timestamp target_time = current_time + duration; in AdvanceTime() local 215 while (current_time < target_time) { in AdvanceTime() 217 Timestamp next_time = std::min(impl_.NextRunTime(), target_time); in AdvanceTime()
|
D | simulated_task_queue.cc | 82 Timestamp target_time = in PostDelayedTask() local 84 delayed_tasks_[target_time].push_back(std::move(task)); in PostDelayedTask() 85 next_run_time_ = std::min(next_run_time_, target_time); in PostDelayedTask()
|
D | simulated_process_thread.cc | 176 Timestamp target_time = in PostDelayedTask() local 178 delayed_tasks_[target_time].push_back(std::move(task)); in PostDelayedTask() 179 next_run_time_ = std::min(next_run_time_, target_time); in PostDelayedTask()
|
D | simulated_time_controller.h | 78 void AdvanceTime(Timestamp target_time) RTC_LOCKS_EXCLUDED(time_lock_);
|
/external/autotest/client/tests/uptime/ |
D | control | 11 until total elapsed time of the test reaches T=target_time 17 def uptime_test(cycle_length = 300, target_time = 3*60*60): 20 while time.time() < test_started + target_time:
|
/external/rust/crates/criterion/src/ |
D | lib.rs | 1424 target_time: f64, in choose_sampling_mode() 1433 (target_time / warmup_mean_execution_time / total_runs as f64).ceil() as u64; in choose_sampling_mode() 1436 if expected_ns > (2.0 * target_time) { in choose_sampling_mode() 1457 target_time: &Duration, in iteration_counts() 1463 let m_ns = target_time.to_nanos(); in iteration_counts() 1474 n, target_time, actual_time); in iteration_counts() 1491 let m_ns = target_time.to_nanos() as f64; in iteration_counts() 1503 n, target_time, actual_time); in iteration_counts() 1524 fn recommend_linear_sample_size(target_time: f64, met: f64) -> u64 { in recommend_linear_sample_size() 1532 let c = target_time / met; in recommend_linear_sample_size() [all …]
|
/external/libevent/test/ |
D | regress_thread.c | 351 struct timeval target_time, actual_delay; in thread_conditions_simple() local 377 evutil_timeradd(target_delay, &launched_at, &target_time); in thread_conditions_simple() 378 test_timeval_diff_leq(&target_time, &alerted[i].alerted_at, in thread_conditions_simple()
|