mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
fix: remove defaultProfilingTimerResolution from RuntimeCapabilityTable
Related-To: NEO-12275 Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f8f1557ec7
commit
49d999abe6
@@ -618,11 +618,11 @@ const DeviceInfo &Device::getDeviceInfo() const {
|
||||
}
|
||||
|
||||
double Device::getProfilingTimerResolution() {
|
||||
return getOSTime()->getDynamicDeviceTimerResolution(getHardwareInfo());
|
||||
return getOSTime()->getDynamicDeviceTimerResolution();
|
||||
}
|
||||
|
||||
uint64_t Device::getProfilingTimerClock() {
|
||||
return getOSTime()->getDynamicDeviceTimerClock(getHardwareInfo());
|
||||
return getOSTime()->getDynamicDeviceTimerClock();
|
||||
}
|
||||
|
||||
bool Device::isBcsSplitSupported() {
|
||||
@@ -707,7 +707,7 @@ bool Device::getDeviceAndHostTimer(uint64_t *deviceTimestamp, uint64_t *hostTime
|
||||
if (retVal) {
|
||||
*hostTimestamp = timeStamp.cpuTimeinNS;
|
||||
if (debugManager.flags.EnableDeviceBasedTimestamps.get()) {
|
||||
auto resolution = getOSTime()->getDynamicDeviceTimerResolution(getHardwareInfo());
|
||||
auto resolution = getOSTime()->getDynamicDeviceTimerResolution();
|
||||
*deviceTimestamp = getGfxCoreHelper().getGpuTimeStampInNS(timeStamp.gpuTimeStamp, resolution);
|
||||
} else
|
||||
*deviceTimestamp = *hostTimestamp;
|
||||
|
||||
Reference in New Issue
Block a user