Lines Matching refs:Benchmark
288 class Benchmark; variable
296 Benchmark* RegisterBenchmarkInternal(Benchmark*);
779 class Benchmark {
781 virtual ~Benchmark();
789 Benchmark* Arg(int64_t x);
792 Benchmark* Unit(TimeUnit unit);
797 Benchmark* Range(int64_t start, int64_t limit);
802 Benchmark* DenseRange(int64_t start, int64_t limit, int step = 1);
807 Benchmark* Args(const std::vector<int64_t>& args);
812 Benchmark* ArgPair(int64_t x, int64_t y) { in ArgPair()
822 Benchmark* Ranges(const std::vector<std::pair<int64_t, int64_t> >& ranges);
825 Benchmark* ArgName(const std::string& name);
829 Benchmark* ArgNames(const std::vector<std::string>& names);
834 Benchmark* RangePair(int64_t lo1, int64_t hi1, int64_t lo2, int64_t hi2) { in RangePair()
844 Benchmark* Apply(void (*func)(Benchmark* benchmark));
848 Benchmark* RangeMultiplier(int multiplier);
853 Benchmark* MinTime(double t);
861 Benchmark* Iterations(size_t n);
866 Benchmark* Repetitions(int n);
872 Benchmark* ReportAggregatesOnly(bool value = true);
875 Benchmark* DisplayAggregatesOnly(bool value = true);
882 Benchmark* UseRealTime();
891 Benchmark* UseManualTime();
895 Benchmark* Complexity(BigO complexity = benchmark::oAuto);
899 Benchmark* Complexity(BigOFunc* complexity);
902 Benchmark* ComputeStatistics(std::string name, StatisticsFunc* statistics);
909 Benchmark* Threads(int t);
923 Benchmark* ThreadRange(int min_threads, int max_threads);
929 Benchmark* DenseThreadRange(int min_threads, int max_threads, int stride = 1);
932 Benchmark* ThreadPerCpu();
937 explicit Benchmark(const char* name);
938 Benchmark(Benchmark const&);
962 Benchmark& operator=(Benchmark const&);
971 internal::Benchmark* RegisterBenchmark(const char* name,
976 internal::Benchmark* RegisterBenchmark(const char* name, Lambda&& fn);
986 class FunctionBenchmark : public Benchmark {
989 : Benchmark(name), func_(func) {} in FunctionBenchmark()
999 class LambdaBenchmark : public Benchmark {
1006 : Benchmark(name), lambda_(std::forward<OLambda>(lam)) {} in LambdaBenchmark()
1012 friend Benchmark* ::benchmark::RegisterBenchmark(const char*, Lam&&);
1020 inline internal::Benchmark* RegisterBenchmark(const char* name, in RegisterBenchmark()
1028 internal::Benchmark* RegisterBenchmark(const char* name, Lambda&& fn) { in RegisterBenchmark()
1039 internal::Benchmark* RegisterBenchmark(const char* name, Lambda&& fn, in RegisterBenchmark()
1049 class Fixture : public internal::Benchmark {
1051 Fixture() : internal::Benchmark("") {} in Fixture()
1091 static ::benchmark::internal::Benchmark* BENCHMARK_PRIVATE_NAME(n) \