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

Name

Description

name

The benchmarked function's identifier.

param_name

The label used for this parameter set in the output.

Created with MrDocs