Package com.aparapi.internal.kernel
Enum ProfilingEvent
- java.lang.Object
-
- java.lang.Enum<ProfilingEvent>
-
- com.aparapi.internal.kernel.ProfilingEvent
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ProfilingEvent>
public enum ProfilingEvent extends java.lang.Enum<ProfilingEvent>
Created by Barney on 02/09/2015.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLASS_MODEL_BUILT
EXECUTED
INIT_JNI
OPENCL_COMPILED
OPENCL_GENERATED
PREPARE_EXECUTE
START
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.util.concurrent.atomic.AtomicReference<java.lang.String[]>
stagesNames
-
Constructor Summary
Constructors Modifier Constructor Description private
ProfilingEvent()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String[]
getStagesNames()
static ProfilingEvent
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ProfilingEvent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START
public static final ProfilingEvent START
-
CLASS_MODEL_BUILT
public static final ProfilingEvent CLASS_MODEL_BUILT
-
INIT_JNI
public static final ProfilingEvent INIT_JNI
-
OPENCL_GENERATED
public static final ProfilingEvent OPENCL_GENERATED
-
OPENCL_COMPILED
public static final ProfilingEvent OPENCL_COMPILED
-
PREPARE_EXECUTE
public static final ProfilingEvent PREPARE_EXECUTE
-
EXECUTED
public static final ProfilingEvent EXECUTED
-
-
Method Detail
-
values
public static ProfilingEvent[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ProfilingEvent c : ProfilingEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProfilingEvent valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getStagesNames
public static java.lang.String[] getStagesNames()
-
-