def restart(self):
        duration = 0.0
        if self._start is not None:
            duration = self.duration

        self.start()
        return duration
Start the timer, return the previous duration.
dataset/ETHPy150Open bloomberg/phabricator-tools/py/phl/phlsys_timer.py/Timer.restart