Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ export
Method
export
Lib/profiling/sampling/pstats_collector.py:61–63 ·
view source on GitHub ↗
(self, filename)
Source
from the content-addressed store, hash-verified
59
self._process_frames(frames, weight=weight)
60
61
def
export(self, filename):
62
self.create_stats()
63
self._dump_stats(filename)
64
65
def
_dump_stats(self, file):
66
stats_with_marker = dict(self.stats)
Callers
2
test_sampling_with_pstats_export
Method · 0.95
test_pstats_collector_export
Method · 0.95
Calls
2
create_stats
Method · 0.95
_dump_stats
Method · 0.95
Tested by
2
test_sampling_with_pstats_export
Method · 0.76
test_pstats_collector_export
Method · 0.76