[#BENCHMARK_COUNTERS] = BENCHMARK_COUNTERS :mrdocs: Allow users to record customized counter during benchmarking, there will be one extra column showing in the output result for each counter == Synopsis Declared in `<folly/Benchmark.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- #define BENCHMARK_COUNTERS(name, counters, ...) ---- == Description BENCHMARK_COUNTERS(insertVectorBegin, counters, iters) { vector<int> v; for (unsigned int i = 0; i < iters; ++i) { v.insert(v.begin(), 42); } BENCHMARK_SUSPEND { counters["foo"]= 10; } } == Parameters [cols="1,4"] |=== | Name| Description | *name* | The benchmark's name, also used as its function identifier. | *counters* | The UserCounters parameter recorded during the benchmark. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#