8 #ifndef MANAK_BENCHMARK_CASE_HPP_INCLUDED
9 #define MANAK_BENCHMARK_CASE_HPP_INCLUDED
41 std::function<T()> run_function,
50 const std::string& library_name,
58 inline std::list<utils::ObjectStore>
Run();
63 #ifndef MANAK_GEN_PRECOMPILE
64 #include "benchmark_case.ipp"
65 #endif // MANAK_GEN_PRECOMPILE
67 #endif // MANAK_BENCHMARK_CASE_HPP_INCLUDED
#define MANAK_DEFAULT_ITERATIONS
Set default iterations if not defined.
#define MANAK_DEFAULT_SP
Set default success percentage for benchmark-test cases.
BenchmarkCase(const std::string &name, const std::string &library_name, double tolerance=MANAK_DEFAULT_TOLERANCE, const size_t iterations=MANAK_DEFAULT_ITERATIONS, const double success_p=MANAK_DEFAULT_SP)
BenchmarkCase(const std::string &name, const std::string &library_name, std::function< T()> run_function, double tolerance=MANAK_DEFAULT_TOLERANCE, const size_t iterations=MANAK_DEFAULT_ITERATIONS, const double success_p=MANAK_DEFAULT_SP)
#define MANAK_DEFAULT_TOLERANCE
Set default tolerance if not defined.
std::list< utils::ObjectStore > Run()
BenchmarkCase(const std::string &name, const std::string &library_name, T(run_function)(), double tolerance=MANAK_DEFAULT_TOLERANCE, const size_t iterations=MANAK_DEFAULT_ITERATIONS, const double success_p=MANAK_DEFAULT_SP)