BENCHMARK_MULTI_IMPL

Introduces a benchmark function with support for returning the actual number of iterations. Used internally, see BENCHMARK_MULTI and friends below.

Synopsis

Declared in <folly/Benchmark.h>

#define BENCHMARK_MULTI_IMPL(funName, stringName, paramType, paramName)

Parameters

NameDescription
funNameThe generated benchmark function's identifier.
stringNameThe benchmark's display name.
paramTypeThe type of the benchmark's iteration parameter.
paramNameThe name of the benchmark's iteration parameter.