MCPcopy Index your code
hub / github.com/python/cpython / timer

Function timer

Lib/test/profilee.py:22–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20TICKS = 42000
21
22def timer():
23 return TICKS
24
25def testfunc():
26 # 1 call

Callers 5

do_profilingMethod · 0.90
get_time_timerMethod · 0.85
trace_dispatchMethod · 0.85
trace_dispatch_iMethod · 0.85
trace_dispatch_macMethod · 0.85

Calls

no outgoing calls

Tested by 1

do_profilingMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…