reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
237 assert(!Timings.empty()); 239 R.Sum = std::accumulate(Timings.begin(), Timings.end(), 0.0); 239 R.Sum = std::accumulate(Timings.begin(), Timings.end(), 0.0); 240 auto MinMax = std::minmax_element(Timings.begin(), Timings.end()); 240 auto MinMax = std::minmax_element(Timings.begin(), Timings.end()); 243 R.Count = Timings.size(); 245 auto MedianOff = Timings.size() / 2; 246 std::nth_element(Timings.begin(), Timings.begin() + MedianOff, Timings.end()); 246 std::nth_element(Timings.begin(), Timings.begin() + MedianOff, Timings.end()); 246 std::nth_element(Timings.begin(), Timings.begin() + MedianOff, Timings.end()); 247 R.Median = Timings[MedianOff]; 249 auto Pct90Off = std::floor(Timings.size() * 0.9); 250 std::nth_element(Timings.begin(), Timings.begin() + Pct90Off, Timings.end()); 250 std::nth_element(Timings.begin(), Timings.begin() + Pct90Off, Timings.end()); 250 std::nth_element(Timings.begin(), Timings.begin() + Pct90Off, Timings.end()); 251 R.Pct90 = Timings[Pct90Off]; 253 auto Pct99Off = std::floor(Timings.size() * 0.99); 254 std::nth_element(Timings.begin(), Timings.begin() + Pct99Off, Timings.end()); 254 std::nth_element(Timings.begin(), Timings.begin() + Pct99Off, Timings.end()); 254 std::nth_element(Timings.begin(), Timings.begin() + Pct99Off, Timings.end()); 255 R.Pct99 = Timings[Pct99Off];