Add ToString method to AggregatedStats and log stats at the end of a call.

BUG=webrtc:5283

Review-Url: https://codereview.webrtc.org/2494423002
Cr-Commit-Position: refs/heads/master@{#15088}
This commit is contained in:
asapersson
2016-11-15 08:20:48 -08:00
committed by Commit bot
parent 841de6a47e
commit 43cb716e55
5 changed files with 27 additions and 0 deletions

View File

@ -77,6 +77,8 @@ void ReceiveStatisticsProxy::UpdateHistograms() {
if (freq_offset_stats.num_samples > 0) {
RTC_HISTOGRAM_COUNTS_10000("WebRTC.Video.RtpToNtpFreqOffsetInKhz",
freq_offset_stats.average);
LOG(LS_INFO) << "WebRTC.Video.RtpToNtpFreqOffsetInKhz, "
<< freq_offset_stats.ToString();
}
int qp = qp_counters_.vp8.Avg(kMinRequiredSamples);