Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ create_stats
Method
create_stats
Lib/profile.py:407–409 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
405
marshal.dump(self.stats, f)
406
407
def
create_stats(self):
408
self.simulate_cmd_complete()
409
self.snapshot_stats()
410
411
def
snapshot_stats(self):
412
self.stats = {}
Callers
1
dump_stats
Method · 0.95
Calls
2
simulate_cmd_complete
Method · 0.95
snapshot_stats
Method · 0.95
Tested by
no test coverage detected