Lines Matching refs:Benchmark
73 size_t AddBenchmark(std::unique_ptr<Benchmark> family);
81 std::vector<Benchmark::Instance>* benchmarks,
87 std::vector<std::unique_ptr<Benchmark>> families_;
96 size_t BenchmarkFamilies::AddBenchmark(std::unique_ptr<Benchmark> family) { in AddBenchmark()
110 std::string spec, std::vector<Benchmark::Instance>* benchmarks, in FindBenchmarks()
131 for (std::unique_ptr<Benchmark>& family : families_) { in FindBenchmarks()
155 Benchmark::Instance instance; in FindBenchmarks()
218 Benchmark* RegisterBenchmarkInternal(Benchmark* bench) { in RegisterBenchmarkInternal()
219 std::unique_ptr<Benchmark> bench_ptr(bench); in RegisterBenchmarkInternal()
228 std::vector<Benchmark::Instance>* benchmarks, in FindBenchmarksInternal()
237 Benchmark::Benchmark(const char* name) in Benchmark() function in benchmark::internal::Benchmark
254 Benchmark::~Benchmark() {} in ~Benchmark()
256 Benchmark* Benchmark::Arg(int64_t x) { in Arg()
262 Benchmark* Benchmark::Unit(TimeUnit unit) { in Unit()
267 Benchmark* Benchmark::Range(int64_t start, int64_t limit) { in Range()
278 Benchmark* Benchmark::Ranges( in Ranges()
312 Benchmark* Benchmark::ArgName(const std::string& name) { in ArgName()
318 Benchmark* Benchmark::ArgNames(const std::vector<std::string>& names) { in ArgNames()
324 Benchmark* Benchmark::DenseRange(int64_t start, int64_t limit, int step) { in DenseRange()
334 Benchmark* Benchmark::Args(const std::vector<int64_t>& args) { in Args()
340 Benchmark* Benchmark::Apply(void (*custom_arguments)(Benchmark* benchmark)) { in Apply()
345 Benchmark* Benchmark::RangeMultiplier(int multiplier) { in RangeMultiplier()
351 Benchmark* Benchmark::MinTime(double t) { in MinTime()
358 Benchmark* Benchmark::Iterations(size_t n) { in Iterations()
365 Benchmark* Benchmark::Repetitions(int n) { in Repetitions()
371 Benchmark* Benchmark::ReportAggregatesOnly(bool value) { in ReportAggregatesOnly()
376 Benchmark* Benchmark::UseRealTime() { in UseRealTime()
383 Benchmark* Benchmark::UseManualTime() { in UseManualTime()
390 Benchmark* Benchmark::Complexity(BigO complexity) { in Complexity()
395 Benchmark* Benchmark::Complexity(BigOFunc* complexity) { in Complexity()
401 Benchmark* Benchmark::ComputeStatistics(std::string name, in ComputeStatistics()
407 Benchmark* Benchmark::Threads(int t) { in Threads()
413 Benchmark* Benchmark::ThreadRange(int min_threads, int max_threads) { in ThreadRange()
421 Benchmark* Benchmark::DenseThreadRange(int min_threads, int max_threads, in DenseThreadRange()
434 Benchmark* Benchmark::ThreadPerCpu() { in ThreadPerCpu()
439 void Benchmark::SetName(const char* name) { name_ = name; } in SetName()
441 int Benchmark::ArgsCnt() const { in ArgsCnt()