Add flag to export in new MetricSet proto format

Bug: b/246095034
Change-Id: I7e879ab9d47267788793a65a75fba401bf9aa38a
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/277561
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38259}
This commit is contained in:
Artem Titov 2022-09-30 14:20:44 +02:00 committed by WebRTC LUCI CQ
parent 4d41913d14
commit 9a92b8a546
2 changed files with 8 additions and 0 deletions

View File

@ -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");

View File

@ -18,5 +18,6 @@
ABSL_DECLARE_FLAG(std::string, force_fieldtrials);
ABSL_DECLARE_FLAG(std::vector<std::string>, 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_