benchmark 1.9.5
Loading...
Searching...
No Matches
benchmark::Fixture Class Referenceabstract
Inheritance diagram for benchmark::Fixture:
benchmark::Benchmark

Public Member Functions

void Run (State &st) override
virtual void SetUp (const State &)
virtual void TearDown (const State &)
virtual void SetUp (State &st)
virtual void TearDown (State &st)
Public Member Functions inherited from benchmark::Benchmark
Benchmark * Name (const std::string &name)
Benchmark * Arg (int64_t x)
Benchmark * Unit (TimeUnit unit)
Benchmark * Range (int64_t start, int64_t limit)
Benchmark * DenseRange (int64_t start, int64_t limit, int step=1)
Benchmark * Args (const std::vector< int64_t > &args)
Benchmark * ArgPair (int64_t x, int64_t y)
Benchmark * Ranges (const std::vector< std::pair< int64_t, int64_t > > &ranges)
Benchmark * ArgsProduct (const std::vector< std::vector< int64_t > > &arglists)
Benchmark * ArgName (const std::string &name)
Benchmark * ArgNames (const std::vector< std::string > &names)
Benchmark * RangePair (int64_t lo1, int64_t hi1, int64_t lo2, int64_t hi2)
Benchmark * Setup (callback_function &&)
Benchmark * Setup (const callback_function &)
Benchmark * Teardown (callback_function &&)
Benchmark * Teardown (const callback_function &)
Benchmark * Apply (const std::function< void(Benchmark *benchmark)> &)
Benchmark * RangeMultiplier (int multiplier)
Benchmark * MinTime (double t)
Benchmark * MinWarmUpTime (double t)
Benchmark * Iterations (IterationCount n)
Benchmark * Repetitions (int n)
Benchmark * ReportAggregatesOnly (bool value=true)
Benchmark * DisplayAggregatesOnly (bool value=true)
Benchmark * MeasureProcessCPUTime ()
Benchmark * UseRealTime ()
Benchmark * UseManualTime ()
Benchmark * Complexity (BigO complexity=benchmark::oAuto)
Benchmark * Complexity (BigOFunc *complexity)
Benchmark * ComputeStatistics (const std::string &name, StatisticsFunc *statistics, StatisticUnit unit=kTime)
Benchmark * Threads (int t)
Benchmark * ThreadRange (int min_threads, int max_threads)
Benchmark * DenseThreadRange (int min_threads, int max_threads, int stride=1)
Benchmark * ThreadPerCpu ()
Benchmark * ThreadRunner (threadrunner_factory &&factory)
TimeUnit GetTimeUnit () const
const char * GetName () const
int ArgsCnt () const
const char * GetArgName (int arg) const

Protected Member Functions

virtual void BenchmarkCase (State &)=0
Protected Member Functions inherited from benchmark::Benchmark
 Benchmark (const std::string &name)
void SetName (const std::string &name)

Member Function Documentation

◆ Run()

void benchmark::Fixture::Run ( State & st)
inlineoverridevirtual

Implements benchmark::Benchmark.


The documentation for this class was generated from the following file: