mmcv/utils/timer.py
def start(self):
        """Start the timer."""
        if not self._is_running:
            self._t_start = time()
            self._is_running = True
        self._t_last = time()
def start(self):
        if not self._is_running:
            self._t_start = time()
            self._is_running = True
        self._t_last = time()
def start ( self ) : if not self . _is_running : self . _t_start = time ( ) self . _is_running = True self . _t_last = time ( )
Start the timer.
Start the timer .