|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jocl.cloth.utils.ProfilingUtils
public class ProfilingUtils
Utility methods for profiling. Only for internal use!
Method Summary | |
---|---|
static void |
accumulate(java.lang.String name,
org.jocl.cl_event event)
Accumulate the duration for the given identifier, computed from the given event, and print a summary in certain interval |
static void |
printInfo(java.lang.String message,
org.jocl.cl_event event)
Print some profiling information about the given event |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void accumulate(java.lang.String name, org.jocl.cl_event event)
name
- The identifierevent
- The eventpublic static void printInfo(java.lang.String message, org.jocl.cl_event event)
message
- The message to showevent
- The event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |