pub struct IterationStats {
pub min_ms: f64,
pub max_ms: f64,
pub mean_ms: f64,
pub p50_ms: f64,
pub p95_ms: f64,
pub p99_ms: f64,
}Expand description
Per-iteration wall-clock stats in milliseconds.
Fields§
§min_ms: f64§max_ms: f64§mean_ms: f64§p50_ms: f64§p95_ms: f64§p99_ms: f64Implementations§
Source§impl IterationStats
impl IterationStats
pub fn from_samples(samples: &[f64]) -> Self
Trait Implementations§
Source§impl Clone for IterationStats
impl Clone for IterationStats
Source§fn clone(&self) -> IterationStats
fn clone(&self) -> IterationStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IterationStats
impl Debug for IterationStats
Source§impl<'de> Deserialize<'de> for IterationStats
impl<'de> Deserialize<'de> for IterationStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IterationStats
impl RefUnwindSafe for IterationStats
impl Send for IterationStats
impl Sync for IterationStats
impl Unpin for IterationStats
impl UnsafeUnpin for IterationStats
impl UnwindSafe for IterationStats
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