|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jocl.utils.Events
public class Events
Utility methods related to events.
| Method Summary | |
|---|---|
static double |
computeExecutionTimeMs(org.jocl.cl_event event)
Compute the execution time for the given event, in milliseconds. |
static void |
release(org.jocl.cl_event... events)
Release each of the given events if it is not null. |
static void |
release(java.lang.Iterable<org.jocl.cl_event> events)
Release each of the given events if it is not null. |
static void |
waitFor(org.jocl.cl_event... events)
Wait for the given events if they are not null. |
static void |
waitFor(java.lang.Iterable<org.jocl.cl_event> events)
Wait for the given events if they are not null. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static double computeExecutionTimeMs(org.jocl.cl_event event)
event - The event
public static void waitFor(org.jocl.cl_event... events)
null.
events - The events to wait forpublic static void waitFor(java.lang.Iterable<org.jocl.cl_event> events)
null.
events - The events to wait forpublic static void release(org.jocl.cl_event... events)
null.
events - The events to releasepublic static void release(java.lang.Iterable<org.jocl.cl_event> events)
null.
events - The events to release
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||