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
Этот коммит содержится в:
1 родитель
2733344689
Коммит
24f5362296
2 files changed
+7
-1
No files matched your search
@@ -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_;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user