Class SpecializationStatistics.NodeStatistics

java.lang.Object
com.oracle.truffle.api.dsl.SpecializationStatistics.NodeStatistics
Enclosing class:
SpecializationStatistics

public abstract static class SpecializationStatistics.NodeStatistics extends Object
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 Details

    • acceptExecute

      public abstract void acceptExecute(int specializationIndex, Class<?> arg0)
      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

      public abstract void acceptExecute(int specializationIndex, Class<?> arg0, Class<?> arg1)
      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

      public abstract void acceptExecute(int specializationIndex, Class<?>... args)
      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

      public abstract Class<?> resolveValueClass(Object value)
      Called to resolve the class of a value provided in acceptExecute(int, Class). This method is intended to be used by Truffle DSL generated code only. Do not use directly.
      Since:
      20.3
    • create

      public static SpecializationStatistics.NodeStatistics create(Node node, String[] specializations)
      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