BENCHMARK_COUNTERS_NAMED_PARAM

Like BENCHMARK_NAMED_PARAM, but passes a UserCounters& parameter to the benchmark function for recording custom counters.

Synopsis

Declared in <folly/Benchmark.h>

#define BENCHMARK_COUNTERS_NAMED_PARAM(name, param_name, ...)

Parameters

NameDescription
nameThe benchmarked function's identifier.
param_nameThe label used for this parameter set in the output.