Module tornado.api

Enum Class ProfilerMode

java.lang.Object
java.lang.Enum<ProfilerMode>
uk.ac.manchester.tornado.api.enums.ProfilerMode
All Implemented Interfaces:
Serializable, Comparable<ProfilerMode>, Constable

public enum ProfilerMode extends Enum<ProfilerMode>
  • Enum Constant Details

    • CONSOLE

      public static final ProfilerMode CONSOLE
      Reports profiler via STDOUT once the executor finishes.
    • SILENT

      public static final ProfilerMode SILENT
      Stores all the profiler information in an internal object that can be queried after the executor finishes the execution using the TornadoExecutionResult.getProfilerResult() method.
  • Method Details

    • values

      public static ProfilerMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ProfilerMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null