OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #include <iostream> | 11 #include <iostream> |
12 | 12 |
13 #include "gflags/gflags.h" | 13 #include "gflags/gflags.h" |
14 #include "webrtc/call/rtc_event_log_parser.h" | 14 #include "webrtc/logging/rtc_event_log/rtc_event_log_parser.h" |
15 #include "webrtc/tools/event_log_visualizer/analyzer.h" | 15 #include "webrtc/tools/event_log_visualizer/analyzer.h" |
16 #include "webrtc/tools/event_log_visualizer/plot_base.h" | 16 #include "webrtc/tools/event_log_visualizer/plot_base.h" |
17 #include "webrtc/tools/event_log_visualizer/plot_python.h" | 17 #include "webrtc/tools/event_log_visualizer/plot_python.h" |
18 | 18 |
19 DEFINE_bool(incoming, true, "Plot statistics for incoming packets."); | 19 DEFINE_bool(incoming, true, "Plot statistics for incoming packets."); |
20 DEFINE_bool(outgoing, true, "Plot statistics for outgoing packets."); | 20 DEFINE_bool(outgoing, true, "Plot statistics for outgoing packets."); |
21 DEFINE_bool(plot_all, true, "Plot all different data types."); | 21 DEFINE_bool(plot_all, true, "Plot all different data types."); |
22 DEFINE_bool(plot_packets, | 22 DEFINE_bool(plot_packets, |
23 false, | 23 false, |
24 "Plot bar graph showing the size of each packet."); | 24 "Plot bar graph showing the size of each packet."); |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 } | 167 } |
168 | 168 |
169 if (FLAGS_plot_all || FLAGS_plot_network_delay_feedback) { | 169 if (FLAGS_plot_all || FLAGS_plot_network_delay_feedback) { |
170 analyzer.CreateNetworkDelayFeedbackGraph(collection->AppendNewPlot()); | 170 analyzer.CreateNetworkDelayFeedbackGraph(collection->AppendNewPlot()); |
171 } | 171 } |
172 | 172 |
173 collection->Draw(); | 173 collection->Draw(); |
174 | 174 |
175 return 0; | 175 return 0; |
176 } | 176 } |
OLD | NEW |