We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
time
1 parent 420a22f commit 35a541eCopy full SHA for 35a541e
stdlib/3/time.pyi
@@ -92,3 +92,11 @@ if sys.version_info >= (3, 3):
92
def clock_getres(clk_id: int) -> float: ... # Unix only
93
def clock_gettime(clk_id: int) -> float: ... # Unix only
94
def clock_settime(clk_id: int, time: float) -> None: ... # Unix only
95
+
96
+if sys.version_info >= (3, 7):
97
+ def clock_gettime_ns(clock_id: int) -> int: ...
98
+ def clock_settime_ns(clock_id: int, time: int) -> int: ...
99
+ def monotonic_ns() -> int: ...
100
+ def perf_counter_ns() -> int: ...
101
+ def process_time_ns() -> int: ...
102
+ def time_ns() -> int: ...
0 commit comments