MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / dump_stats

Method dump_stats

tools/python-3.11.9-amd64/Lib/pstats.py:195–198  ·  view source on GitHub ↗

Write the profile data to a file we know how to load back.

(self, filename)

Source from the content-addressed store, hash-verified

193 return self
194
195 def dump_stats(self, filename):
196 """Write the profile data to a file we know how to load back."""
197 with open(filename, 'wb') as f:
198 marshal.dump(self.stats, f)
199
200 # list the tuple indices and directions for sorting,
201 # along with some printable description

Callers

nothing calls this directly

Calls 2

openFunction · 0.70
dumpMethod · 0.45

Tested by

no test coverage detected