Lines Matching refs:target_time
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()
1547 fn recommend_flat_sample_size(target_time: f64, met: f64) -> u64 { in recommend_flat_sample_size()
1548 let sample_size = (target_time / met) as u64; in recommend_flat_sample_size()