Output plots for new DTLS events.

Bug: webrtc:10101
Change-Id: Ida8084549bc386b91fec468026c3f4a261a4ef50
Reviewed-on: https://webrtc-review.googlesource.com/c/113462
Commit-Queue: Zach Stein <zstein@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25941}
This commit is contained in:
Zach Stein
2018-12-07 12:26:28 -08:00
committed by Commit Bot
parent a59db7481c
commit 10a58016ee
3 changed files with 47 additions and 0 deletions

View File

@ -151,6 +151,12 @@ WEBRTC_DEFINE_bool(plot_ice_candidate_pair_config,
WEBRTC_DEFINE_bool(plot_ice_connectivity_check,
false,
"Plot the ICE candidate pair connectivity checks.");
WEBRTC_DEFINE_bool(plot_dtls_transport_state,
false,
"Plot DTLS transport state changes.");
WEBRTC_DEFINE_bool(plot_dtls_writable_state,
false,
"Plot DTLS writable state changes.");
WEBRTC_DEFINE_string(
force_fieldtrials,
@ -469,6 +475,13 @@ int main(int argc, char* argv[]) {
analyzer.CreateIceConnectivityCheckGraph(collection->AppendNewPlot());
}
if (FLAG_plot_dtls_transport_state) {
analyzer.CreateDtlsTransportStateGraph(collection->AppendNewPlot());
}
if (FLAG_plot_dtls_writable_state) {
analyzer.CreateDtlsWritableStateGraph(collection->AppendNewPlot());
}
collection->Draw();
if (FLAG_print_triage_alerts) {