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

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

Issue 130423007: Cast:Updating logging stats (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Responding to Review 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
Index: media/cast/logging/logging_defines.cc
diff --git a/media/cast/logging/logging_defines.cc b/media/cast/logging/logging_defines.cc
index 8766680ac084c38ea547eb7cd9a827e427169017..03e9c5be433f789fd3eb24104b4e5ec90390144d 100644
--- a/media/cast/logging/logging_defines.cc
+++ b/media/cast/logging/logging_defines.cc
@@ -104,12 +104,23 @@ ReceiverRtcpEvent::ReceiverRtcpEvent() {}
ReceiverRtcpEvent::~ReceiverRtcpEvent() {}
FrameLogStats::FrameLogStats()
- : framerate_fps(0),
- bitrate_kbps(0),
- max_delay_ms(0),
- min_delay_ms(0),
- avg_delay_ms(0) {}
+ : event_counter(0),
+ sum_size(0) {}
FrameLogStats::~FrameLogStats() {}
+PacketLogStats::PacketLogStats()
+ : event_counter(0),
+ sum_size(0) {}
+
+PacketLogStats::~PacketLogStats() {}
+
+GenericLogStats::GenericLogStats()
+ : event_counter(0),
+ sum(0),
+ sum_squared(0),
+ min(0),
+ max(0) {}
+
+GenericLogStats::~GenericLogStats() {}
} // namespace cast
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698