Lines Matching refs:benchmarks
60 // Print a list of benchmarks. This option overrides all other options.
63 // A regular expression that specifies the set of benchmarks to execute. If
64 // this flag is empty, or if this flag is the string \"all\", all benchmarks
85 // taken into account. This e.g can be necessary for benchmarks of code which
95 // If set, enable random interleaving of repetitions of all benchmarks.
101 // repeated benchmarks. Affects all reporters.
106 // repeated benchmarks. Unlike benchmark_report_aggregates_only, only affects
346 void RunBenchmarks(const std::vector<BenchmarkInstance>& benchmarks,
356 for (const BenchmarkInstance& benchmark : benchmarks) {
386 // Vector of benchmarks to run
388 runners.reserve(benchmarks.size());
390 // Count the number of benchmarks with threads to warn the user in case
394 // Loop through all benchmarks
395 for (const BenchmarkInstance& benchmark : benchmarks) {
406 assert(runners.size() == benchmarks.size() && "Unexpected runner count.");
413 << " benchmarks with threads and " << perfcounters.num_counters()
562 spec = "."; // Regexp that matches all benchmarks
599 std::vector<internal::BenchmarkInstance> benchmarks;
600 if (!FindBenchmarksInternal(spec, &benchmarks, &Err)) return 0;
602 if (benchmarks.empty()) {
603 Err << "Failed to match any benchmarks against regex: " << spec << "\n";
608 for (auto const& benchmark : benchmarks)
611 internal::RunBenchmarks(benchmarks, display_reporter, file_reporter);
614 return benchmarks.size();
618 // stores the time unit benchmarks use by default