pub struct PhaseStats {
pub count: usize,
pub min_ns: i64,
pub max_ns: i64,
pub mean_ns: f64,
pub p50_ns: i64,
pub p95_ns: i64,
pub p99_ns: i64,
}Expand description
Per-phase statistics snapshot.
Fields§
§count: usizeNumber of samples recorded.
min_ns: i64Minimum observed latency (ns).
max_ns: i64Maximum observed latency (ns).
mean_ns: f64Approximate mean latency (ns).
p50_ns: i6450th percentile (median) latency (ns).
p95_ns: i6495th percentile latency (ns).
p99_ns: i6499th percentile latency (ns).
Trait Implementations§
Source§impl Clone for PhaseStats
impl Clone for PhaseStats
Source§impl Debug for PhaseStats
impl Debug for PhaseStats
Source§impl<'de> Deserialize<'de> for PhaseStats
impl<'de> Deserialize<'de> for PhaseStats
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 PhaseStats
impl RefUnwindSafe for PhaseStats
impl Send for PhaseStats
impl Sync for PhaseStats
impl Unpin for PhaseStats
impl UnsafeUnpin for PhaseStats
impl UnwindSafe for PhaseStats
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