#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) | |
BENCHMARK_MAIN () | |
void | BM_basic (benchmark::State &state) |
void | BM_basic_slow (benchmark::State &state) |
void | BM_explicit_iteration_count (benchmark::State &state) |
void | CustomArgs (benchmark::internal::Benchmark *b) |
RangeMultiplier (std::numeric_limits< int >::max()) -> Range(std::numeric_limits< int64_t >::min(), std::numeric_limits< int64_t >::max()) | |
BENCHMARK | ( | BM_basic | ) |
Definition at line 32 of file benchmark/test/options_test.cc.
BENCHMARK | ( | BM_basic_slow | ) | -> Arg(10) ->Unit(benchmark::kNanosecond) |
BENCHMARK | ( | BM_explicit_iteration_count | ) | -> Iterations(42) |
BENCHMARK_MAIN | ( | ) |
void BM_basic | ( | benchmark::State & | state | ) |
Definition at line 10 of file benchmark/test/options_test.cc.
void BM_basic_slow | ( | benchmark::State & | state | ) |
Definition at line 15 of file benchmark/test/options_test.cc.
void BM_explicit_iteration_count | ( | benchmark::State & | state | ) |
Definition at line 58 of file benchmark/test/options_test.cc.
void CustomArgs | ( | benchmark::internal::Benchmark * | b | ) |
Definition at line 50 of file benchmark/test/options_test.cc.