[−][src]Struct streaming_harness_hdrhist::HDRHist
Methods
impl HDRHist
[src]
impl HDRHist
[src]
pub fn new() -> Self
[src]
New HDRHist
pub fn ccdf<'a>(
&'a self
) -> impl Iterator<Item = (u64, f64, u64)> + 'a
[src]
&'a self
) -> impl Iterator<Item = (u64, f64, u64)> + 'a
Output the complementary cumulative distribution function (ccdf) of the samples
Returns an iterator over increasing sample values such that, for every triple
(value, prob, count)
, prob
is the ratio of samples >= value
, and
count
is the number of samples >= the current value
and < the next value
.
pub fn ccdf_upper_bound<'a>(
&'a self
) -> impl Iterator<Item = (u64, f64)> + 'a
[src]
&'a self
) -> impl Iterator<Item = (u64, f64)> + 'a
pub fn ccdf_lower_bound<'a>(
&'a self
) -> impl Iterator<Item = (u64, f64)> + 'a
[src]
&'a self
) -> impl Iterator<Item = (u64, f64)> + 'a
pub fn quantiles<'a>(
&'a self,
quantiles: impl Iterator<Item = f64> + 'a
) -> impl Iterator<Item = (f64, u64, u64)> + 'a
[src]
&'a self,
quantiles: impl Iterator<Item = f64> + 'a
) -> impl Iterator<Item = (f64, u64, u64)> + 'a
Output estimated quantiles as (quantile, lower_bound, upper_bound) pairs
Each quantile's value is somewhere >= lower_bound and < upper_bound
pub fn summary<'a>(
&'a self
) -> impl Iterator<Item = (f64, u64, u64)> + 'a
[src]
&'a self
) -> impl Iterator<Item = (f64, u64, u64)> + 'a
Output a summary of estimated quantiles
pub fn summary_string(&self) -> String
[src]
Output a text summary of estimated quantiles
Trait Implementations
impl Clone for HDRHist
[src]
fn clone(&self) -> HDRHist
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for HDRHist
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,