Package | Description |
---|---|
com.aparapi | |
com.aparapi.internal.kernel |
Modifier and Type | Method and Description |
---|---|
ProfileReport |
ProfileReport.clone() |
Modifier and Type | Method and Description |
---|---|
java.lang.ref.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.
|
java.lang.ref.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(java.lang.Class<? extends Kernel> kernelClass,
Device device,
java.lang.ref.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 | Field and Description |
---|---|
private ProfileReport |
KernelDeviceProfile.Accumulator.report |
Modifier and Type | Field and Description |
---|---|
private java.lang.ref.WeakReference<ProfileReport> |
KernelDeviceProfile.Accumulator.reportRef |
Modifier and Type | Method and Description |
---|---|
private ProfileReport |
KernelDeviceProfile.updateProfileReport(ProfileReport report,
long invocationCount,
long[] currentTimes) |
Modifier and Type | Method and Description |
---|---|
java.lang.ref.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. |
java.lang.ref.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() |
Modifier and Type | Method and Description |
---|---|
private ProfileReport |
KernelDeviceProfile.updateProfileReport(ProfileReport report,
long invocationCount,
long[] currentTimes) |