1 #ifndef BENCHMARK_API_INTERNAL_H
2 #define BENCHMARK_API_INTERNAL_H
4 #include "benchmark/benchmark.h"
15 // Information kept per benchmark we may want to run
16 struct Benchmark::Instance
{
19 ReportMode report_mode
;
20 std::vector
<int64_t> arg
;
26 BigOFunc
* complexity_lambda
;
27 UserCounters counters
;
28 const std::vector
<Statistics
>* statistics
;
29 bool last_benchmark_instance
;
33 int threads
; // Number of concurrent threads to us
36 bool FindBenchmarksInternal(const std::string
& re
,
37 std::vector
<Benchmark::Instance
>* benchmarks
,
40 bool IsZero(double n
);
42 ConsoleReporter::OutputOptions
GetOutputOptions(bool force_no_color
= false);
44 } // end namespace internal
45 } // end namespace benchmark
47 #endif // BENCHMARK_API_INTERNAL_H