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

Side by Side Diff: media/cast/logging/logging_defines.cc

Issue 236123003: Cast: Provide more meaningful stats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/cast/logging/logging_defines.h" 5 #include "media/cast/logging/logging_defines.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 #define ENUM_TO_STRING(enum) \ 9 #define ENUM_TO_STRING(enum) \
10 case k##enum: \ 10 case k##enum: \
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 : rtp_timestamp(0), 98 : rtp_timestamp(0),
99 frame_id(kFrameIdUnknown), 99 frame_id(kFrameIdUnknown),
100 max_packet_id(0), 100 max_packet_id(0),
101 packet_id(0), 101 packet_id(0),
102 size(0), 102 size(0),
103 type(kUnknown) {} 103 type(kUnknown) {}
104 PacketEvent::~PacketEvent() {} 104 PacketEvent::~PacketEvent() {}
105 105
106 GenericEvent::GenericEvent() : type(kUnknown), value(0) {} 106 GenericEvent::GenericEvent() : type(kUnknown), value(0) {}
107 GenericEvent::~GenericEvent() {} 107 GenericEvent::~GenericEvent() {}
108
109 FrameLogStats::FrameLogStats()
110 : event_counter(0),
111 sum_size(0) {}
112 FrameLogStats::~FrameLogStats() {}
113
114 PacketLogStats::PacketLogStats()
115 : event_counter(0),
116 sum_size(0) {}
117 PacketLogStats::~PacketLogStats() {}
118
119 GenericLogStats::GenericLogStats()
120 : event_counter(0),
121 sum(0),
122 sum_squared(0),
123 min(0),
124 max(0) {}
125 GenericLogStats::~GenericLogStats() {}
126 } // namespace cast 108 } // namespace cast
127 } // namespace media 109 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698