Lines Matching full:benchmark
15 #include "benchmark/benchmark.h"
60 "Minimum number of seconds we should run benchmark before "
65 "of the benchmark execution, regardless of number of "
69 "The number of runs of each benchmark. If greater than 1, the "
73 "Report the result of each benchmark repetitions. When 'true' is "
101 namespace benchmark {
221 const benchmark::internal::Benchmark::Instance& b,
224 // Create report about this benchmark run.
263 // Execute one thread of benchmark b for the specified number of iterations.
265 void RunInThread(const benchmark::internal::Benchmark::Instance* b,
270 b->benchmark->Run(st);
272 << "Benchmark returned before State::KeepRunning() returned false!";
288 const benchmark::internal::Benchmark::Instance& b,
305 // Try benchmark
329 // Base decisions off of real time if requested by this benchmark.
474 void RunBenchmarks(const std::vector<Benchmark::Instance>& benchmarks,
484 for (const Benchmark::Instance& benchmark : benchmarks) {
486 std::max<size_t>(name_field_width, benchmark.name.size());
487 has_repetitions |= benchmark.repetitions > 1;
489 for(const auto& Stat : *benchmark.statistics)
498 // Keep track of runing times of all instances of current benchmark
513 for (const auto& benchmark : benchmarks) {
515 RunBenchmark(benchmark, &complexity_reports);
618 std::vector<internal::Benchmark::Instance> benchmarks;
627 for (auto const& benchmark : benchmarks) Out << benchmark.name << "\n";
639 "benchmark"
655 using namespace benchmark;
714 } // end namespace benchmark