1 #ifndef __MINLCA_MINLCA_PROFILER_HH
2 #define __MINLCA_MINLCA_PROFILER_HH
27 template<
typename... Args>
32 : Base(
std::forward<Args>(args)...)
38 template<
typename... Args>
45 Base::init(std::forward<Args>(args)...);
double runTime()
Retrieve the duration of running the algorithm.
double _run_time
Duration of algorithm running.
virtual MinLCAStatus run()
Run the algorithm.
MinLCAStatus
Possible status for MinLCA solution.
Default namespace Default namespace for MinLCA algorithms.
Defines the base class for MinLCA algorithms.
utils::Timer _t
Timer used to count the durations.
Class for timing MinLCA algorithms.
double initTime()
Retrieve the duration of initialising the algorithm.
double _creation_time
Duration of object creation.
double creationTime()
Retrieve the duration of instantiating the algorithm class.
double elapsed() const
Retrieve elapsed time.
void restart()
Restart the timer.
void init(Args &&...args)
Reset the data structures of the algorithm.
MinLCAProfiler(Args &&...args)
Constructor.
double _init_time
Duration of algorithm initialisation.