pub struct LatencyHistogram { /* private fields */ }Expand description
A simple fixed-bucket latency histogram.
Bucket upper bounds are inclusive (i.e., a sample of exactly 1 ms falls into bucket 0). Bucket index mapping:
- 0: ≤ 1 ms
- 1: 2 – 5 ms
- 2: 6 – 10 ms
- 3: 11 – 50 ms
- 4: 51 – 100 ms
- 5: 101 – 500 ms
- 6: > 500 ms
Implementations§
Trait Implementations§
Source§impl Debug for LatencyHistogram
impl Debug for LatencyHistogram
Auto Trait Implementations§
impl !Freeze for LatencyHistogram
impl RefUnwindSafe for LatencyHistogram
impl Send for LatencyHistogram
impl Sync for LatencyHistogram
impl Unpin for LatencyHistogram
impl UnsafeUnpin for LatencyHistogram
impl UnwindSafe for LatencyHistogram
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