1 #ifndef BENCHMARK_API_INTERNAL_H
2 #define BENCHMARK_API_INTERNAL_H
4 #include "benchmark/benchmark_api.h"
15 // Information kept per benchmark we may want to run
16 struct Benchmark::Instance {
19 ReportMode report_mode;
26 BigOFunc* complexity_lambda;
27 bool last_benchmark_instance;
30 int threads; // Number of concurrent threads to us
33 bool FindBenchmarksInternal(const std::string& re,
34 std::vector<Benchmark::Instance>* benchmarks,
39 bool IsZero(double n) {
40 return std::abs(n) < std::numeric_limits<double>::epsilon();
44 } // end namespace internal
45 } // end namespace benchmark
47 #endif // BENCHMARK_API_INTERNAL_H