mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
fix: Override timestamp width from KMD
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
8527779778
commit
7f2b806413
@@ -128,6 +128,7 @@ void RootDeviceEnvironment::initOsTime() {
|
||||
if (!osTime) {
|
||||
osTime = OSTime::create(osInterface.get());
|
||||
osTime->setDeviceTimerResolution(*hwInfo);
|
||||
osTime->setDeviceTimestampWidth(gfxCoreHelper->getDeviceTimestampWidth());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user