Index: webrtc/video/receive_statistics_proxy.cc |
diff --git a/webrtc/video/receive_statistics_proxy.cc b/webrtc/video/receive_statistics_proxy.cc |
index eec2bc8301ae6feb8e0dbe20c4e380a4a7734391..879a33ded217cb870b975cfd412d26a795d66213 100644 |
--- a/webrtc/video/receive_statistics_proxy.cc |
+++ b/webrtc/video/receive_statistics_proxy.cc |
@@ -44,9 +44,9 @@ void ReceiveStatisticsProxy::UpdateHistograms() { |
int samples = static_cast<int>(render_fps_tracker_.TotalSampleCount()); |
if (samples > kMinRequiredSamples) { |
RTC_HISTOGRAM_COUNTS_100("WebRTC.Video.RenderFramesPerSecond", |
- static_cast<int>(render_fps_tracker_.ComputeTotalRate())); |
+ round(render_fps_tracker_.ComputeTotalRate())); |
RTC_HISTOGRAM_COUNTS_100000("WebRTC.Video.RenderSqrtPixelsPerSecond", |
- static_cast<int>(render_pixel_tracker_.ComputeTotalRate())); |
+ round(render_pixel_tracker_.ComputeTotalRate())); |
} |
int width = render_width_counter_.Avg(kMinRequiredSamples); |
int height = render_height_counter_.Avg(kMinRequiredSamples); |