ProfileNode

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

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

Official doc

Constructors

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

Properties

Link copied to clipboard

Function location.

Link copied to clipboard

Child node ids.

Link copied to clipboard

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

Link copied to clipboard

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.