27 #ifndef SRC_ENV_TIMER_HPP_ 28 #define SRC_ENV_TIMER_HPP_ 45 Timer(
double time_limit_in_sec);
55 const double time_limit_in_sec_;
57 const std::chrono::high_resolution_clock::time_point start_time_;
A timer class that can be used by methods that support time limits.
bool expired() const
Checks if the time limit has expired.
Timer(double time_limit_in_sec)
Constructs a timer for a given time limit.
ged::Timer class definition.
Global namespace for GEDLIB.