Mirko Bonadei | 054ea47 | 2022-07-21 09:52:32 +0200 | [diff] [blame] | 1 | /* |
| 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 | |
| 18 | ABSL_FLAG(std::string, |
| 19 | force_fieldtrials, |
| 20 | "", |
| 21 | "Field trials control experimental feature code which can be forced. " |
| 22 | "E.g. running with --force_fieldtrials=WebRTC-FooFeature/Enable/" |
| 23 | " will assign the group Enable to field trial WebRTC-FooFeature."); |
| 24 | |
| 25 | ABSL_FLAG(std::vector<std::string>, |
| 26 | plot, |
| 27 | {}, |
| 28 | "List of metrics that should be exported for plotting (if they are " |
| 29 | "available). Example: psnr,ssim,encode_time. To plot all available " |
| 30 | " metrics pass 'all' as flag value"); |
| 31 | |
| 32 | ABSL_FLAG( |
| 33 | std::string, |
| 34 | isolated_script_test_perf_output, |
| 35 | "", |
| 36 | "Path where the perf results should be stored in proto format described " |
| 37 | "described by histogram.proto in " |
| 38 | "https://chromium.googlesource.com/catapult/."); |