mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 10:26:29 +08:00
feature: Submission for GlobalTimestamp as default
Related-To: NEO-11908 Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
215ac6374b
commit
3d3c5ddf9f
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2022-2024 Intel Corporation
|
||||
* Copyright (C) 2022-2025 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -348,7 +348,7 @@ ze_result_t getDeviceTimestamps(DeviceImp *deviceImp, const ze_bool_t synchroniz
|
||||
uint64_t hostTimestamp;
|
||||
uint64_t deviceTimestamp;
|
||||
|
||||
result = deviceImp->getGlobalTimestamps(&hostTimestamp, &deviceTimestamp);
|
||||
result = deviceImp->getGlobalTimestamps(&hostTimestamp, &deviceTimestamp, false);
|
||||
if (result != ZE_RESULT_SUCCESS) {
|
||||
*globalTimestamp = 0;
|
||||
*metricTimestamp = 0;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2024 Intel Corporation
|
||||
* Copyright (C) 2020-2025 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -1001,7 +1001,7 @@ ze_result_t OaMetricGroupImp::getMetricTimestampsExp(const ze_bool_t synchronize
|
||||
uint64_t hostTimestamp;
|
||||
uint64_t deviceTimestamp;
|
||||
|
||||
result = deviceImp->getGlobalTimestamps(&hostTimestamp, &deviceTimestamp);
|
||||
result = deviceImp->getGlobalTimestamps(&hostTimestamp, &deviceTimestamp, false);
|
||||
if (result != ZE_RESULT_SUCCESS) {
|
||||
*globalTimestamp = 0;
|
||||
*metricTimestamp = 0;
|
||||
|
||||
Reference in New Issue
Block a user