Chromium Code Reviews| Index: webrtc/tools/event_log_visualizer/main.cc |
| diff --git a/webrtc/tools/event_log_visualizer/main.cc b/webrtc/tools/event_log_visualizer/main.cc |
| index b487696f668f45b98a4d7b38f48e4d025f075fd6..c6013dbecc7c41a25ba8f9b7e8b2b38386fd251f 100644 |
| --- a/webrtc/tools/event_log_visualizer/main.cc |
| +++ b/webrtc/tools/event_log_visualizer/main.cc |
| @@ -12,6 +12,7 @@ |
| #include "gflags/gflags.h" |
| #include "webrtc/logging/rtc_event_log/rtc_event_log_parser.h" |
| +#include "webrtc/test/field_trial.h" |
| #include "webrtc/tools/event_log_visualizer/analyzer.h" |
| #include "webrtc/tools/event_log_visualizer/plot_base.h" |
| #include "webrtc/tools/event_log_visualizer/plot_python.h" |
| @@ -58,6 +59,13 @@ DEFINE_bool(plot_fraction_loss, |
| false, |
| "Plot packet loss in percent for outgoing packets (as perceived by " |
| "the send-side bandwidth estimator)."); |
| +DEFINE_string( |
| + force_fieldtrials, |
| + "", |
| + "Field trials control experimental feature code which can be forced. " |
| + "E.g. running with --force_fieldtrials=WebRTC-FooFeature/Enable/" |
|
terelius
2016/11/15 14:18:47
Several (most?) of our field trials are enabled by
stefan-webrtc
2016/11/15 14:35:22
Done.
|
| + " will assign the group Enable to field trial WebRTC-FooFeature. Multiple " |
| + "trials are separated by \"/\""); |
| int main(int argc, char* argv[]) { |
| std::string program_name = argv[0]; |
| @@ -75,6 +83,8 @@ int main(int argc, char* argv[]) { |
| return 0; |
| } |
| + webrtc::test::InitFieldTrialsFromString(FLAGS_force_fieldtrials); |
| + |
| std::string filename = argv[1]; |
| webrtc::ParsedRtcEventLog parsed_log; |