Searched refs:moving_avgs (Results 1 – 1 of 1) sorted by relevance
189 std::vector<double> moving_avgs = MovingAvgOverSum(); in CalculateFPS() local190 std::sort(moving_avgs.begin(), moving_avgs.end()); in CalculateFPS()192 int index = static_cast<int>(std::round(kRegardedPercentile * (moving_avgs.size() - 1) / 100)); in CalculateFPS()195 moving_avgs[0], moving_avgs[index], moving_avgs[moving_avgs.size() - 1], in CalculateFPS()198 return 1E6 / moving_avgs[index]; in CalculateFPS()205 std::vector<double> moving_avgs; in MovingAvgOverSum() local211 moving_avgs.push_back(avg); in MovingAvgOverSum()212 return moving_avgs; in MovingAvgOverSum()233 moving_avgs.push_back(cumulative_sum / num); in MovingAvgOverSum()235 moving_avgs.push_back(frame_time_diffs_us_[bi - 1]); in MovingAvgOverSum()[all …]