| Index: webrtc/modules/video_coding/timing.cc
|
| diff --git a/webrtc/modules/video_coding/timing.cc b/webrtc/modules/video_coding/timing.cc
|
| index f1a127a85d894aa3ac9c3de940b7d5ac201523a1..d2563a4775050e1b5e5df47126ed90dd529812d7 100644
|
| --- a/webrtc/modules/video_coding/timing.cc
|
| +++ b/webrtc/modules/video_coding/timing.cc
|
| @@ -62,14 +62,16 @@ void VCMTiming::UpdateHistograms() const {
|
| if (elapsed_sec < metrics::kMinRunTimeInSeconds) {
|
| return;
|
| }
|
| - RTC_HISTOGRAM_COUNTS_100("WebRTC.Video.DecodedFramesPerSecond",
|
| + RTC_HISTOGRAM_COUNTS_SPARSE_100(
|
| + "WebRTC.Video.DecodedFramesPerSecond",
|
| static_cast<int>((num_decoded_frames_ / elapsed_sec) + 0.5f));
|
| - RTC_HISTOGRAM_PERCENTAGE("WebRTC.Video.DelayedFramesToRenderer",
|
| + RTC_HISTOGRAM_PERCENTAGE_SPARSE(
|
| + "WebRTC.Video.DelayedFramesToRenderer",
|
| num_delayed_decoded_frames_ * 100 / num_decoded_frames_);
|
| if (num_delayed_decoded_frames_ > 0) {
|
| - RTC_HISTOGRAM_COUNTS_1000(
|
| + RTC_HISTOGRAM_COUNTS_SPARSE_1000(
|
| "WebRTC.Video.DelayedFramesToRenderer_AvgDelayInMs",
|
| - sum_missed_render_deadline_ms_ / num_delayed_decoded_frames_);
|
| + sum_missed_render_deadline_ms_ / num_delayed_decoded_frames_);
|
| }
|
| }
|
|
|
|
|