feature: Metrics properties show metric scopes in Tracelib

Related-To: NEO-15832

Signed-off-by: Shreyas Kunder <shreyas.kunder@intel.com>
This commit is contained in:
Shreyas Kunder
2025-09-09 22:29:20 +00:00
committed by Compute-Runtime-Automation
parent c08aa1d400
commit 5c6ae48d17
6 changed files with 97 additions and 1 deletions

View File

@@ -127,6 +127,10 @@ ze_result_t ZE_APICALL zetIntelMetricScopeGetPropertiesExp(zet_intel_metric_scop
return L0::metricScopeGetProperties(hMetricScope, pMetricScopeProperties);
}
ze_result_t ZE_APICALL zetIntelMetricSupportedScopesGetExp(zet_metric_handle_t *phMetric, uint32_t *pCount, zet_intel_metric_scope_exp_handle_t *phScopes) {
return L0::getMetricSupportedScopes(phMetric, pCount, phScopes);
}
} // namespace L0
extern "C" {
@@ -269,4 +273,8 @@ ze_result_t ZE_APICALL zetIntelMetricScopeGetPropertiesExp(zet_intel_metric_scop
return L0::zetIntelMetricScopeGetPropertiesExp(hMetricScope, pMetricScopeProperties);
}
ze_result_t ZE_APICALL zetIntelMetricSupportedScopesGetExp(zet_metric_handle_t *phMetric, uint32_t *pCount, zet_intel_metric_scope_exp_handle_t *phScopes) {
return L0::getMetricSupportedScopes(phMetric, pCount, phScopes);
}
} // extern "C"