Lines Matching defs:mean
1704 // Returns percentage of number of samples within mean +/- sd.
1705 double within_sd(const std::vector<double> &samples, double mean, double sd) {
1709 auto lower = mean - sd;
1710 auto upper = mean + sd;
1719 // Computes statistics using |samples|. The min, max, mean, sd, and
1720 // percentage of number of samples within mean +/- sd are computed.
1747 res.mean = sum / n;
1749 res.within_sd = within_sd(samples, res.mean, res.sd);
3291 << R"( min max mean sd +/- sd
3295 << std::setw(10) << util::format_duration(ts.request.mean) << " "
3301 << util::format_duration(ts.connect.mean) << " " << std::setw(10)
3307 << util::format_duration(ts.ttfb.mean) << " " << std::setw(10)
3311 << std::setw(10) << ts.rps.max << " " << std::setw(10) << ts.rps.mean