Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ create_stats
Method
create_stats
Lib/profiling/tracing/__init__.py:67–69 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
65
marshal.dump(self.stats, f)
66
67
def
create_stats(self):
68
self.disable()
69
self.snapshot_stats()
70
71
def
snapshot_stats(self):
72
entries = self.getstats()
Callers
4
dump_stats
Method · 0.95
test_get_stats_profile
Method · 0.95
test_cprofile_racing_list_insert
Method · 0.45
test_throw
Method · 0.45
Calls
2
snapshot_stats
Method · 0.95
disable
Method · 0.45
Tested by
3
test_get_stats_profile
Method · 0.76
test_cprofile_racing_list_insert
Method · 0.36
test_throw
Method · 0.36