pub fn iter_split_times_at_percentile(
        &self,
        percentile: f64,
        offset: TimeSpan,
    ) -> impl Iterator<Item = TimeSpan> + '_ {
        let mut sum = offset;
        self.iter_segment_times_at_percentile(percentile)
            .map(move |segment_time| {
                sum += segment_time;
                sum
            })
    }
/// This function returns an iterator that iterates over each segment and
/// yields their split times for the percentile specified. A percentile of 0
/// yields the fastest times, while a percentile of 1 yields the slowest
/// times. The offset provided is the initial split time going into the
/// first segment. This is only relevant when the segments don't represent
/// the beginning of the run.
This function returns an iterator that iterates over each segment and
yields their split times for the percentile specified. A percentile of 0
yields the fastest times, while a percentile of 1 yields the slowest
times. The offset provided is the initial split time going into the
first segment. This is only relevant when the segments don't represent
the beginning of the run.
This function returns an iterator that iterates over each segment and yields their split times for the percentile specified . A percentile of 0 yields the fastest times while a percentile of 1 yields the slowest times . The offset provided is the initial split time going into the first segment . This is only relevant when the segments don ' t represent the beginning of the run .
pub fn iter_split_times_at_percentile(
        &self,
        percentile: f64,
        offset: TimeSpan,
    ) -> impl Iterator<Item = TimeSpan> + '_ {
        let mut sum = offset;
        self.iter_segment_times_at_percentile(percentile)
            .map(move |segment_time| {
                sum += segment_time;
                sum
            })
    }
pub fn iter_split_times_at_percentile ( & self , percentile : f64 , offset : TimeSpan , ) -> impl Iterator < Item = TimeSpan > + ' _ { let mut sum = offset ; self . iter_segment_times_at_percentile ( percentile ) . map ( move | segment_time | { sum += segment_time ; sum } ) }
This function returns an iterator that iterates over each segment and
yields their split times for the percentile specified.
This function returns an iterator that iterates over each segment and yields their split times for the percentile specified .
&self
percentile
f64
offset
TimeSpan
&self
percentile
f64
offset
TimeSpan