Go to the documentation of this file.
2 #include "benchmark/benchmark.h"
4 #define BASIC_BENCHMARK_TEST(x) BENCHMARK(x)->Arg(8)->Arg(512)->Arg(8192)
7 while (
state.KeepRunning()) {
15 while (
state.KeepRunning()) {
16 for (
int x = 0;
x <
state.range(0); ++
x) {
25 for (
int i = 0;
i <
state.range(0); ++
i) {
28 while (
state.KeepRunning()) {
29 for (
int i = 0;
i <
state.range(0); ++
i) {
38 while (
state.KeepRunning()) {
40 for (
int i = 0;
i <
state.range(0); ++
i) {
44 for (
int i = 0;
i <
state.range(0); ++
i) {
53 while (
state.KeepRunning()) {
64 while (
state.KeepRunning()) {
65 for (
int i = 0;
i <
state.range(0); ++
i) {
69 for (
int i = 0;
i <
state.range(0); ++
i) {
77 for (
int i = 0;
i <
state.range(0); ++
i) {
80 while (
state.KeepRunning()) {
81 for (
int i = 0;
i <
state.range(0); ++
i) {
85 for (
int i = 0;
i <
state.range(0); ++
i) {
93 while (
state.KeepRunning()) {
void BM_pause_during(benchmark::State &state)
BENCHMARK_ALWAYS_INLINE void DoNotOptimize(Tp const &value)
#define BASIC_BENCHMARK_TEST(x)
void BM_spin_pause_before(benchmark::State &state)
void BM_spin_empty(benchmark::State &state)
void BM_spin_pause_before_and_after(benchmark::State &state)
void BM_spin_pause_during(benchmark::State &state)
void BM_empty(benchmark::State &state)
void BM_spin_pause_after(benchmark::State &state)
void BM_empty_stop_start(benchmark::State &state)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:45