mmcv/utils/timer.py
def since_start(self):
        """Total time since the timer is started.

        Returns (float): Time in seconds.
        """
        if not self._is_running:
            raise TimerError('timer is not running')
        self._t_last = time()
        return self._t_last - self._t_start
def since_start(self):
        if not self._is_running:
            raise TimerError('timer is not running')
        self._t_last = time()
        return self._t_last - self._t_start
def since_start ( self ) : if not self . _is_running : raise TimerError ( 'timer is not running' ) self . _t_last = time ( ) return self . _t_last - self . _t_start
Total time since the timer is started.

        Returns (float): Time in seconds.
Total time since the timer is started .