Home
last modified time | relevance | path

Searched refs:measurement_time (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/criterion/src/
Dbenchmark.rs19 pub measurement_time: Duration, field
32 pub(crate) measurement_time: Option<Duration>, field
46 measurement_time: None, in default()
62 measurement_time: self.measurement_time.unwrap_or(defaults.measurement_time), in to_complete()
148 pub fn measurement_time(mut self, dur: Duration) -> Self {
151 self.config.measurement_time = Some(dur);
Dconnection.rs336 measurement_time: Duration, field
347 measurement_time: other.measurement_time.into(), in from()
Droutine.rs92 let m_ns = config.measurement_time.to_nanos(); in sample()
125 let m_iters = actual_sampling_mode.iteration_counts(met, n, &config.measurement_time); in sample()
Dbenchmark_group.rs127 pub fn measurement_time(&mut self, dur: Duration) -> &mut Self { in measurement_time() method
130 self.partial_config.measurement_time = Some(dur); in measurement_time()
Dlib.rs426 measurement_time: Duration::new(5, 0), in default()
546 pub fn measurement_time(mut self, dur: Duration) -> Criterion<M> { in measurement_time() method
549 self.config.measurement_time = dur; in measurement_time()
796 …he default measurement time for this run. [default: {}]", self.config.measurement_time.as_secs()))) in configure_from_args()
1017 self.config.measurement_time = dur; in configure_from_args()
/external/rust/crates/criterion/tests/
Dcriterion_tests.rs34 .measurement_time(Duration::from_millis(500)) in short_benchmark()
235 .measurement_time(Duration::from_millis(100)) in test_measurement_time()
241 .measurement_time(Duration::from_millis(2000)) in test_measurement_time()