pub struct IntervalStats {
pub min: u64,
pub max: u64,
pub mean: u64,
pub p50: u64,
pub p99: u64,
pub p999: u64,
}Expand description
Exact interval statistics over the current window (nanosecond resolution). All zeros for an empty ring. REQ-CLK-006.
Fields§
§min: u64Smallest sample in the window.
max: u64Largest sample in the window.
mean: u64Arithmetic mean, integer floor.
p50: u6450th percentile (nearest rank).
p99: u6499th percentile (nearest rank).
p999: u6499.9th percentile (nearest rank).
Trait Implementations§
Source§impl Clone for IntervalStats
impl Clone for IntervalStats
impl Copy for IntervalStats
Source§impl Debug for IntervalStats
impl Debug for IntervalStats
Source§impl Default for IntervalStats
impl Default for IntervalStats
impl Eq for IntervalStats
Source§impl Hash for IntervalStats
impl Hash for IntervalStats
Source§impl PartialEq for IntervalStats
impl PartialEq for IntervalStats
impl StructuralPartialEq for IntervalStats
Auto Trait Implementations§
impl Freeze for IntervalStats
impl RefUnwindSafe for IntervalStats
impl Send for IntervalStats
impl Sync for IntervalStats
impl Unpin for IntervalStats
impl UnsafeUnpin for IntervalStats
impl UnwindSafe for IntervalStats
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