MCPcopy 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)

Calls 2

create_statsMethod · 0.95
_dump_statsMethod · 0.95