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
Tá an tiomantas seo le fáil i:
German údaraithe agus German Andryeyev tiomanta 2022-08-24 09:53:54 -04:00
1 tuismitheoir 2733344689
tiomantas 24f5362296
2 comhad athraithe
+7 -1

Níor tháinig aon chomhaid le do chuardach

+6 -1
Féach ar an gComhad
@@ -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_;
}
}