Package com.oracle.truffle.api.dsl
Class SpecializationStatistics.NodeStatistics
java.lang.Object
com.oracle.truffle.api.dsl.SpecializationStatistics.NodeStatistics
- Enclosing class:
SpecializationStatistics
Class to collect statistics information per node. This class is intended to be used by
Truffle DSL generated code only. Do not use directly.
- Since:
- 20.3
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
acceptExecute
(int specializationIndex, Class<?> arg0) Called when a node specialization was executed.abstract void
acceptExecute
(int specializationIndex, Class<?>... args) Called when a node specialization was executed.abstract void
acceptExecute
(int specializationIndex, Class<?> arg0, Class<?> arg1) Called when a node specialization was executed.Called when a new node statistics object is created.abstract Class
<?> resolveValueClass
(Object value) Called to resolve the class of a value provided inacceptExecute(int, Class)
.
-
Method Details
-
acceptExecute
Called when a node specialization was executed. This method is intended to be used by Truffle DSL generated code only. Do not use directly.- Since:
- 20.3
-
acceptExecute
Called when a node specialization was executed. This method is intended to be used by Truffle DSL generated code only. Do not use directly.- Since:
- 20.3
-
acceptExecute
Called when a node specialization was executed. This method is intended to be used by Truffle DSL generated code only. Do not use directly.- Since:
- 20.3
-
resolveValueClass
Called to resolve the class of a value provided inacceptExecute(int, Class)
. This method is intended to be used by Truffle DSL generated code only. Do not use directly.- Since:
- 20.3
-
create
Called when a new node statistics object is created. This method is intended to be used by Truffle DSL generated code only. Do not use directly.- Since:
- 20.3
-