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); |
} |
} |