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

Unified Diff: webrtc/rtc_tools/event_log_visualizer/main.cc

Issue 2826313004: Added -show_detector_state which show the detector state in the total bitrate graph. (Closed)
Patch Set: Intervals now show up in the legend. Created 3 years, 5 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
Index: webrtc/rtc_tools/event_log_visualizer/main.cc
diff --git a/webrtc/rtc_tools/event_log_visualizer/main.cc b/webrtc/rtc_tools/event_log_visualizer/main.cc
index 6e78c890b2eb9734adf5104aec0f0fd76939ac7f..a4490aaeb5263aa39c26be2f09911952066c35a5 100644
--- a/webrtc/rtc_tools/event_log_visualizer/main.cc
+++ b/webrtc/rtc_tools/event_log_visualizer/main.cc
@@ -90,6 +90,11 @@ DEFINE_string(
"trials are separated by \"/\"");
DEFINE_bool(help, false, "prints this message");
+DEFINE_bool(
+ show_detector_state,
+ false,
+ "Mark the delay based bwe detector state on the total bitrate graph");
+
int main(int argc, char* argv[]) {
std::string program_name = argv[0];
std::string usage =
@@ -178,11 +183,13 @@ int main(int argc, char* argv[]) {
if (FLAG_plot_all || FLAG_plot_total_bitrate) {
if (FLAG_incoming) {
analyzer.CreateTotalBitrateGraph(webrtc::PacketDirection::kIncomingPacket,
- collection->AppendNewPlot());
+ collection->AppendNewPlot(),
+ FLAG_show_detector_state);
}
if (FLAG_outgoing) {
analyzer.CreateTotalBitrateGraph(webrtc::PacketDirection::kOutgoingPacket,
- collection->AppendNewPlot());
+ collection->AppendNewPlot(),
+ FLAG_show_detector_state);
}
}
« no previous file with comments | « webrtc/rtc_tools/event_log_visualizer/analyzer.cc ('k') | webrtc/rtc_tools/event_log_visualizer/plot_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698