Lines Matching refs:Benchmark
73 size_t AddBenchmark(std::unique_ptr<Benchmark> family);
87 std::vector<std::unique_ptr<Benchmark>> families_;
96 size_t BenchmarkFamilies::AddBenchmark(std::unique_ptr<Benchmark> family) { in AddBenchmark()
131 for (std::unique_ptr<Benchmark>& family : families_) { in FindBenchmarks()
223 Benchmark* RegisterBenchmarkInternal(Benchmark* bench) { in RegisterBenchmarkInternal()
224 std::unique_ptr<Benchmark> bench_ptr(bench); in RegisterBenchmarkInternal()
242 Benchmark::Benchmark(const char* name) in Benchmark() function in benchmark::internal::Benchmark
259 Benchmark::~Benchmark() {} in ~Benchmark()
261 Benchmark* Benchmark::Arg(int64_t x) { in Arg()
267 Benchmark* Benchmark::Unit(TimeUnit unit) { in Unit()
272 Benchmark* Benchmark::Range(int64_t start, int64_t limit) { in Range()
283 Benchmark* Benchmark::Ranges( in Ranges()
317 Benchmark* Benchmark::ArgName(const std::string& name) { in ArgName()
323 Benchmark* Benchmark::ArgNames(const std::vector<std::string>& names) { in ArgNames()
329 Benchmark* Benchmark::DenseRange(int64_t start, int64_t limit, int step) { in DenseRange()
339 Benchmark* Benchmark::Args(const std::vector<int64_t>& args) { in Args()
345 Benchmark* Benchmark::Apply(void (*custom_arguments)(Benchmark* benchmark)) { in Apply()
350 Benchmark* Benchmark::RangeMultiplier(int multiplier) { in RangeMultiplier()
356 Benchmark* Benchmark::MinTime(double t) { in MinTime()
363 Benchmark* Benchmark::Iterations(size_t n) { in Iterations()
370 Benchmark* Benchmark::Repetitions(int n) { in Repetitions()
376 Benchmark* Benchmark::ReportAggregatesOnly(bool value) { in ReportAggregatesOnly()
381 Benchmark* Benchmark::DisplayAggregatesOnly(bool value) { in DisplayAggregatesOnly()
397 Benchmark* Benchmark::UseRealTime() { in UseRealTime()
404 Benchmark* Benchmark::UseManualTime() { in UseManualTime()
411 Benchmark* Benchmark::Complexity(BigO complexity) { in Complexity()
416 Benchmark* Benchmark::Complexity(BigOFunc* complexity) { in Complexity()
422 Benchmark* Benchmark::ComputeStatistics(std::string name, in ComputeStatistics()
428 Benchmark* Benchmark::Threads(int t) { in Threads()
434 Benchmark* Benchmark::ThreadRange(int min_threads, int max_threads) { in ThreadRange()
442 Benchmark* Benchmark::DenseThreadRange(int min_threads, int max_threads, in DenseThreadRange()
455 Benchmark* Benchmark::ThreadPerCpu() { in ThreadPerCpu()
460 void Benchmark::SetName(const char* name) { name_ = name; } in SetName()
462 int Benchmark::ArgsCnt() const { in ArgsCnt()