Lines Matching defs:benchmark
15 #include "benchmark/benchmark.h"
59 namespace benchmark {
68 // Specification of how long to run the benchmark.
72 // format (ie., min seconds) is used, the system may run the benchmark longer
81 // benchmark execution, regardless of number of threads.
84 // Minimum number of seconds a benchmark should be run before results should be
91 // The number of runs of each benchmark. If greater than 1, the mean and
96 // See http://github.com/google/benchmark/issues/1051 for details.
99 // Report the result of each benchmark repetitions. When 'true' is specified
104 // Display the result of each benchmark repetitions. When 'true' is specified
185 // during the benchmark.
356 for (const BenchmarkInstance& benchmark : benchmarks) {
358 std::max<size_t>(name_field_width, benchmark.name().str().size());
359 might_have_aggregates |= benchmark.repetitions() > 1;
361 for (const auto& Stat : benchmark.statistics())
370 // Keep track of running times of all instances of each benchmark family.
395 for (const BenchmarkInstance& benchmark : benchmarks) {
397 if (benchmark.complexity() != oNone)
398 reports_for_family = &per_family_reports[benchmark.family_index()];
399 benchmarks_with_threads += (benchmark.threads() > 1);
400 runners.emplace_back(benchmark, &perfcounters, reports_for_family);
608 for (auto const& benchmark : benchmarks)
609 Out << benchmark.name().str() << "\n";
676 using namespace benchmark;
741 "benchmark"
779 } // end namespace benchmark