Home | History | Annotate | Download | only in src

Lines Matching refs:benchmark

15 #include "benchmark/benchmark.h"
59 "Minimum number of seconds we should run benchmark before "
64 "of the benchmark execution, regardless of number of "
68 "The number of runs of each benchmark. If greater than 1, the "
72 "Report the result of each benchmark repetitions. When 'true' is "
95 namespace benchmark {
217 const benchmark::internal::Benchmark::Instance& b,
220 // Create report about this benchmark run.
256 // Execute one thread of benchmark b for the specified number of iterations.
258 void RunInThread(const benchmark::internal::Benchmark::Instance* b,
263 b->benchmark->Run(st);
265 << "Benchmark returned before State::KeepRunning() returned false!";
280 const benchmark::internal::Benchmark::Instance& b,
296 // Try benchmark
320 // Base decisions off of real time if requested by this benchmark.
453 void RunBenchmarks(const std::vector<Benchmark::Instance>& benchmarks,
462 for (const Benchmark::Instance& benchmark : benchmarks) {
464 std::max<size_t>(name_field_width, benchmark.name.size());
465 has_repetitions |= benchmark.repetitions > 1;
477 // Keep track of runing times of all instances of current benchmark
492 for (const auto& benchmark : benchmarks) {
494 RunBenchmark(benchmark, &complexity_reports);
581 std::vector<internal::Benchmark::Instance> benchmarks;
590 for (auto const& benchmark : benchmarks) Out << benchmark.name << "\n";
602 "benchmark"
617 using namespace benchmark;
667 } // end namespace benchmark