Go to the documentation of this file.
5 #include "benchmark/benchmark.h"
7 #if __cplusplus >= 201103L
8 #error C++11 or greater detected. Should be C++03.
11 #ifdef BENCHMARK_HAS_CXX11
12 #error C++11 or greater detected by the library. BENCHMARK_HAS_CXX11 is defined.
16 while (
state.KeepRunning()) {
26 assert((
state.range(0) == 1 &&
state.range(1) == 2) ||
28 while (
state.KeepRunning()) {
33 template <
class T,
class U>
59 state.counters[
"Foo"] = 2;
BENCHMARK_TEMPLATE_F(BM_Fixture, BM_template1, long)(benchmark
void BM_template1(benchmark::State &state)
BENCHMARK_TEMPLATE2(BM_template2, int, long)
BENCHMARK_TEMPLATE1(BM_template1, int)
BENCHMARK_TEMPLATE(BM_template1, long)
void BM_counters(benchmark::State &state)
void BM_old_arg_range_interface(benchmark::State &state)
void BM_template2(benchmark::State &state)
BENCHMARK_TEMPLATE1_F(BM_Fixture, BM_template2, int)(benchmark
void BM_empty(benchmark::State &state)
static struct rpc_state state
grpc
Author(s):
autogenerated on Fri May 16 2025 02:58:08