Module tornado.api

Interface TornadoRuntime


public interface TornadoRuntime
  • Method Details

    • getBackend

      TornadoBackend getBackend(int index)
    • setDefaultBackend

      void setDefaultBackend(int index)
    • getBackendType

      TornadoVMBackendType getBackendType(int index)
    • getBackend

      <D extends TornadoBackend> D getBackend(Class<D> type)
    • getNumBackends

      int getNumBackends()
    • getDefaultDevice

      TornadoDevice getDefaultDevice()
    • getBackendIndex

      <D extends TornadoBackend> int getBackendIndex(Class<D> driverClass)
    • isProfilerEnabled

      boolean isProfilerEnabled()
    • isPowerMonitoringEnabled

      boolean isPowerMonitoringEnabled()
      Checks whether TornadoVM is configured to support power metrics monitoring.
      Returns:
      true if power metrics monitoring is enabled, false otherwise.
    • getPowerMetric

      long getPowerMetric()
      Retrieves the current power metric measured in Watts.
      Returns:
      the power metric as a long value, representing the current power consumption in Watts.