struct Protocol::Profiler::ProfileNode
- Protocol::Profiler::ProfileNode
- Struct
- Value
- Object
Overview
Profile node. Holds callsite information, execution statistics and child nodes.
Included Modules
- JSON::Serializable
Defined in:
protocol/profiler.crConstructors
Instance Method Summary
-
#call_frame : Runtime::CallFrame
Function location.
-
#children : Array(Int::Primitive) | Nil
Child node ids.
-
#deopt_reason : String | Nil
The reason of being not optimized.
-
#hit_count : Int::Primitive | Nil
Number of samples where this node was on top of the call stack.
-
#id : Int::Primitive
Unique id of the node.
-
#position_ticks : Array(PositionTickInfo) | Nil
An array of source position ticks.
Constructor Detail
Instance Method Detail
def deopt_reason : String | Nil
#
The reason of being not optimized. The function may be deoptimized or marked as don't optimize.
def hit_count : Int::Primitive | Nil
#
Number of samples where this node was on top of the call stack.