Lines Matching full:variance
168 uint64_t sum, variance; in get_typical_interval() local
200 /* Then try to determine variance */ in get_typical_interval()
201 variance = 0; in get_typical_interval()
206 variance += diff * diff; in get_typical_interval()
210 variance >>= INTERVAL_SHIFT; in get_typical_interval()
212 do_div(variance, divisor); in get_typical_interval()
216 * small (stddev <= 20 us, variance <= 400 us^2) or standard in get_typical_interval()
218 * 6*stddev, avg^2 > 36*variance). The average is smaller than in get_typical_interval()
226 if (likely(variance <= U64_MAX/36)) { in get_typical_interval()
227 if ((((u64)avg*avg > variance*36) && (divisor * 4 >= INTERVALS * 3)) in get_typical_interval()
228 || variance <= 400) { in get_typical_interval()