Commit 6e882754 authored by Ryan-LaMothe-PNNL's avatar Ryan-LaMothe-PNNL

Merge pull request #23 from qunaibit/master

Correct reported getLastConversionTime()
parents 6319738b d615a3c4
......@@ -31,7 +31,7 @@ public class KernelProfile {
public double getLastConversionTime() {
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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment