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 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 } | 121 } |
122 | 122 |
123 if (FLAGS_plot_all || FLAGS_plot_accumulated_delay_change) { | 123 if (FLAGS_plot_all || FLAGS_plot_accumulated_delay_change) { |
124 if (FLAGS_incoming) { | 124 if (FLAGS_incoming) { |
125 analyzer.CreateAccumulatedDelayChangeGraph(collection->AppendNewPlot()); | 125 analyzer.CreateAccumulatedDelayChangeGraph(collection->AppendNewPlot()); |
126 } | 126 } |
127 } | 127 } |
128 | 128 |
129 if (FLAGS_plot_all || FLAGS_plot_fraction_loss) { | 129 if (FLAGS_plot_all || FLAGS_plot_fraction_loss) { |
130 analyzer.CreateFractionLossGraph(collection->AppendNewPlot()); | 130 analyzer.CreateFractionLossGraph(collection->AppendNewPlot()); |
| 131 analyzer.CreateIncomingPacketLossGraph(collection->AppendNewPlot()); |
131 } | 132 } |
132 | 133 |
133 if (FLAGS_plot_all || FLAGS_plot_total_bitrate) { | 134 if (FLAGS_plot_all || FLAGS_plot_total_bitrate) { |
134 if (FLAGS_incoming) { | 135 if (FLAGS_incoming) { |
135 analyzer.CreateTotalBitrateGraph(webrtc::PacketDirection::kIncomingPacket, | 136 analyzer.CreateTotalBitrateGraph(webrtc::PacketDirection::kIncomingPacket, |
136 collection->AppendNewPlot()); | 137 collection->AppendNewPlot()); |
137 } | 138 } |
138 if (FLAGS_outgoing) { | 139 if (FLAGS_outgoing) { |
139 analyzer.CreateTotalBitrateGraph(webrtc::PacketDirection::kOutgoingPacket, | 140 analyzer.CreateTotalBitrateGraph(webrtc::PacketDirection::kOutgoingPacket, |
140 collection->AppendNewPlot()); | 141 collection->AppendNewPlot()); |
(...skipping 18 matching lines...) Expand all Loading... |
159 } | 160 } |
160 | 161 |
161 if (FLAGS_plot_all || FLAGS_plot_network_delay_feedback) { | 162 if (FLAGS_plot_all || FLAGS_plot_network_delay_feedback) { |
162 analyzer.CreateNetworkDelayFeedbackGraph(collection->AppendNewPlot()); | 163 analyzer.CreateNetworkDelayFeedbackGraph(collection->AppendNewPlot()); |
163 } | 164 } |
164 | 165 |
165 collection->Draw(); | 166 collection->Draw(); |
166 | 167 |
167 return 0; | 168 return 0; |
168 } | 169 } |
OLD | NEW |