chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.profiler / ProfileNode

ProfileNode

data class ProfileNode

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

Official doc

Constructors

<init>

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

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

Properties

callFrame

Function location.

val callFrame: CallFrame

children

Child node ids.

val children: List<Int>?

deoptReason

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

val deoptReason: String?

hitCount

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

val hitCount: Int?

id

Unique id of the node.

val id: Int

positionTicks

An array of source position ticks.

val positionTicks: List<PositionTickInfo>?