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

SamplingHeapProfileSample

data class SamplingHeapProfileSample

A single sample from a sampling profile.

Official doc

Constructors

<init>

A single sample from a sampling profile.

SamplingHeapProfileSample(size: Double, nodeId: Int, ordinal: Double)

Properties

nodeId

Id of the corresponding profile tree node.

val nodeId: Int

ordinal

Time-ordered sample ordinal number. It is unique across all profiles retrieved between startSampling and stopSampling.

val ordinal: Double

size

Allocation size in bytes attributed to the sample.

val size: Double