org.jocl.utils
Class EventProfilingInfos

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

public class EventProfilingInfos
extends java.lang.Object

Utility methods for obtaining profiling information about cl_event objects.


Method Summary
static long getCommandEnd(org.jocl.cl_event event)
          The device counter, in nanoseconds, when the command of the given event finished execution.
static long getCommandQueued(org.jocl.cl_event event)
          The device counter, in nanoseconds, when the command of the given event was queued.
static long getCommandStart(org.jocl.cl_event event)
          The device counter, in nanoseconds, when the command of the given event started execution.
static long getCommandSubmit(org.jocl.cl_event event)
          The device counter, in nanoseconds, when the command of the given event was submitted.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCommandQueued

public static long getCommandQueued(org.jocl.cl_event event)
The device counter, in nanoseconds, when the command of the given event was queued.

Parameters:
event - The event
Returns:
The value

getCommandSubmit

public static long getCommandSubmit(org.jocl.cl_event event)
The device counter, in nanoseconds, when the command of the given event was submitted.

Parameters:
event - The event
Returns:
The value

getCommandStart

public static long getCommandStart(org.jocl.cl_event event)
The device counter, in nanoseconds, when the command of the given event started execution.

Parameters:
event - The event
Returns:
The value

getCommandEnd

public static long getCommandEnd(org.jocl.cl_event event)
The device counter, in nanoseconds, when the command of the given event finished execution.

Parameters:
event - The event
Returns:
The value