Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
20
TICKS = 42000
21
22
def
timer():
23
return
TICKS
24
25
def
testfunc():
26
# 1 call
Callers
5
do_profiling
Method · 0.90
get_time_timer
Method · 0.85
trace_dispatch
Method · 0.85
trace_dispatch_i
Method · 0.85
trace_dispatch_mac
Method · 0.85
Calls
no outgoing calls
Tested by
1
do_profiling
Method · 0.72
Used in the wild
real call sites across dependent graphs
searching dependent graphs…