pub struct MeasureSettings {
pub stats_every: u64,
pub series_every: u64,
pub default_reducers: bool,
pub reducers: Vec<ReducerSpec>,
}Expand description
Ticks a run samples, and the values it keeps from them.
Fields§
§stats_every: u64Ticks between two samples, counted from the end of the warm-up.
series_every: u64Ticks between two rows of the series, a multiple of stats_every.
The final sample is always a row. A value of 0 keeps no series at all.
default_reducers: boolWhether every column other than a histogram bucket gets the ReducerKind::DEFAULTS reducers.
reducers: Vec<ReducerSpec>Reducers added after the defaults.
Trait Implementations§
Source§impl Clone for MeasureSettings
impl Clone for MeasureSettings
Source§impl Debug for MeasureSettings
impl Debug for MeasureSettings
Source§impl Default for MeasureSettings
impl Default for MeasureSettings
Source§impl PartialEq for MeasureSettings
impl PartialEq for MeasureSettings
impl StructuralPartialEq for MeasureSettings
Auto Trait Implementations§
impl Freeze for MeasureSettings
impl RefUnwindSafe for MeasureSettings
impl Send for MeasureSettings
impl Sync for MeasureSettings
impl Unpin for MeasureSettings
impl UnsafeUnpin for MeasureSettings
impl UnwindSafe for MeasureSettings
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