36 void stop(
bool const& ForceDisplay =
false)
38 auto end = std::chrono::steady_clock::now();
41 printf(
"Time elapsed: %5.6f seconds\n", std::chrono::duration <double, std::milli> (diff).count() * 1e-3);
45 std::chrono::time_point<std::chrono::steady_clock>
_startTime;
The Timer class computes the time elapsed between start and stop.
Definition timer.h:20
void stop(bool const &ForceDisplay=false)
This function stops the timer and reports the elapsed time in seconds since the last time the timer w...
Definition timer.h:36
std::chrono::time_point< std::chrono::steady_clock > _startTime
Definition timer.h:45
Timer()
The Timer default constructor.
Definition timer.h:25
void start()
This function starts the timer.
Definition timer.h:30
Namespace for all APFEL++ functions and classes.
Definition alphaqcd.h:14
int GetVerbosityLevel()
Get Verbosity level.