Class ProfileNode
- java.lang.Object
-
- org.openqa.selenium.devtools.v85.profiler.model.ProfileNode
-
public class ProfileNode extends java.lang.Object
Profile node. Holds callsite information, execution statistics and child nodes.
-
-
Constructor Summary
Constructors Constructor Description ProfileNode(java.lang.Integer id, CallFrame callFrame, java.util.Optional<java.lang.Integer> hitCount, java.util.Optional<java.util.List<java.lang.Integer>> children, java.util.Optional<java.lang.String> deoptReason, java.util.Optional<java.util.List<PositionTickInfo>> positionTicks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CallFrame
getCallFrame()
Function location.java.util.Optional<java.util.List<java.lang.Integer>>
getChildren()
Child node ids.java.util.Optional<java.lang.String>
getDeoptReason()
The reason of being not optimized.java.util.Optional<java.lang.Integer>
getHitCount()
Number of samples where this node was on top of the call stack.java.lang.Integer
getId()
Unique id of the node.java.util.Optional<java.util.List<PositionTickInfo>>
getPositionTicks()
An array of source position ticks.
-
-
-
Constructor Detail
-
ProfileNode
public ProfileNode(java.lang.Integer id, CallFrame callFrame, java.util.Optional<java.lang.Integer> hitCount, java.util.Optional<java.util.List<java.lang.Integer>> children, java.util.Optional<java.lang.String> deoptReason, java.util.Optional<java.util.List<PositionTickInfo>> positionTicks)
-
-
Method Detail
-
getId
public java.lang.Integer getId()
Unique id of the node.
-
getCallFrame
public CallFrame getCallFrame()
Function location.
-
getHitCount
public java.util.Optional<java.lang.Integer> getHitCount()
Number of samples where this node was on top of the call stack.
-
getChildren
public java.util.Optional<java.util.List<java.lang.Integer>> getChildren()
Child node ids.
-
getDeoptReason
public java.util.Optional<java.lang.String> getDeoptReason()
The reason of being not optimized. The function may be deoptimized or marked as don't optimize.
-
getPositionTicks
public java.util.Optional<java.util.List<PositionTickInfo>> getPositionTicks()
An array of source position ticks.
-
-