Class SamplingHeapProfileNode
- Namespace
- Selenium.WebDriver.BiDi.Cdp.HeapProfiler
- Assembly
- Selenium.WebDriver.BiDi.Cdp.dll
Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.
public sealed record SamplingHeapProfileNode : IEquatable<SamplingHeapProfileNode>
- Inheritance
-
SamplingHeapProfileNode
- Implements
- Inherited Members
Constructors
SamplingHeapProfileNode(CallFrame, double, long, ImmutableArray<SamplingHeapProfileNode>)
Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.
public SamplingHeapProfileNode(CallFrame CallFrame, double SelfSize, long Id, ImmutableArray<SamplingHeapProfileNode> Children)
Parameters
CallFrameCallFrameFunction location.
SelfSizedoubleAllocations size in bytes for the node excluding children.
IdlongNode id. Ids are unique across all profiles collected between startSampling and stopSampling.
ChildrenImmutableArray<SamplingHeapProfileNode>Child nodes.
Properties
CallFrame
Function location.
public CallFrame CallFrame { get; init; }
Property Value
Children
Child nodes.
public ImmutableArray<SamplingHeapProfileNode> Children { get; init; }
Property Value
Id
Node id. Ids are unique across all profiles collected between startSampling and stopSampling.
public long Id { get; init; }
Property Value
SelfSize
Allocations size in bytes for the node excluding children.
public double SelfSize { get; init; }