Skip to content
Snippets Groups Projects
Commit d615a3c4 authored by Mohaned's avatar Mohaned
Browse files

Correct getLastConversionTime()

parent 28879b5d
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ public class KernelProfile { ...@@ -31,7 +31,7 @@ public class KernelProfile {
public double getLastConversionTime() { public double getLastConversionTime() {
KernelDeviceProfile lastDeviceProfile = getLastDeviceProfile(); KernelDeviceProfile lastDeviceProfile = getLastDeviceProfile();
return lastDeviceProfile == null ? Double.NaN : lastDeviceProfile.getLastElapsedTime(ProfilingEvent.START, ProfilingEvent.EXECUTED) / MILLION; return lastDeviceProfile == null ? Double.NaN : lastDeviceProfile.getLastElapsedTime(ProfilingEvent.START, ProfilingEvent.PREPARE_EXECUTE) / MILLION;
} }
public double getAccumulatedTotalTime() { public double getAccumulatedTotalTime() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment