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 "webrtc/base/flags.h" | |
14 #include "webrtc/logging/rtc_event_log/rtc_event_log_parser.h" | 13 #include "webrtc/logging/rtc_event_log/rtc_event_log_parser.h" |
| 14 #include "webrtc/rtc_base/flags.h" |
15 #include "webrtc/rtc_tools/event_log_visualizer/analyzer.h" | 15 #include "webrtc/rtc_tools/event_log_visualizer/analyzer.h" |
16 #include "webrtc/rtc_tools/event_log_visualizer/plot_base.h" | 16 #include "webrtc/rtc_tools/event_log_visualizer/plot_base.h" |
17 #include "webrtc/rtc_tools/event_log_visualizer/plot_python.h" | 17 #include "webrtc/rtc_tools/event_log_visualizer/plot_python.h" |
18 #include "webrtc/test/field_trial.h" | 18 #include "webrtc/test/field_trial.h" |
19 #include "webrtc/test/testsupport/fileutils.h" | 19 #include "webrtc/test/testsupport/fileutils.h" |
20 | 20 |
21 DEFINE_bool(incoming, true, "Plot statistics for incoming packets."); | 21 DEFINE_bool(incoming, true, "Plot statistics for incoming packets."); |
22 DEFINE_bool(outgoing, true, "Plot statistics for outgoing packets."); | 22 DEFINE_bool(outgoing, true, "Plot statistics for outgoing packets."); |
23 DEFINE_bool(plot_all, true, "Plot all different data types."); | 23 DEFINE_bool(plot_all, true, "Plot all different data types."); |
24 DEFINE_bool(plot_packets, | 24 DEFINE_bool(plot_packets, |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 webrtc::test::ResourcePath( | 241 webrtc::test::ResourcePath( |
242 "audio_processing/conversational_speech/EN_script2_F_sp2_B1", | 242 "audio_processing/conversational_speech/EN_script2_F_sp2_B1", |
243 "wav"), | 243 "wav"), |
244 48000, collection->AppendNewPlot()); | 244 48000, collection->AppendNewPlot()); |
245 } | 245 } |
246 | 246 |
247 collection->Draw(); | 247 collection->Draw(); |
248 | 248 |
249 return 0; | 249 return 0; |
250 } | 250 } |
OLD | NEW |