MCPcopy Index your code
hub / github.com/python/cpython / create_stats

Method create_stats

Lib/profiling/tracing/__init__.py:67–69  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

65 marshal.dump(self.stats, f)
66
67 def create_stats(self):
68 self.disable()
69 self.snapshot_stats()
70
71 def snapshot_stats(self):
72 entries = self.getstats()

Callers 4

dump_statsMethod · 0.95
test_throwMethod · 0.45

Calls 2

snapshot_statsMethod · 0.95
disableMethod · 0.45

Tested by 3

test_throwMethod · 0.36