Class CPUTracer.Payload
java.lang.Object
com.oracle.truffle.tools.profiler.CPUTracer.Payload
- Enclosing class:
CPUTracer
Holds data on how many times a section of source code was executed. Differentiates between
compiled and interpreted executions.
- Since:
- 0.30
-
Method Details
-
getRootName
- Returns:
- The name of the root this counter is associated with.
- Since:
- 0.30
-
getTags
Returns a set tags a stack location marked with. Common tags areroot
,statement
andexpression
. Whether statement or expression stack trace entries appear depends on the configuredfilter
.- Since:
- 0.30
-
getSourceSection
public com.oracle.truffle.api.source.SourceSection getSourceSection()- Returns:
- The source section for which this
CPUTracer.Payload
is counting executions - Since:
- 0.30
-
getCountCompiled
public long getCountCompiled()- Returns:
- The number of times the associated source sections was executed as compiled code
- Since:
- 0.30
-
getCountInterpreted
public long getCountInterpreted()- Returns:
- The number of times the associated source sections was interpreted
- Since:
- 0.30
-
getCount
public long getCount()- Returns:
- The total number of times the associated source sections was executed
- Since:
- 0.30
-