heapprof.types: Common definitions¶
-
class
heapprof.types.
RawTraceLine
¶ Bases:
tuple
A RawTraceLine represents a single line of code.
-
property
filename
¶ Alias for field number 0
-
property
lineno
¶ Alias for field number 1
-
classmethod
parse
(value: Union[RawTraceLine, str]) → heapprof.types.RawTraceLine¶
-
property
-
class
heapprof.types.
TraceLine
¶ Bases:
tuple
A TraceLine is a RawTraceLine plus the actual line of code. These can be fetched from HPM files so long as the source code is also present; doing so is (for obvious reasons) more expensive than just working with RawTraces, but can make nicer stack traces.
-
property
filename
¶ Alias for field number 0
-
property
lineno
¶ Alias for field number 1
-
property
fileline
¶ Alias for field number 2
-
property