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

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

Issue 236123003: Cast: Provide more meaningful stats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cast/cast_testing.gypi ('k') | media/cast/logging/logging_defines.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/logging/logging_defines.h
diff --git a/media/cast/logging/logging_defines.h b/media/cast/logging/logging_defines.h
index 9b9ed5195ec75e7cece53eb8c224af5af9edee56..a87d2d5caeef489a51b99028cc374102dacf7b5c 100644
--- a/media/cast/logging/logging_defines.h
+++ b/media/cast/logging/logging_defines.h
@@ -107,33 +107,6 @@ struct PacketEvent {
CastLoggingEvent type;
};
-// Generic statistics given the raw data. More specific data (e.g. frame rate
-// and bit rate) can be computed given the basic metrics.
-// Some of the metrics will only be set when applicable, e.g. delay and size.
-struct FrameLogStats {
- FrameLogStats();
- ~FrameLogStats();
- base::TimeTicks first_event_time;
- base::TimeTicks last_event_time;
- int event_counter;
- size_t sum_size;
- base::TimeDelta min_delay;
- base::TimeDelta max_delay;
- base::TimeDelta sum_delay;
-};
-
-struct PacketLogStats {
- PacketLogStats();
- ~PacketLogStats();
- base::TimeTicks first_event_time;
- base::TimeTicks last_event_time;
- int event_counter;
- size_t sum_size;
-};
-
-typedef std::map<CastLoggingEvent, FrameLogStats> FrameStatsMap;
-typedef std::map<CastLoggingEvent, PacketLogStats> PacketStatsMap;
-
} // namespace cast
} // namespace media
« no previous file with comments | « media/cast/cast_testing.gypi ('k') | media/cast/logging/logging_defines.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698