Package com.aparapi.internal.kernel
Class KernelProfile
java.lang.Object
com.aparapi.internal.kernel.KernelProfile
Collects profiling information per kernel class per device.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getDeviceProfile
(Device device) double
Retrieves the last device profile that was updated by the last thread that made a profiling information update, when executing this kernel on the specified device.double
void
setReportObserver
(IProfileReportObserver _observer)
-
Field Details
-
MILLION
public static final double MILLION- See Also:
-
-
Constructor Details
-
KernelProfile
-
-
Method Details
-
getLastExecutionTime
public double getLastExecutionTime() -
getLastConversionTime
public double getLastConversionTime() -
getAccumulatedTotalTime
public double getAccumulatedTotalTime() -
getLastDeviceProfile
Retrieves the last device profile that was updated by the last thread that made a profiling information update, when executing this kernel on the specified device.- Returns:
- the device profile
-
getDevices
-
getDeviceProfiles
-
getDeviceProfile
-
setReportObserver
-
getReportObserver
-