public static enum CLEvent.ProfilingCommand extends Enum<CLEvent.ProfilingCommand>
Enum Constant and 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.
|
Modifier and Type | Field and Description |
---|---|
int |
COMMAND
Value of wrapped OpenCL profiling command.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final CLEvent.ProfilingCommand QUEUED
public static final CLEvent.ProfilingCommand SUBMIT
public static final CLEvent.ProfilingCommand START
public static final CLEvent.ProfilingCommand END
public static CLEvent.ProfilingCommand[] values()
for (CLEvent.ProfilingCommand c : CLEvent.ProfilingCommand.values()) System.out.println(c);
public static CLEvent.ProfilingCommand valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static CLEvent.ProfilingCommand valueOf(int status)