(self)
return self._measured_time
Updates the timer.

    Returns:
      Time elapsed since the last call to this method.
Updates the timer.
Updates the timer .
def tick(self):
    """Updates the timer.

    Returns:
      Time elapsed since the last call to this method.
    """
    curr_time = time.time()
    self._measured_time = curr_time - self._previous_time
    self._previous_time = curr_time
    return self._measured_time
def tick ( self ) : curr_time = time . time ( ) self . _measured_time = curr_time - self . _previous_time self . _previous_time = curr_time return self . _measured_time