performance: Reuse GPU timestamps by default on Windows

Related-To: NEO-10615

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2024-05-24 11:50:30 +00:00
committed by Compute-Runtime-Automation
parent 1c98420518
commit bca3fecaa0
11 changed files with 89 additions and 64 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2023 Intel Corporation
* Copyright (C) 2018-2024 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -17,6 +17,7 @@ class DeviceTimeDrm : public DeviceTime {
bool getGpuCpuTimeImpl(TimeStampData *pGpuCpuTime, OSTime *osTime) override;
double getDynamicDeviceTimerResolution(HardwareInfo const &hwInfo) const override;
uint64_t getDynamicDeviceTimerClock(HardwareInfo const &hwInfo) const override;
bool isTimestampsRefreshEnabled() const override;
protected:
Drm *pDrm = nullptr;