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

Name

Description

funName

The generated benchmark function's identifier.

stringName

The benchmark's display name.

paramType

The type of the benchmark's iteration parameter.

paramName

The name of the benchmark's iteration parameter.

Created with MrDocs