Index: webrtc/tools/event_log_visualizer/generate_timeseries.cc |
diff --git a/webrtc/tools/event_log_visualizer/generate_timeseries.cc b/webrtc/tools/event_log_visualizer/generate_timeseries.cc |
index d2139475fa225ee50ce132dd1fd16450d99e1e51..02e9ad372768fabc1738dabdea78108b3883980b 100644 |
--- a/webrtc/tools/event_log_visualizer/generate_timeseries.cc |
+++ b/webrtc/tools/event_log_visualizer/generate_timeseries.cc |
@@ -43,6 +43,10 @@ DEFINE_bool(plot_total_bitrate, |
DEFINE_bool(plot_stream_bitrate, |
false, |
"Plot the bitrate used by each stream."); |
+DEFINE_bool(plot_bwe, |
+ false, |
+ "Run the bandwidth estimator with the logged rtp and rtcp and plot " |
+ "the output."); |
int main(int argc, char* argv[]) { |
std::string program_name = argv[0]; |
@@ -132,6 +136,10 @@ int main(int argc, char* argv[]) { |
} |
} |
+ if (FLAGS_plot_all || FLAGS_plot_bwe) { |
+ analyzer.CreateBweGraph(collection->append_new_plot()); |
+ } |
+ |
collection->draw(); |
return 0; |