Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(421)

Unified Diff: media/cast/logging/logging_stats.cc

Issue 134843005: Cast:Updating logging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Responding to review and removing unused files Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cast/logging/logging_raw.cc ('k') | media/cast/logging/logging_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/logging/logging_stats.cc
diff --git a/media/cast/logging/logging_stats.cc b/media/cast/logging/logging_stats.cc
index 4b9d0009b3838629a56eecec247f58b736b37614..2cdabcc5df2e1774b3a29ff7f5f2a5de55e3ad7f 100644
--- a/media/cast/logging/logging_stats.cc
+++ b/media/cast/logging/logging_stats.cc
@@ -126,8 +126,8 @@ const FrameStatsMap* LoggingStats::GetFrameStatsData(
base::TimeDelta time_diff = now - start_time_[it->first];
it->second->framerate_fps = counts_[it->first] / time_diff.InSecondsF();
if (it->second->bitrate_kbps > 0) {
- it->second->bitrate_kbps = (8 / 1000) *
- it->second->bitrate_kbps / time_diff.InSecondsF();
+ it->second->bitrate_kbps = (8 / 1000) * it->second->bitrate_kbps /
+ time_diff.InSecondsF();
}
if (it->second->avg_delay_ms > 0)
it->second->avg_delay_ms /= counts_[it->first];
« no previous file with comments | « media/cast/logging/logging_raw.cc ('k') | media/cast/logging/logging_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698