struct Protocol::HeapProfiler::SamplingHeapProfileSample

Overview

A single sample from a sampling profile.

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 node_id : Int::Primitive #

Id of the corresponding profile tree node.


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

Time-ordered sample ordinal number. It is unique across all profiles retrieved between startSampling and stopSampling.


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

Allocation size in bytes attributed to the sample.


[View source]