benchmark 1.9.2
 
Loading...
Searching...
No Matches
benchmark::internal::Benchmark Class Referenceabstract
Inheritance diagram for benchmark::internal::Benchmark:

Public Member Functions

BenchmarkName (const std::string &name)
 
BenchmarkArg (int64_t x)
 
BenchmarkUnit (TimeUnit unit)
 
BenchmarkRange (int64_t start, int64_t limit)
 
BenchmarkDenseRange (int64_t start, int64_t limit, int step=1)
 
BenchmarkArgs (const std::vector< int64_t > &args)
 
BenchmarkArgPair (int64_t x, int64_t y)
 
BenchmarkRanges (const std::vector< std::pair< int64_t, int64_t > > &ranges)
 
BenchmarkArgsProduct (const std::vector< std::vector< int64_t > > &arglists)
 
BenchmarkArgName (const std::string &name)
 
BenchmarkArgNames (const std::vector< std::string > &names)
 
BenchmarkRangePair (int64_t lo1, int64_t hi1, int64_t lo2, int64_t hi2)
 
BenchmarkSetup (callback_function &&)
 
BenchmarkSetup (const callback_function &)
 
BenchmarkTeardown (callback_function &&)
 
BenchmarkTeardown (const callback_function &)
 
BenchmarkApply (void(*custom_arguments)(Benchmark *benchmark))
 
BenchmarkRangeMultiplier (int multiplier)
 
BenchmarkMinTime (double t)
 
BenchmarkMinWarmUpTime (double t)
 
BenchmarkIterations (IterationCount n)
 
BenchmarkRepetitions (int n)
 
BenchmarkReportAggregatesOnly (bool value=true)
 
BenchmarkDisplayAggregatesOnly (bool value=true)
 
BenchmarkMeasureProcessCPUTime ()
 
BenchmarkUseRealTime ()
 
BenchmarkUseManualTime ()
 
BenchmarkComplexity (BigO complexity=benchmark::oAuto)
 
BenchmarkComplexity (BigOFunc *complexity)
 
BenchmarkComputeStatistics (const std::string &name, StatisticsFunc *statistics, StatisticUnit unit=kTime)
 
BenchmarkThreads (int t)
 
BenchmarkThreadRange (int min_threads, int max_threads)
 
BenchmarkDenseThreadRange (int min_threads, int max_threads, int stride=1)
 
BenchmarkThreadPerCpu ()
 
virtual void Run (State &state)=0
 
TimeUnit GetTimeUnit () const
 
const char * GetName () const
 
int ArgsCnt () const
 
const char * GetArgName (int arg) const
 

Protected Member Functions

 Benchmark (const std::string &name)
 
void SetName (const std::string &name)
 

Friends

class BenchmarkFamilies
 
class BenchmarkInstance
 

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