diff --git a/test/test_flags.cc b/test/test_flags.cc index 3f30aff39a..a0becc2ab7 100644 --- a/test/test_flags.cc +++ b/test/test_flags.cc @@ -36,3 +36,10 @@ ABSL_FLAG( "Path where the perf results should be stored in proto format described " "described by histogram.proto in " "https://chromium.googlesource.com/catapult/."); + +ABSL_FLAG(std::string, + webrtc_test_metrics_output_path, + "", + "Path where the test perf metrics should be stored using " + "api/test/metrics/metric.proto proto format. File will contain " + "MetricsSet as a root proto"); diff --git a/test/test_flags.h b/test/test_flags.h index 694b4540ce..6ca30b22f0 100644 --- a/test/test_flags.h +++ b/test/test_flags.h @@ -18,5 +18,6 @@ ABSL_DECLARE_FLAG(std::string, force_fieldtrials); ABSL_DECLARE_FLAG(std::vector, plot); ABSL_DECLARE_FLAG(std::string, isolated_script_test_perf_output); +ABSL_DECLARE_FLAG(std::string, webrtc_test_metrics_output_path); #endif // TEST_TEST_FLAGS_H_