struct Protocol::Profiler::ProfileNode

Overview

Profile node. Holds callsite information, execution statistics and child nodes.

Included Modules

Defined in:

protocol/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(Int::Primitive) | Nil #

Child node ids.


[View source]
def deopt_reason : String | Nil #

The reason of being not optimized. The function may be deoptimized or marked as don't optimize.


[View source]
def hit_count : Int::Primitive | Nil #

Number of samples where this node was on top of the call stack.


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

Unique id of the node.


[View source]
def position_ticks : Array(PositionTickInfo) | Nil #

An array of source position ticks.


[View source]