struct Protocol::HeapProfiler::SamplingHeapProfileNode

Overview

Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.

Included Modules

Defined in:

protocol/heap_profiler.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def call_frame : Runtime::CallFrame #

Function location.


[View source]
def children : Array(SamplingHeapProfileNode) #

Child nodes.


[View source]
def id : Int::Primitive #

Node id. Ids are unique across all profiles collected between startSampling and stopSampling.


[View source]
def self_size : Number::Primitive #

Allocations size in bytes for the node excluding children.


[View source]