Introduces a benchmark function. Used internally, see BENCHMARK and friends below.

Synopsis

Declared in <folly/Benchmark.h>

#define BENCHMARK_IMPL(funName, stringName, rv, paramType, paramName)

Parameters

Name

Description

funName

The generated benchmark function's identifier.

stringName

The benchmark's display name.

rv

The value the benchmark lambda returns as its iteration count.

paramType

The type of the benchmark's iteration parameter.

paramName

The name of the benchmark's iteration parameter.

Created with MrDocs