benchmark 1.6.1
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Friends | List of all members
benchmark::internal::Benchmark Class Referenceabstract
Inheritance diagram for benchmark::internal::Benchmark:
Inheritance graph
[legend]

Public Member Functions

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 (void(*setup)(const benchmark::State &))
 
Benchmark * Teardown (void(*teardown)(const benchmark::State &))
 
Benchmark * Apply (void(*func)(Benchmark *benchmark))
 
Benchmark * RangeMultiplier (int multiplier)
 
Benchmark * MinTime (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 ()
 
virtual void Run (State &state)=0
 

Protected Member Functions

 Benchmark (const char *name)
 
 Benchmark (Benchmark const &)
 
void SetName (const char *name)
 
int ArgsCnt () const
 

Friends

class BenchmarkFamilies
 
class BenchmarkInstance
 

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