Package | Description |
---|---|
com.aparapi | |
com.aparapi.internal.kernel |
Modifier and Type | Method and Description |
---|---|
ProfileReport |
ProfileReport.clone() |
Modifier and Type | Method and Description |
---|---|
WeakReference<ProfileReport> |
Kernel.getProfileReportCurrentThread(Device device)
Retrieves the most recent complete report available for the current thread calling this method for
the current kernel instance and executed on the given device.
|
WeakReference<ProfileReport> |
Kernel.getProfileReportLastThread(Device device)
Retrieves a profile report for the last thread that executed this kernel on the given device.
|
Modifier and Type | Method and Description |
---|---|
void |
IProfileReportObserver.receiveReport(Class<? extends Kernel> kernelClass,
Device device,
WeakReference<ProfileReport> profileInfo)
The listener method will be invoked each time a profile report becomes available for each Aparapi Kernel which has
a registered observer.
Note1: A report will be generated by a thread executing a kernel. |
Modifier and Type | Method and Description |
---|---|
WeakReference<ProfileReport> |
KernelDeviceProfile.getReportCurrentThread()
Retrieves the most recent complete report available for the current thread calling this method.
Note1: If the profile report is intended to be kept in memory, the object should be cloned with clone() Note2: If the thread didn't execute this KernelDeviceProfile instance respective kernel and device, it will return null. |
WeakReference<ProfileReport> |
KernelDeviceProfile.getReportLastThread()
Retrieves the most recent complete report available for the last thread that executed this KernelDeviceProfile
instance respective kernel and device.
Note1: If the profile report is intended to be kept in memory, the object should be cloned with clone() |
Copyright © 2021 Syncleus. All rights reserved.