Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/python/mypy
/ time_spent_us
Function
time_spent_us
mypy/util.py:916–917 ·
view source on GitHub ↗
(t0: int)
Source
from the content-addressed store, hash-verified
914
915
916
def
time_spent_us(t0: int) -> int:
917
return
int((time.perf_counter_ns() - t0) / 1000)
918
919
920
def
plural_s(s: int | Sized) -> str:
Callers
6
get_source
Method · 0.90
parse_file_inner
Method · 0.90
semantic_analysis_pass1
Method · 0.90
type_check_first_pass
Method · 0.90
type_check_second_pass
Method · 0.90
finish_passes
Method · 0.90
Calls
1
int
Class · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…