gko::stop::Time#

Stops the solver after a wall-clock budget elapses. Useful for benchmarking and for production runs where convergence is a soft target and the iteration count is bounded by available time rather than by a residual threshold.

class Time #

Inherits from

The Time class is a stopping criterion which stops the iteration process after a certain amount of time has passed.

struct parameters_type#

Public Members

std::chrono::nanoseconds time_limit#

Amount of seconds to wait (default value: 10 seconds)