Struct streaming_harness_hdrhist::HDRHist [−][src]
pub struct HDRHist { /* fields omitted */ }
Methods
impl HDRHist
[src]
impl HDRHist
impl HDRHist
[src]
impl HDRHist
pub fn new() -> Self
[src]
pub fn new() -> Self
New HDRHist
pub fn ccdf<'a>(
&'a self
) -> impl Iterator<Item = (u64, f64, u64)> + 'a
[src]
pub fn ccdf<'a>(
&'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 nubmer of samples >= the previous value
and < the current value
.
pub fn summary<'a>(
&'a self
) -> impl Iterator<Item = (f64, u64)> + 'a
[src]
pub fn summary<'a>(
&'a self
) -> impl Iterator<Item = (f64, u64)> + 'a
Output a summary of the samples' cdf as (quantile, value) pairs
Quantiles are estimated
pub fn summary_string(&self) -> String
[src]
pub fn summary_string(&self) -> String
Output a summary of the samples' cdf as (quantile, value) pairs
Quantiles are estimated
Trait Implementations
impl Clone for HDRHist
[src]
impl Clone for HDRHist
fn clone(&self) -> HDRHist
[src]
fn clone(&self) -> HDRHist
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for HDRHist
[src]
impl Debug for HDRHist