[−][src]Struct hdrhistogram::iterators::IterationValue
The value emitted at each step when iterating over a Histogram
.
Methods
impl<T: Counter> IterationValue<T>
[src]
pub fn new(
value_iterated_to: u64,
quantile: f64,
quantile_iterated_to: f64,
count_at_value: T,
count_since_last_iteration: u64
) -> IterationValue<T>
[src]
value_iterated_to: u64,
quantile: f64,
quantile_iterated_to: f64,
count_at_value: T,
count_since_last_iteration: u64
) -> IterationValue<T>
Create a new IterationValue.
pub fn value_iterated_to(&self) -> u64
[src]
The value iterated to. Some iterators provide a specific value inside the bucket, while others just use the highest value in the bucket.
pub fn percentile(&self) -> f64
[src]
Percent of recorded values that are at or below the current bucket.
This is simply the quantile multiplied by 100.0, so if you care about maintaining the best
floating-point precision, use quantile()
instead.
pub fn quantile(&self) -> f64
[src]
Quantile of recorded values that are at or below the current bucket.
pub fn quantile_iterated_to(&self) -> f64
[src]
Quantile iterated to, which may be different than quantile()
when an iterator provides
information about the specific quantile it's iterating to.
pub fn count_at_value(&self) -> T
[src]
Recorded count for values equivalent to value
pub fn count_since_last_iteration(&self) -> u64
[src]
Number of values traversed since the last iteration step
Trait Implementations
impl<T: PartialEq + Counter> PartialEq<IterationValue<T>> for IterationValue<T>
[src]
fn eq(&self, other: &IterationValue<T>) -> bool
[src]
fn ne(&self, other: &IterationValue<T>) -> bool
[src]
impl<T: Debug + Counter> Debug for IterationValue<T>
[src]
Auto Trait Implementations
impl<T> Send for IterationValue<T> where
T: Send,
T: Send,
impl<T> Sync for IterationValue<T> where
T: Sync,
T: Sync,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,