From 09abf1b529b4226f585ecfbb20866715b901755b Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 1 Dec 2021 13:34:22 +0800 Subject: +fpm --- .../googlebench/src/benchmark_api_internal.h | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Client/ThirdParty/fpm/3rdparty/googlebench/src/benchmark_api_internal.h (limited to 'Client/ThirdParty/fpm/3rdparty/googlebench/src/benchmark_api_internal.h') diff --git a/Client/ThirdParty/fpm/3rdparty/googlebench/src/benchmark_api_internal.h b/Client/ThirdParty/fpm/3rdparty/googlebench/src/benchmark_api_internal.h new file mode 100644 index 0000000..dd7a3ff --- /dev/null +++ b/Client/ThirdParty/fpm/3rdparty/googlebench/src/benchmark_api_internal.h @@ -0,0 +1,47 @@ +#ifndef BENCHMARK_API_INTERNAL_H +#define BENCHMARK_API_INTERNAL_H + +#include "benchmark/benchmark.h" + +#include +#include +#include +#include +#include + +namespace benchmark { +namespace internal { + +// Information kept per benchmark we may want to run +struct Benchmark::Instance { + std::string name; + Benchmark* benchmark; + ReportMode report_mode; + std::vector arg; + TimeUnit time_unit; + int range_multiplier; + bool use_real_time; + bool use_manual_time; + BigO complexity; + BigOFunc* complexity_lambda; + UserCounters counters; + const std::vector* statistics; + bool last_benchmark_instance; + int repetitions; + double min_time; + size_t iterations; + int threads; // Number of concurrent threads to us +}; + +bool FindBenchmarksInternal(const std::string& re, + std::vector* benchmarks, + std::ostream* Err); + +bool IsZero(double n); + +ConsoleReporter::OutputOptions GetOutputOptions(bool force_no_color = false); + +} // end namespace internal +} // end namespace benchmark + +#endif // BENCHMARK_API_INTERNAL_H -- cgit v1.1-26-g67d0