Merge "SWDEV-235495 Fix elapsed time calculation" into amd-master-next

This commit is contained in:
Saleel Kudchadker
2020-05-12 15:23:23 -04:00
committed by Gerrit Code Review
+1 -1
View File
@@ -91,7 +91,7 @@ hipError_t Event::elapsedTime(Event& eStop, float& ms) {
}
ms = static_cast<float>(static_cast<int64_t>(eStop.event_->profilingInfo().end_ -
event_->profilingInfo().start_))/1000000.f;
event_->profilingInfo().end_))/1000000.f;
return hipSuccess;
}