Home
last modified time | relevance | path

Searched refs:RttTime (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/video/
Dcall_stats2.cc28 void RemoveOldReports(int64_t now, std::list<CallStats::RttTime>* reports) { in RemoveOldReports()
31 [&now](CallStats::RttTime& r) { return now - r.time > kRttTimeoutMs; }); in RemoveOldReports()
34 int64_t GetMaxRttMs(const std::list<CallStats::RttTime>& reports) { in GetMaxRttMs()
36 for (const CallStats::RttTime& rtt_time : reports) in GetMaxRttMs()
41 int64_t GetAvgRttMs(const std::list<CallStats::RttTime>& reports) { in GetAvgRttMs()
44 for (std::list<CallStats::RttTime>::const_iterator it = reports.begin(); in GetAvgRttMs()
51 int64_t GetNewAvgRttMs(const std::list<CallStats::RttTime>& reports, in GetNewAvgRttMs()
138 reports_.push_back(RttTime(rtt, now_ms)); in OnRttUpdate()
Dcall_stats.cc26 void RemoveOldReports(int64_t now, std::list<CallStats::RttTime>* reports) { in RemoveOldReports()
29 [&now](CallStats::RttTime& r) { return now - r.time > kRttTimeoutMs; }); in RemoveOldReports()
32 int64_t GetMaxRttMs(const std::list<CallStats::RttTime>& reports) { in GetMaxRttMs()
34 for (const CallStats::RttTime& rtt_time : reports) in GetMaxRttMs()
39 int64_t GetAvgRttMs(const std::list<CallStats::RttTime>& reports) { in GetAvgRttMs()
42 for (std::list<CallStats::RttTime>::const_iterator it = reports.begin(); in GetAvgRttMs()
49 int64_t GetNewAvgRttMs(const std::list<CallStats::RttTime>& reports, in GetNewAvgRttMs()
189 reports_.push_back(RttTime(rtt, now_ms)); in OnRttUpdate()
Dcall_stats.h56 struct RttTime { struct
57 RttTime(int64_t new_rtt, int64_t rtt_time) : rtt(new_rtt), time(rtt_time) {} in RttTime() argument
104 std::list<RttTime> reports_ RTC_GUARDED_BY(process_thread_checker_);
Dcall_stats2.h63 struct RttTime { struct
64 RttTime(int64_t new_rtt, int64_t rtt_time) : rtt(new_rtt), time(rtt_time) {} in RttTime() argument
126 std::list<RttTime> reports_ RTC_GUARDED_BY(construction_thread_checker_);