Manak  2.0.0
manak::BenchmarkCase Class Reference
Inheritance diagram for manak::BenchmarkCase:
Collaboration diagram for manak::BenchmarkCase:

Public Member Functions

 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)
 
template<typename T >
 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)
 
template<typename T >
 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)
 
std::list< utils::ObjectStoreRun ()
 
- Public Member Functions inherited from manak::ManakCase
 ManakCase (const std::string &name, const std::string &library_name, double tolerance, const size_t iterations, double success_p)
 
template<typename T >
 ManakCase (const std::string &name, const std::string &library_name, std::function< T()> run_function, double tolerance, const size_t iterations, const double success_p)
 
template<typename T >
 ManakCase (const std::string &name, const std::string &library_name, T(run_function)(), double tolerance, const size_t iterations, double success_p)
 
virtual ~ManakCase ()
 
void AddComparisonEntry (double d)
 
const std::string & LibraryName () const
 
const std::string & Name () const
 
const std::string & UName () const
 
std::string & UName ()
 

Additional Inherited Members

- Protected Attributes inherited from manak::ManakCase
size_t iterations
 
std::string library_name
 
std::string name
 
std::list< std::pair
< std::string, std::function
< void()> > > 
run_functions
 
double success_p
 
std::vector< double > to_c
 
double tolerance
 
std::string uname
 

Detailed Description

Definition at line 27 of file benchmark_case.hpp.

Constructor & Destructor Documentation

manak::BenchmarkCase::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 
)
inline

Definition at line 30 of file benchmark_case.hpp.

template<typename T >
manak::BenchmarkCase::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 
)
inline

Definition at line 39 of file benchmark_case.hpp.

template<typename T >
manak::BenchmarkCase::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 
)
inline

Definition at line 49 of file benchmark_case.hpp.

Member Function Documentation

std::list<utils::ObjectStore> manak::BenchmarkCase::Run ( )
inlinevirtual

Implements manak::ManakCase.


The documentation for this class was generated from the following file: