blob: b53e60dc6b602bfd875fe68056d049947a206211 [file] [log] [blame]
Mirko Bonadei054ea472022-07-21 07:52:321/*
2 * Copyright (c) 2022 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11#include "test/test_flags.h"
12
13#include <string>
14#include <vector>
15
16#include "absl/flags/flag.h"
17
Mirko Bonadei054ea472022-07-21 07:52:3218ABSL_FLAG(std::vector<std::string>,
19 plot,
20 {},
21 "List of metrics that should be exported for plotting (if they are "
22 "available). Example: psnr,ssim,encode_time. To plot all available "
23 " metrics pass 'all' as flag value");
24
25ABSL_FLAG(
26 std::string,
27 isolated_script_test_perf_output,
28 "",
29 "Path where the perf results should be stored in proto format described "
30 "described by histogram.proto in "
31 "https://chromium.googlesource.com/catapult/.");
Artem Titov9a92b8a2022-09-30 12:20:4432
33ABSL_FLAG(std::string,
34 webrtc_test_metrics_output_path,
35 "",
36 "Path where the test perf metrics should be stored using "
37 "api/test/metrics/metric.proto proto format. File will contain "
Mirko Bonadei79c21b12022-12-05 20:05:5838 "MetricsSet as a root proto. On iOS, this MUST be a file name "
39 "and the file will be stored under NSDocumentDirectory.");
Mirko Bonadeib4f87e52022-11-29 14:57:4840
41ABSL_FLAG(bool,
42 export_perf_results_new_api,
43 false,
44 "Tells to initialize new API for exporting performance metrics");
Danil Chapovalovf2443a72023-10-09 14:39:4045
46ABSL_FLAG(bool,
47 webrtc_quick_perf_test,
48 false,
49 "Runs webrtc perfomance tests in quick mode.");