fix: Override timestamp width from KMD

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2024-10-09 18:36:11 +00:00
committed by Compute-Runtime-Automation
parent 8527779778
commit 7f2b806413
13 changed files with 97 additions and 0 deletions

View File

@@ -128,6 +128,7 @@ void RootDeviceEnvironment::initOsTime() {
if (!osTime) {
osTime = OSTime::create(osInterface.get());
osTime->setDeviceTimerResolution(*hwInfo);
osTime->setDeviceTimestampWidth(gfxCoreHelper->getDeviceTimestampWidth());
}
}