Package Torello.Browser
Class Profiler.ProfileNode
- java.lang.Object
-
- Torello.Java.Additional.BaseType
-
- Torello.Browser.Profiler.ProfileNode
-
- Enclosing class:
- Profiler
public static class Profiler.ProfileNode extends BaseType
Profile node. Holds callsite information, execution statistics and child nodes.
Hi-Lited Source-Code:- View Here: Torello/Browser/Profiler.java
- Open New Browser-Tab: Torello/Browser/Profiler.java
-
-
Field Summary
Serializable ID Modifier and Type Field protected static long
serialVersionUID
For Object Serialization.Type Properties Modifier and Type Field RunTime.CallFrame
callFrame
Function location.int[]
children
Child node ids.String
deoptReason
The reason of being not optimized.Integer
hitCount
Number of samples where this node was on top of the call stack.int
id
Unique id of the node.Profiler.PositionTickInfo[]
positionTicks
An array of source position ticks.
-
Constructor Summary
Constructors Constructor Description ProfileNode(int id, RunTime.CallFrame callFrame, Integer hitCount, int[] children, String deoptReason, Profiler.PositionTickInfo[] positionTicks)
ConstructorProfileNode(JsonObject jo)
JSON Object Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean[]
optionals()
Implementing this method allows sub-classes to specify which JSON Properties may be absent or null.
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
For Object Serialization. java.io.Serializable- See Also:
- Constant Field Values
-
id
public final int id
Unique id of the node.
-
callFrame
public final RunTime.CallFrame callFrame
Function location.
-
hitCount
public final java.lang.Integer hitCount
Number of samples where this node was on top of the call stack.
OPTIONAL
-
children
public final int[] children
Child node ids.
OPTIONAL
-
deoptReason
public final java.lang.String deoptReason
The reason of being not optimized. The function may be deoptimized or marked as don't optimize.
OPTIONAL
-
positionTicks
public final Profiler.PositionTickInfo[] positionTicks
An array of source position ticks.
OPTIONAL
-
-
Constructor Detail
-
ProfileNode
public ProfileNode(int id, RunTime.CallFrame callFrame, java.lang.Integer hitCount, int[] children, java.lang.String deoptReason, Profiler.PositionTickInfo[] positionTicks)
Constructor- Parameters:
id
- Unique id of the node.callFrame
- Function location.hitCount
- Number of samples where this node was on top of the call stack.
OPTIONALchildren
- Child node ids.
OPTIONALdeoptReason
- The reason of being not optimized. The function may be deoptimized or marked as don't optimize.
OPTIONALpositionTicks
- An array of source position ticks.
OPTIONAL
-
ProfileNode
public ProfileNode(JsonObject jo)
JSON Object Constructor- Parameters:
jo
- A Json-Object having data about an instance of'ProfileNode'
.
-
-
Method Detail
-
optionals
public boolean[] optionals()
Description copied from class:BaseType
Implementing this method allows sub-classes to specify which JSON Properties may be absent or null. When binding aJsonObject
to a Java-Object, if some of the expected fields for the Java-Object map to Properties which might be left-out or omitted, then that may be indicated by setting that fields array positionTRUE
.
NOTE: This array should have a length equal to the number of fields contained by the Java Object. The first boolean in the array should specify whether the first Object Field may by absent. The second boolean should specify whether the second Object Field is optional in the JSON - and so on and so forth...
-
-