pub struct Options {
pub iterations: u64,
pub warmup_iterations: u64,
pub min_samples: usize,
pub max_samples: usize,
pub max_rsd: f64,
pub max_duration: Option<Duration>,
pub verbose: bool,
}
Expand description
Options.
Fields§
§iterations: u64
Number of iterations to perform.
warmup_iterations: u64
Number of warm-up iterations to perform.
min_samples: usize
Minimum number of samples to collect.
max_samples: usize
Maximum number of samples to collect.
max_rsd: f64
Maximum RSD to tolerate (in 0…100).
max_duration: Option<Duration>
Maximum benchmark duration time.
verbose: bool
Verbose output
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)