org.jocl.utils
Class EventInfos

java.lang.Object
  extended by org.jocl.utils.EventInfos

public class EventInfos
extends java.lang.Object

Utility methods for obtaining information about cl_event objects.


Method Summary
static int getCommandExecutionStatus(org.jocl.cl_event event)
          The execution status of the command identified by event.
static java.lang.String getCommandExecutionStatusString(org.jocl.cl_event event)
          The execution status of the command identified by event, as a String
static org.jocl.cl_command_queue getCommandQueue(org.jocl.cl_event event)
          The command-queue associated with event
static int getCommandType(org.jocl.cl_event event)
          The command associated with event
static java.lang.String getCommandTypeString(org.jocl.cl_event event)
          The command associated with event, as a String
static org.jocl.cl_context getContext(org.jocl.cl_event event)
          The context that this event belongs to
static int getReferenceCount(org.jocl.cl_event event)
          The reference count.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCommandQueue

public static org.jocl.cl_command_queue getCommandQueue(org.jocl.cl_event event)
The command-queue associated with event

Parameters:
event - The event
Returns:
The value

getContext

public static org.jocl.cl_context getContext(org.jocl.cl_event event)
The context that this event belongs to

Parameters:
event - The event
Returns:
The value

getCommandType

public static int getCommandType(org.jocl.cl_event event)
The command associated with event

Parameters:
event - The event
Returns:
The value

getCommandTypeString

public static java.lang.String getCommandTypeString(org.jocl.cl_event event)
The command associated with event, as a String

Parameters:
event - The event
Returns:
The value

getCommandExecutionStatus

public static int getCommandExecutionStatus(org.jocl.cl_event event)
The execution status of the command identified by event.

Parameters:
event - The event
Returns:
The value

getCommandExecutionStatusString

public static java.lang.String getCommandExecutionStatusString(org.jocl.cl_event event)
The execution status of the command identified by event, as a String

Parameters:
event - The event
Returns:
The value

getReferenceCount

public static int getReferenceCount(org.jocl.cl_event event)
The reference count. Only intended for identifying memory leaks.

Parameters:
event - The event
Returns:
The value