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

Method sample_count

Lib/profiling/sampling/binary_reader.py:76–79  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

74
75 @property
76 def sample_count(self):
77 if self._reader is None:
78 raise RuntimeError("Reader not open. Use as context manager.")
79 return self._reader.get_info()['sample_count']
80
81 def get_stats(self):
82 """Get reconstruction statistics from replay.

Callers

nothing calls this directly

Calls 1

get_infoMethod · 0.45

Tested by

no test coverage detected