Package com.jogamp.opencl
Enum CLEvent.ProfilingCommand
- java.lang.Object
-
- java.lang.Enum<CLEvent.ProfilingCommand>
-
- com.jogamp.opencl.CLEvent.ProfilingCommand
-
- All Implemented Interfaces:
Serializable
,Comparable<CLEvent.ProfilingCommand>
- Enclosing class:
- CLEvent
public static enum CLEvent.ProfilingCommand extends Enum<CLEvent.ProfilingCommand>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description END
A 64-bit value that describes the current device time counter in nanoseconds when the command identified by event has finished execution on the device.QUEUED
A 64-bit value that describes the current device time counter in nanoseconds when the command identified by event is enqueued in a command-queue by the host.START
A 64-bit value that describes the current device time counter in nanoseconds when the command identified by event starts execution on the device.SUBMIT
A 64-bit value that describes the current device time counter in nanoseconds when the command identified by event that has been enqueued is submitted by the host to the device associated with the commandqueue.
-
Field Summary
Fields Modifier and Type Field Description int
COMMAND
Value of wrapped OpenCL profiling command.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CLEvent.ProfilingCommand
valueOf(int status)
Returns the enum constant of this type with the specified name.static CLEvent.ProfilingCommand
valueOf(String name)
Returns the enum constant of this type with the specified name.static CLEvent.ProfilingCommand[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUEUED
public static final CLEvent.ProfilingCommand QUEUED
A 64-bit value that describes the current device time counter in nanoseconds when the command identified by event is enqueued in a command-queue by the host.
-
SUBMIT
public static final CLEvent.ProfilingCommand SUBMIT
A 64-bit value that describes the current device time counter in nanoseconds when the command identified by event that has been enqueued is submitted by the host to the device associated with the commandqueue.
-
START
public static final CLEvent.ProfilingCommand START
A 64-bit value that describes the current device time counter in nanoseconds when the command identified by event starts execution on the device.
-
END
public static final CLEvent.ProfilingCommand END
A 64-bit value that describes the current device time counter in nanoseconds when the command identified by event has finished execution on the device.
-
-
Method Detail
-
values
public static CLEvent.ProfilingCommand[] 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 (CLEvent.ProfilingCommand c : CLEvent.ProfilingCommand.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CLEvent.ProfilingCommand valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
public static CLEvent.ProfilingCommand valueOf(int status)
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:
status
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-