com.jogamp.opencl
Enum CLEvent.ProfilingCommand

java.lang.Object
  extended by java.lang.Enum<CLEvent.ProfilingCommand>
      extended by 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
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
 int COMMAND
          Value of wrapped OpenCL profiling command.
 
Method Summary
static CLEvent.ProfilingCommand valueOf(int status)
           
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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.

Field Detail

COMMAND

public final int COMMAND
Value of wrapped OpenCL profiling command.

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 name
NullPointerException - if the argument is null

valueOf

public static CLEvent.ProfilingCommand valueOf(int status)