Use our monotonic everywhere

Gives nicer times relative to process start time than the python stdlib
monotonic
This commit is contained in:
Kovid Goyal
2024-03-26 13:26:18 +05:30
parent 304c68ba6f
commit ede332fecf
7 changed files with 10 additions and 9 deletions

View File

@@ -8,7 +8,7 @@ import re
import sys
from contextlib import suppress
from functools import lru_cache, partial
from time import monotonic, time_ns
from time import time_ns
from types import GeneratorType
from typing import (
TYPE_CHECKING,
@@ -34,6 +34,7 @@ from .fast_data_types import (
EllipticCurveKey,
get_boss,
get_options,
monotonic,
read_command_response,
send_data_to_peer,
)