Class ProfilerNode<T>
java.lang.Object
com.oracle.truffle.tools.profiler.ProfilerNode<T>
- Type Parameters:
T- The type of data that should be associated with this node.
Represents a node in the call tree built up by sampling the stack. Additional data can be
attached to this class through the template parameter, allowing individual tools to attach needed
data to the call tree.
- Since:
- 0.30
-
Method Summary
Modifier and TypeMethodDescriptioncom.oracle.truffle.api.source.SourceSectiongetTags()Returns a set tags a stack location marked with.boolean
-
Method Details
-
getChildren
- Returns:
- the children of this
ProfilerNode - Since:
- 0.30
-
getParent
- Returns:
- the parent of this
ProfilerNode - Since:
- 0.30
-
isRecursive
public boolean isRecursive()- Returns:
- true if the parent chain contains a
ProfilerNodewith the sameStackTraceEntry, otherwise false - Since:
- 0.30
-
getSourceSection
public com.oracle.truffle.api.source.SourceSection getSourceSection()- Returns:
- the
SourceSectionassociated with thisProfilerNode - Since:
- 0.30
-
getRootName
- Returns:
- The name of the root node in which this
ProfilerNodeappears. - Since:
- 0.30
-
getTags
-
getPayload
- Returns:
- The additional information attached to this node through the template parameter
- Since:
- 0.30
-