Home
last modified time | relevance | path

Searched refs:delay_hist_ (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/modules/congestion_controller/goog_cc/
Dtrendline_estimator.cc172 delay_hist_(), in TrendlineEstimator()
215 delay_hist_.emplace_back( in UpdateTrendline()
219 for (size_t i = delay_hist_.size() - 1; in UpdateTrendline()
221 delay_hist_[i].arrival_time_ms < delay_hist_[i - 1].arrival_time_ms; in UpdateTrendline()
223 std::swap(delay_hist_[i], delay_hist_[i - 1]); in UpdateTrendline()
226 if (delay_hist_.size() > settings_.window_size) in UpdateTrendline()
227 delay_hist_.pop_front(); in UpdateTrendline()
231 if (delay_hist_.size() == settings_.window_size) { in UpdateTrendline()
237 trend = LinearFitSlope(delay_hist_).value_or(trend); in UpdateTrendline()
239 absl::optional<double> cap = ComputeSlopeCap(delay_hist_, settings_); in UpdateTrendline()
Dtrendline_estimator.h108 std::deque<PacketTiming> delay_hist_; variable