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

Unified Diff: webrtc/tools/event_log_visualizer/main.cc

Issue 2826313004: Added -show_detector_state which show the detector state in the total bitrate graph. (Closed)
Patch Set: Created 3 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
Index: webrtc/tools/event_log_visualizer/main.cc
diff --git a/webrtc/tools/event_log_visualizer/main.cc b/webrtc/tools/event_log_visualizer/main.cc
index 2f5ecd63e45f67bc4e12ac4910d5593393c57660..a93c0a8949011d8d7dd2f90ebb84f1bd4d1f9bdd 100644
--- a/webrtc/tools/event_log_visualizer/main.cc
+++ b/webrtc/tools/event_log_visualizer/main.cc
@@ -85,6 +85,11 @@ DEFINE_string(
" will assign the group Enabled to field trial WebRTC-FooFeature. Multiple "
"trials are separated by \"/\"");
+DEFINE_bool(
+ show_detector_state,
+ false,
+ "Mark the delay based bwe detector state on the total bitrate graph");
+
int main(int argc, char* argv[]) {
std::string program_name = argv[0];
std::string usage =
@@ -169,11 +174,13 @@ int main(int argc, char* argv[]) {
if (FLAGS_plot_all || FLAGS_plot_total_bitrate) {
if (FLAGS_incoming) {
analyzer.CreateTotalBitrateGraph(webrtc::PacketDirection::kIncomingPacket,
- collection->AppendNewPlot());
+ collection->AppendNewPlot(),
+ FLAGS_show_detector_state);
}
if (FLAGS_outgoing) {
analyzer.CreateTotalBitrateGraph(webrtc::PacketDirection::kOutgoingPacket,
- collection->AppendNewPlot());
+ collection->AppendNewPlot(),
+ FLAGS_show_detector_state);
}
}

Powered by Google App Engine
This is Rietveld 408576698