#include <benchmark.h>
Public Member Functions | |
Fixture () | |
virtual void | Run (State &st) |
virtual void | SetUp (const State &) |
virtual void | SetUp (State &st) |
virtual void | TearDown (const State &) |
virtual void | TearDown (State &st) |
![]() | |
Benchmark * | Apply (void(*func)(Benchmark *benchmark)) |
Benchmark * | Arg (int x) |
Benchmark * | ArgName (const std::string &name) |
Benchmark * | ArgNames (const std::vector< std::string > &names) |
Benchmark * | ArgPair (int x, int y) |
Benchmark * | Args (const std::vector< int > &args) |
Benchmark * | Complexity (BigO complexity=benchmark::oAuto) |
Benchmark * | Complexity (BigOFunc *complexity) |
Benchmark * | DenseRange (int start, int limit, int step=1) |
Benchmark * | DenseThreadRange (int min_threads, int max_threads, int stride=1) |
Benchmark * | Iterations (size_t n) |
Benchmark * | MinTime (double t) |
Benchmark * | Range (int start, int limit) |
Benchmark * | RangeMultiplier (int multiplier) |
Benchmark * | RangePair (int lo1, int hi1, int lo2, int hi2) |
Benchmark * | Ranges (const std::vector< std::pair< int, int > > &ranges) |
Benchmark * | Repetitions (int n) |
Benchmark * | ReportAggregatesOnly (bool value=true) |
Benchmark * | ThreadPerCpu () |
Benchmark * | ThreadRange (int min_threads, int max_threads) |
Benchmark * | Threads (int t) |
Benchmark * | Unit (TimeUnit unit) |
Benchmark * | UseManualTime () |
Benchmark * | UseRealTime () |
virtual | ~Benchmark () |
Protected Member Functions | |
virtual void | BenchmarkCase (State &)=0 |
![]() | |
int | ArgsCnt () const |
Benchmark (Benchmark const &) | |
Benchmark (const char *name) | |
void | SetName (const char *name) |
Additional Inherited Members | |
![]() | |
static void | AddRange (std::vector< int > *dst, int lo, int hi, int mult) |
Definition at line 850 of file benchmark.h.
|
inline |
Definition at line 852 of file benchmark.h.
Implemented in SerializeFixture< T >, ParseReuseFixture< T >, ParseNewArenaFixture< T >, and ParseNewFixture< T >.
Implements benchmark::internal::Benchmark.
Definition at line 854 of file benchmark.h.
Definition at line 861 of file benchmark.h.
Definition at line 864 of file benchmark.h.
Definition at line 862 of file benchmark.h.
Definition at line 865 of file benchmark.h.