Searched refs:total_nframe (Results 1 – 5 of 5) sorted by relevance
/third_party/python/Lib/ |
D | tracemalloc.py | 187 def __init__(self, frames, total_nframe=None): argument 194 self._total_nframe = total_nframe 197 def total_nframe(self): member in Traceback 391 domain, size, traceback, total_nframe = trace 411 domain, size, traceback, total_nframe = trace 488 domain, size, trace_traceback, total_nframe = trace 509 domain, size, trace_traceback, total_nframe = trace
|
/third_party/python/Modules/ |
D | _tracemalloc.c | 77 uint16_t total_nframe; member 281 if (traceback1->total_nframe != traceback2->total_nframe) { in hashtable_compare_traceback() 381 x ^= traceback->total_nframe; in traceback_hash() 405 if (traceback->total_nframe < UINT16_MAX) { in traceback_get_frames() 406 traceback->total_nframe++; in traceback_get_frames() 427 traceback->total_nframe = 0; in traceback_new() 913 tracemalloc_empty_traceback.total_nframe = 1; in tracemalloc_init() 1172 obj = PyLong_FromUnsignedLong(trace->traceback->total_nframe); in trace_to_pyobject()
|
/third_party/python/Doc/library/ |
D | tracemalloc.rst | 374 traceback by looking at the :attr:`Traceback.total_nframe` attribute. 723 :attr:`Traceback.total_nframe` attribute. That allows to know if a traceback 732 .. attribute:: total_nframe 739 The :attr:`Traceback.total_nframe` attribute was added.
|
/third_party/python/Lib/test/ |
D | test_tracemalloc.py | 307 self.assertGreater(snapshot.traces[1].traceback.total_nframe, 10) 383 self.assertEqual(trace.traceback.total_nframe, 10)
|
/third_party/python/Misc/NEWS.d/ |
D | 3.9.0a1.rst | 2022 Add a ``total_nframe`` field to the traces collected by the tracemalloc
|