chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.heapprofiler / SamplingHeapProfileNode

SamplingHeapProfileNode

data class SamplingHeapProfileNode

Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.

Official doc

Constructors

<init>

Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.

SamplingHeapProfileNode(callFrame: CallFrame, selfSize: Double, id: Int, children: List<SamplingHeapProfileNode>)

Properties

callFrame

Function location.

val callFrame: CallFrame

children

Child nodes.

val children: List<SamplingHeapProfileNode>

id

Node id. Ids are unique across all profiles collected between startSampling and stopSampling.

val id: Int

selfSize

Allocations size in bytes for the node excluding children.

val selfSize: Double