diff --git a/module/base/timer.py b/module/base/timer.py index a36182de0..b849d1fc0 100644 --- a/module/base/timer.py +++ b/module/base/timer.py @@ -112,6 +112,10 @@ class Timer: else: return 0. + def set_current(self, current, count=0): + self._current = time.time() - current + self._reach_count = count + def reached(self): """ Returns: