• Home
  • Raw
  • Download

Lines Matching refs:Benchmark

70   size_t AddBenchmark(std::unique_ptr<Benchmark> family);
78 std::vector<Benchmark::Instance>* benchmarks,
84 std::vector<std::unique_ptr<Benchmark>> families_;
93 size_t BenchmarkFamilies::AddBenchmark(std::unique_ptr<Benchmark> family) { in AddBenchmark()
107 const std::string& spec, std::vector<Benchmark::Instance>* benchmarks, in FindBenchmarks()
123 for (std::unique_ptr<Benchmark>& family : families_) { in FindBenchmarks()
147 Benchmark::Instance instance; in FindBenchmarks()
209 Benchmark* RegisterBenchmarkInternal(Benchmark* bench) { in RegisterBenchmarkInternal()
210 std::unique_ptr<Benchmark> bench_ptr(bench); in RegisterBenchmarkInternal()
219 std::vector<Benchmark::Instance>* benchmarks, in FindBenchmarksInternal()
228 Benchmark::Benchmark(const char* name) in Benchmark() function in benchmark::internal::Benchmark
245 Benchmark::~Benchmark() {} in ~Benchmark()
247 void Benchmark::AddRange(std::vector<int>* dst, int lo, int hi, int mult) { in AddRange()
270 Benchmark* Benchmark::Arg(int x) { in Arg()
276 Benchmark* Benchmark::Unit(TimeUnit unit) { in Unit()
281 Benchmark* Benchmark::Range(int start, int limit) { in Range()
292 Benchmark* Benchmark::Ranges(const std::vector<std::pair<int, int>>& ranges) { in Ranges()
325 Benchmark* Benchmark::ArgName(const std::string& name) { in ArgName()
331 Benchmark* Benchmark::ArgNames(const std::vector<std::string>& names) { in ArgNames()
337 Benchmark* Benchmark::DenseRange(int start, int limit, int step) { in DenseRange()
347 Benchmark* Benchmark::Args(const std::vector<int>& args) { in Args()
353 Benchmark* Benchmark::Apply(void (*custom_arguments)(Benchmark* benchmark)) { in Apply()
358 Benchmark* Benchmark::RangeMultiplier(int multiplier) { in RangeMultiplier()
365 Benchmark* Benchmark::MinTime(double t) { in MinTime()
373 Benchmark* Benchmark::Iterations(size_t n) { in Iterations()
380 Benchmark* Benchmark::Repetitions(int n) { in Repetitions()
386 Benchmark* Benchmark::ReportAggregatesOnly(bool value) { in ReportAggregatesOnly()
391 Benchmark* Benchmark::UseRealTime() { in UseRealTime()
398 Benchmark* Benchmark::UseManualTime() { in UseManualTime()
405 Benchmark* Benchmark::Complexity(BigO complexity) { in Complexity()
410 Benchmark* Benchmark::Complexity(BigOFunc* complexity) { in Complexity()
416 Benchmark* Benchmark::ComputeStatistics(std::string name, in ComputeStatistics()
422 Benchmark* Benchmark::Threads(int t) { in Threads()
428 Benchmark* Benchmark::ThreadRange(int min_threads, int max_threads) { in ThreadRange()
436 Benchmark* Benchmark::DenseThreadRange(int min_threads, int max_threads, in DenseThreadRange()
449 Benchmark* Benchmark::ThreadPerCpu() { in ThreadPerCpu()
454 void Benchmark::SetName(const char* name) { name_ = name; } in SetName()
456 int Benchmark::ArgsCnt() const { in ArgsCnt()