Searched refs:frame_time_diffs_us_ (Results 1 – 2 of 2) sorted by relevance
179 frame_time_diffs_us_.push_back(static_cast<double>(frame_diff_us)); in RecordFrameTimeDiff()207 double sum = std::accumulate(frame_time_diffs_us_.begin(), frame_time_diffs_us_.end(), 0.0); in MovingAvgOverSum()208 int data_size = static_cast<int>(frame_time_diffs_us_.size()); in MovingAvgOverSum()225 while (ei < data_size && frame_time_diffs_us_[ei] <= space) { in MovingAvgOverSum()226 space -= frame_time_diffs_us_[ei]; in MovingAvgOverSum()227 cumulative_sum += frame_time_diffs_us_[ei]; in MovingAvgOverSum()235 moving_avgs.push_back(frame_time_diffs_us_[bi - 1]); in MovingAvgOverSum()239 moving_avgs.push_back(frame_time_diffs_us_[ei]); in MovingAvgOverSum()247 foot += frame_time_diffs_us_[bi]; in MovingAvgOverSum()248 cumulative_sum -= frame_time_diffs_us_[bi]; in MovingAvgOverSum()
161 std::vector<double> frame_time_diffs_us_; variable