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

Method track

Lib/test/test_tracemalloc.py:1027–1031  ·  view source on GitHub ↗
(self, release_gil=False, nframe=1)

Source from the content-addressed store, hash-verified

1025 return None
1026
1027 def track(self, release_gil=False, nframe=1):
1028 frames = get_frames(nframe, 1)
1029 _testcapi.tracemalloc_track(self.domain, self.ptr, self.size,
1030 release_gil)
1031 return frames
1032
1033 def untrack(self, release_gil=False):
1034 _testcapi.tracemalloc_untrack(self.domain, self.ptr, release_gil)

Callers 5

check_trackMethod · 0.95
check_untrackMethod · 0.95
test_stop_trackMethod · 0.95
test_stop_untrackMethod · 0.95

Calls 1

get_framesFunction · 0.85

Tested by

no test coverage detected