Lines Matching refs:reports
28 void RemoveOldReports(int64_t now, std::list<CallStats::RttTime>* reports) { in RemoveOldReports() argument
30 reports->remove_if( in RemoveOldReports()
34 int64_t GetMaxRttMs(const std::list<CallStats::RttTime>& reports) { in GetMaxRttMs() argument
36 for (const CallStats::RttTime& rtt_time : reports) in GetMaxRttMs()
41 int64_t GetAvgRttMs(const std::list<CallStats::RttTime>& reports) { in GetAvgRttMs() argument
42 RTC_DCHECK(!reports.empty()); in GetAvgRttMs()
44 for (std::list<CallStats::RttTime>::const_iterator it = reports.begin(); in GetAvgRttMs()
45 it != reports.end(); ++it) { in GetAvgRttMs()
48 return sum / reports.size(); in GetAvgRttMs()
51 int64_t GetNewAvgRttMs(const std::list<CallStats::RttTime>& reports, in GetNewAvgRttMs() argument
53 if (reports.empty()) in GetNewAvgRttMs()
56 int64_t cur_rtt_ms = GetAvgRttMs(reports); in GetNewAvgRttMs()