Class ProfileNode

java.lang.Object
io.webfolder.cdp.type.profiler.ProfileNode

public class ProfileNode
extends java.lang.Object
Profile node Holds callsite information, execution statistics and child nodes
  • Constructor Summary

    Constructors 
    Constructor Description
    ProfileNode()  
  • Method Summary

    Modifier and Type Method Description
    CallFrame getCallFrame()
    Function location.
    java.util.List<java.lang.Integer> getChildren()
    Child node ids.
    java.lang.String getDeoptReason()
    The reason of being not optimized.
    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.List<PositionTickInfo> getPositionTicks()
    An array of source position ticks.
    void setCallFrame​(CallFrame callFrame)
    Function location.
    void setChildren​(java.util.List<java.lang.Integer> children)
    Child node ids.
    void setDeoptReason​(java.lang.String deoptReason)
    The reason of being not optimized.
    void setHitCount​(java.lang.Integer hitCount)
    Number of samples where this node was on top of the call stack.
    void setId​(java.lang.Integer id)
    Unique id of the node.
    void setPositionTicks​(java.util.List<PositionTickInfo> positionTicks)
    An array of source position ticks.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getId

      public java.lang.Integer getId()
      Unique id of the node.
    • setId

      public void setId​(java.lang.Integer id)
      Unique id of the node.
    • getCallFrame

      public CallFrame getCallFrame()
      Function location.
    • setCallFrame

      public void setCallFrame​(CallFrame callFrame)
      Function location.
    • getHitCount

      public java.lang.Integer getHitCount()
      Number of samples where this node was on top of the call stack.
    • setHitCount

      public void setHitCount​(java.lang.Integer hitCount)
      Number of samples where this node was on top of the call stack.
    • getChildren

      public java.util.List<java.lang.Integer> getChildren()
      Child node ids.
    • setChildren

      public void setChildren​(java.util.List<java.lang.Integer> children)
      Child node ids.
    • getDeoptReason

      public java.lang.String getDeoptReason()
      The reason of being not optimized. The function may be deoptimized or marked as don't optimize.
    • setDeoptReason

      public void setDeoptReason​(java.lang.String deoptReason)
      The reason of being not optimized. The function may be deoptimized or marked as don't optimize.
    • getPositionTicks

      public java.util.List<PositionTickInfo> getPositionTicks()
      An array of source position ticks.
    • setPositionTicks

      public void setPositionTicks​(java.util.List<PositionTickInfo> positionTicks)
      An array of source position ticks.