Lines Matching refs:Benchmark
75 size_t AddBenchmark(std::unique_ptr<Benchmark> family);
89 std::vector<std::unique_ptr<Benchmark>> families_;
98 size_t BenchmarkFamilies::AddBenchmark(std::unique_ptr<Benchmark> family) { in AddBenchmark()
135 for (std::unique_ptr<Benchmark>& family : families_) { in FindBenchmarks()
183 Benchmark* RegisterBenchmarkInternal(Benchmark* bench) { in RegisterBenchmarkInternal()
184 std::unique_ptr<Benchmark> bench_ptr(bench); in RegisterBenchmarkInternal()
202 Benchmark::Benchmark(const char* name) in Benchmark() function in benchmark::internal::Benchmark
223 Benchmark::~Benchmark() {} in ~Benchmark()
225 Benchmark* Benchmark::Name(const std::string& name) { in Name()
230 Benchmark* Benchmark::Arg(int64_t x) { in Arg()
236 Benchmark* Benchmark::Unit(TimeUnit unit) { in Unit()
241 Benchmark* Benchmark::Range(int64_t start, int64_t limit) { in Range()
252 Benchmark* Benchmark::Ranges( in Ranges()
266 Benchmark* Benchmark::ArgsProduct( in ArgsProduct()
294 Benchmark* Benchmark::ArgName(const std::string& name) { in ArgName()
300 Benchmark* Benchmark::ArgNames(const std::vector<std::string>& names) { in ArgNames()
306 Benchmark* Benchmark::DenseRange(int64_t start, int64_t limit, int step) { in DenseRange()
315 Benchmark* Benchmark::Args(const std::vector<int64_t>& args) { in Args()
321 Benchmark* Benchmark::Apply(void (*custom_arguments)(Benchmark* benchmark)) { in Apply()
326 Benchmark* Benchmark::Setup(void (*setup)(const benchmark::State&)) { in Setup()
332 Benchmark* Benchmark::Teardown(void (*teardown)(const benchmark::State&)) { in Teardown()
338 Benchmark* Benchmark::RangeMultiplier(int multiplier) { in RangeMultiplier()
344 Benchmark* Benchmark::MinTime(double t) { in MinTime()
351 Benchmark* Benchmark::Iterations(IterationCount n) { in Iterations()
358 Benchmark* Benchmark::Repetitions(int n) { in Repetitions()
364 Benchmark* Benchmark::ReportAggregatesOnly(bool value) { in ReportAggregatesOnly()
369 Benchmark* Benchmark::DisplayAggregatesOnly(bool value) { in DisplayAggregatesOnly()
385 Benchmark* Benchmark::MeasureProcessCPUTime() { in MeasureProcessCPUTime()
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(const std::string& name, in ComputeStatistics()
423 Benchmark* Benchmark::Threads(int t) { in Threads()
429 Benchmark* Benchmark::ThreadRange(int min_threads, int max_threads) { in ThreadRange()
437 Benchmark* Benchmark::DenseThreadRange(int min_threads, int max_threads, in DenseThreadRange()
450 Benchmark* Benchmark::ThreadPerCpu() { in ThreadPerCpu()
455 void Benchmark::SetName(const char* name) { name_ = name; } in SetName()
457 int Benchmark::ArgsCnt() const { in ArgsCnt()