Searched refs:RttTime (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/video/ |
D | call_stats2.cc | 28 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()
|
D | call_stats.cc | 26 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()
|
D | call_stats.h | 56 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_);
|
D | call_stats2.h | 63 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_);
|