Struct staccato::StatisticsBundle[][src]

pub struct StatisticsBundle { /* fields omitted */ }

Methods

impl StatisticsBundle
[src]

Create a statistics bundle from a sequence of values.

Note that as opposed to the with_percentiles method, there is no requirement that these values are sorted.

This method returns None if the sequence of values is empty.

Create a statistics bundle from a sorted sequence of values and a sequence of percentiles.

The values must be sorted or the statistics will be incorrect.

This method returns None if the sequence of values is empty. Additionally, if there are not enough values to create all the desired percentile slices (e.g. 90th percentile for a series of only 7 values) the slices without enough values will be omitted.

Trait Implementations

impl Debug for StatisticsBundle
[src]

Formats the value using the given formatter. Read more

impl Clone for StatisticsBundle
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations