/// Return a probablistic lower bound on the minimum duration.
///
/// Returns the current minimum scaled by `(1 - 1 / sqrt(n))`. As the number
/// of samples goes to infinity, the returned value goes to the minimum.
Return a probablistic lower bound on the minimum duration.
Returns the current minimum scaled by `(1 - 1 / sqrt(n))`. As the number
of samples goes to infinity, the returned value goes to the minimum.
Return a probablistic lower bound on the minimum duration . Returns the current minimum scaled by ` ( 1 - 1 / sqrt ( n )) ` . As the number of samples goes to infinity the returned value goes to the minimum .
fn estimate_lower_bound_ns(&self) -> f64 {
        let duration_ns
            = self.min_duration.subsec_nanos() as f64
            + (self.min_duration.as_secs() as f64) * 1e-9;
        match self.num_samples {
            0 => 0.0,
            n => duration_ns * (1.0 - (n as f64).sqrt().recip())
        }
    }
fn estimate_lower_bound_ns ( & self ) -> f64 { let duration_ns = self . min_duration . subsec_nanos ( ) as f64 + ( self . min_duration . as_secs ( ) as f64 ) * 1e-9 ; match self . num_samples { 0 => 0.0 , n => duration_ns * ( 1.0 - ( n as f64 ) . sqrt ( ) . recip ( ) ) } }
Return a probablistic lower bound on the minimum duration.
Return a probablistic lower bound on the minimum duration .
&self