SWDEV-349794 - Fix time accumulation

If the execution command had a split into multiple HW operations, then runtime has to accumulate time for all operations

Change-Id: Iaba31e96250918d8190bf63adb4c07730fdfefbf
Bu işleme şunda yer alıyor:
German authored and German Andryeyev committed 2022-08-24 09:53:54 -04:00
1 ebeveyn 2733344689
işleme 24f5362296
2 files changed
+7 -1

No files matched your search

+6 -1
Dosyayı Görüntüle
@@ -151,7 +151,12 @@ void Timestamp::checkGpuTime() {
}
signals_.clear();
if (end != 0) {
start_ = start * ticksToTime_;
// Check if it's the first execution and update start time
if (!accum_ena_) {
start_ = start * ticksToTime_;
accum_ena_ = true;
}
// Progress the end time always
end_ = end * ticksToTime_;
}
}