Home
last modified time | relevance | path

Searched refs:ActualSamplingMode (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/criterion/src/
Dlib.rs1425 ) -> ActualSamplingMode { in choose_sampling_mode() argument
1427 SamplingMode::Linear => ActualSamplingMode::Linear, in choose_sampling_mode()
1428 SamplingMode::Flat => ActualSamplingMode::Flat, in choose_sampling_mode()
1437 ActualSamplingMode::Flat in choose_sampling_mode()
1439 ActualSamplingMode::Linear in choose_sampling_mode()
1448 pub(crate) enum ActualSamplingMode { enum
1452 impl ActualSamplingMode { impl
1460 ActualSamplingMode::Linear => { in iteration_counts()
1471 ActualSamplingMode::recommend_linear_sample_size(m_ns as f64, met); in iteration_counts()
1488 ActualSamplingMode::Flat => { in iteration_counts()
[all …]
Dconnection.rs363 impl From<crate::ActualSamplingMode> for SamplingMethod {
364 fn from(other: crate::ActualSamplingMode) -> Self { in from()
366 crate::ActualSamplingMode::Flat => SamplingMethod::Flat, in from()
367 crate::ActualSamplingMode::Linear => SamplingMethod::Linear, in from()
Droutine.rs5 use crate::{ActualSamplingMode, Bencher, Criterion, DurationExt};
90 ) -> (ActualSamplingMode, Box<[f64]>, Box<[f64]>) { in sample() argument