ProfileNode

@Serializable
data class ProfileNode(val id: Int, val callFrame: Runtime.CallFrame, val hitCount: Int? = null, val children: List<Int>? = null, val deoptReason: String? = null, val positionTicks: List<Profiler.PositionTickInfo>? = null)

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

Constructors

Link copied to clipboard
constructor(id: Int, callFrame: Runtime.CallFrame, hitCount: Int? = null, children: List<Int>? = null, deoptReason: String? = null, positionTicks: List<Profiler.PositionTickInfo>? = null)

Properties

Link copied to clipboard

Function location.

Link copied to clipboard
val children: List<Int>? = null

Child node ids.

Link copied to clipboard
val deoptReason: String? = null

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

Link copied to clipboard
val hitCount: Int? = null

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

Link copied to clipboard
val id: Int

Unique id of the node.

Link copied to clipboard

An array of source position ticks.