Table of Contents

Class SamplingHeapProfileSample

Namespace
Selenium.WebDriver.BiDi.Cdp.HeapProfiler
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

A single sample from a sampling profile.

public sealed record SamplingHeapProfileSample : IEquatable<SamplingHeapProfileSample>
Inheritance
SamplingHeapProfileSample
Implements
Inherited Members

Constructors

SamplingHeapProfileSample(double, long, double)

A single sample from a sampling profile.

public SamplingHeapProfileSample(double Size, long NodeId, double Ordinal)

Parameters

Size double

Allocation size in bytes attributed to the sample.

NodeId long

Id of the corresponding profile tree node.

Ordinal double

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

Properties

NodeId

Id of the corresponding profile tree node.

public long NodeId { get; init; }

Property Value

long

Ordinal

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

public double Ordinal { get; init; }

Property Value

double

Size

Allocation size in bytes attributed to the sample.

public double Size { get; init; }

Property Value

double