def tic(self): """ Start a new timer and push it on the stack. """ timer = Timer(logger=self) self._tics.append(timer) timer.__enter__()