Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(854)

Unified Diff: webrtc/tools/event_log_visualizer/generate_timeseries.cc

Issue 2204713005: Add fraction loss in visualization tool. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/tools/event_log_visualizer/analyzer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/tools/event_log_visualizer/generate_timeseries.cc
diff --git a/webrtc/tools/event_log_visualizer/generate_timeseries.cc b/webrtc/tools/event_log_visualizer/generate_timeseries.cc
index 273dcfa337224e6238d08731445e9d5b11911ea1..27dc59c04259d64a85f4f03e6aa18c242e207d6d 100644
--- a/webrtc/tools/event_log_visualizer/generate_timeseries.cc
+++ b/webrtc/tools/event_log_visualizer/generate_timeseries.cc
@@ -51,6 +51,10 @@ DEFINE_bool(plot_network_delay_feedback,
false,
"Compute network delay based on sent packets and the received "
"transport feedback.");
+DEFINE_bool(plot_fraction_loss,
+ false,
+ "Plot packet loss in percent for outgoing packets (as perceived by "
+ "the send-side bandwidth estimator).");
int main(int argc, char* argv[]) {
std::string program_name = argv[0];
@@ -116,6 +120,10 @@ int main(int argc, char* argv[]) {
}
}
+ if (FLAGS_plot_all || FLAGS_plot_fraction_loss) {
+ analyzer.CreateFractionLossGraph(collection->AppendNewPlot());
+ }
+
if (FLAGS_plot_all || FLAGS_plot_total_bitrate) {
if (FLAGS_incoming) {
analyzer.CreateTotalBitrateGraph(webrtc::PacketDirection::kIncomingPacket,
« no previous file with comments | « webrtc/tools/event_log_visualizer/analyzer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698