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
SizedoubleAllocation size in bytes attributed to the sample.
NodeIdlongId of the corresponding profile tree node.
OrdinaldoubleTime-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
Ordinal
Time-ordered sample ordinal number. It is unique across all profiles retrieved between startSampling and stopSampling.
public double Ordinal { get; init; }
Property Value
Size
Allocation size in bytes attributed to the sample.
public double Size { get; init; }