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

Method dump_stats

tools/python-3.11.9-amd64/Lib/cProfile.py:45–49  ·  view source on GitHub ↗
(self, file)

Source from the content-addressed store, hash-verified

43 pstats.Stats(self).strip_dirs().sort_stats(sort).print_stats()
44
45 def dump_stats(self, file):
46 import marshal
47 with open(file, 'wb') as f:
48 self.create_stats()
49 marshal.dump(self.stats, f)
50
51 def create_stats(self):
52 self.disable()

Callers

nothing calls this directly

Calls 3

create_statsMethod · 0.95
openFunction · 0.70
dumpMethod · 0.45

Tested by

no test coverage detected