Move stats for decoded frames per second from VCMTiming to ReceiveStatisticsProxy.

Bug: none
Change-Id: I631a2b1cb550dded6d1e1daf47ac35583298d30d
Reviewed-on: https://webrtc-review.googlesource.com/36121
Commit-Queue: Åsa Persson <asapersson@webrtc.org>
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21757}
diff --git a/modules/video_coding/timing.cc b/modules/video_coding/timing.cc
index 8df86dc..64e2465 100644
--- a/modules/video_coding/timing.cc
+++ b/modules/video_coding/timing.cc
@@ -50,6 +50,7 @@
   }
 }
 
+// TODO(asapersson): Move stats to ReceiveStatisticsProxy.
 void VCMTiming::UpdateHistograms() const {
   rtc::CritScope cs(&crit_sect_);
   if (num_decoded_frames_ == 0) {
@@ -60,9 +61,6 @@
   if (elapsed_sec < metrics::kMinRunTimeInSeconds) {
     return;
   }
-  RTC_HISTOGRAM_COUNTS_100(
-      "WebRTC.Video.DecodedFramesPerSecond",
-      static_cast<int>((num_decoded_frames_ / elapsed_sec) + 0.5f));
   RTC_HISTOGRAM_PERCENTAGE(
       "WebRTC.Video.DelayedFramesToRenderer",
       num_delayed_decoded_frames_ * 100 / num_decoded_frames_);