Use time.monotonic if available