Return option benchmark_perf_counters to help output (#1508)

* Return option benchmark_perf_counters to help output

* Add guard HAVE_LIBPFM
This commit is contained in:
Maxim Smolskiy 2022-11-12 03:50:16 +03:00 committed by GitHub
parent 9714eb8d11
commit 2257fa4d6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -676,6 +676,9 @@ void PrintDefaultHelp() {
" [--benchmark_out_format=<json|console|csv>]\n"
" [--benchmark_color={auto|true|false}]\n"
" [--benchmark_counters_tabular={true|false}]\n"
#if defined HAVE_LIBPFM
" [--benchmark_perf_counters=<counter>,...]\n"
#endif
" [--benchmark_context=<key>=<value>,...]\n"
" [--benchmark_time_unit={ns|us|ms|s}]\n"
" [--v=<verbosity>]\n");