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 ce8feeafefca5df3258e752d5953cb7743c3d631..13a5b8a4f9353bc7bf30bd3b6f5425db800fefbc 100644 |
--- a/webrtc/tools/event_log_visualizer/main.cc |
+++ b/webrtc/tools/event_log_visualizer/main.cc |
@@ -59,6 +59,9 @@ DEFINE_bool(plot_fraction_loss, |
false, |
"Plot packet loss in percent for outgoing packets (as perceived by " |
"the send-side bandwidth estimator)."); |
+DEFINE_bool(plot_timestamps, |
+ false, |
+ "Plot the rtp timestamps of all rtp and rtcp packets over time."); |
DEFINE_string( |
force_fieldtrials, |
"", |
@@ -180,6 +183,10 @@ int main(int argc, char* argv[]) { |
analyzer.CreateNetworkDelayFeedbackGraph(collection->AppendNewPlot()); |
} |
+ if (FLAGS_plot_all || FLAGS_plot_timestamps) { |
+ analyzer.CreateTimestampGraph(collection->AppendNewPlot()); |
+ } |
+ |
collection->Draw(); |
return 0; |