#include "benchmark/benchmark.h"
#include <chrono>
#include <thread>
#include <cassert>
Go to the source code of this file.
Functions | |
BENCHMARK (BM_basic) | |
BENCHMARK (BM_basic_slow) -> Arg(10) ->Unit(benchmark::kNanosecond) | |
BENCHMARK (BM_explicit_iteration_count) -> Iterations(42) | |
void | BM_basic (benchmark::State &state) |
void | BM_basic_slow (benchmark::State &state) |
void | BM_explicit_iteration_count (benchmark::State &st) |
void | CustomArgs (benchmark::internal::Benchmark *b) |
BENCHMARK | ( | BM_basic | ) |
Definition at line 31 of file protobuf/third_party/benchmark/test/options_test.cc.
BENCHMARK | ( | BM_basic_slow | ) | -> Arg(10) ->Unit(benchmark::kNanosecond) |
BENCHMARK | ( | BM_explicit_iteration_count | ) | -> Iterations(42) |
void BM_basic | ( | benchmark::State & | state | ) |
Definition at line 10 of file protobuf/third_party/benchmark/test/options_test.cc.
void BM_basic_slow | ( | benchmark::State & | state | ) |
Definition at line 15 of file protobuf/third_party/benchmark/test/options_test.cc.
void BM_explicit_iteration_count | ( | benchmark::State & | st | ) |
Definition at line 47 of file protobuf/third_party/benchmark/test/options_test.cc.
void CustomArgs | ( | benchmark::internal::Benchmark * | b | ) |
Definition at line 39 of file protobuf/third_party/benchmark/test/options_test.cc.