mirror of
https://github.com/google/benchmark.git
synced 2025-03-13 18:50:11 +08:00
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:
parent
9714eb8d11
commit
2257fa4d6a
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user