Lines Matching refs:reports
26 void RemoveOldReports(int64_t now, std::list<CallStats::RttTime>* reports) { in RemoveOldReports() argument
28 reports->remove_if( in RemoveOldReports()
32 int64_t GetMaxRttMs(const std::list<CallStats::RttTime>& reports) { in GetMaxRttMs() argument
34 for (const CallStats::RttTime& rtt_time : reports) in GetMaxRttMs()
39 int64_t GetAvgRttMs(const std::list<CallStats::RttTime>& reports) { in GetAvgRttMs() argument
40 RTC_DCHECK(!reports.empty()); in GetAvgRttMs()
42 for (std::list<CallStats::RttTime>::const_iterator it = reports.begin(); in GetAvgRttMs()
43 it != reports.end(); ++it) { in GetAvgRttMs()
46 return sum / reports.size(); in GetAvgRttMs()
49 int64_t GetNewAvgRttMs(const std::list<CallStats::RttTime>& reports, in GetNewAvgRttMs() argument
51 if (reports.empty()) in GetNewAvgRttMs()
54 int64_t cur_rtt_ms = GetAvgRttMs(reports); in GetNewAvgRttMs()