benchmark 1.9.4
Loading...
Searching...
No Matches
benchmark::internal::LambdaBenchmark< Lambda > Class Template Reference
Inheritance diagram for benchmark::internal::LambdaBenchmark< Lambda >:
Collaboration diagram for benchmark::internal::LambdaBenchmark< Lambda >:

Public Member Functions

void Run (State &st) override
template<class OLambda>
 LambdaBenchmark (const std::string &name, OLambda &&lam)
Public Member Functions inherited from benchmark::internal::Benchmark
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 ()
BenchmarkThreadRunner (threadrunner_factory &&factory)
TimeUnit GetTimeUnit () const
const char * GetName () const
int ArgsCnt () const
const char * GetArgName (int arg) const

Additional Inherited Members

Protected Member Functions inherited from benchmark::internal::Benchmark
 Benchmark (const std::string &name)
void SetName (const std::string &name)

Member Function Documentation

◆ Run()

template<class Lambda>
void benchmark::internal::LambdaBenchmark< Lambda >::Run ( State & st)
inlineoverridevirtual

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