struct Protocol::HeapProfiler::SamplingHeapProfileNode
- Protocol::HeapProfiler::SamplingHeapProfileNode
- Struct
- Value
- Object
Overview
Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.
Included Modules
- JSON::Serializable
Defined in:
protocol/heap_profiler.crConstructors
Instance Method Summary
-
#call_frame : Runtime::CallFrame
Function location.
-
#children : Array(SamplingHeapProfileNode)
Child nodes.
-
#id : Int::Primitive
Node id.
-
#self_size : Number::Primitive
Allocations size in bytes for the node excluding children.
Constructor Detail
Instance Method Detail
def id : Int::Primitive
#
Node id. Ids are unique across all profiles collected between startSampling and stopSampling.