mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
refactor: metrics enums rename for L0 spec version 1.7
Resolves: LOCI-4642 Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b3bcc9bc6d
commit
6946dd561f
@@ -261,7 +261,7 @@ ze_result_t MetricGroup::getMetricGroupExtendedProperties(MetricSource &metricSo
|
||||
while (pNext) {
|
||||
zet_base_desc_t *extendedProperties = reinterpret_cast<zet_base_desc_t *>(pNext);
|
||||
|
||||
if (extendedProperties->stype == ZET_STRUCTURE_TYPE_GLOBAL_METRICS_TIMESTAMPS_EXP_PROPERTIES) {
|
||||
if (extendedProperties->stype == ZET_STRUCTURE_TYPE_METRIC_GLOBAL_TIMESTAMPS_RESOLUTION_EXP) {
|
||||
|
||||
zet_metric_global_timestamps_resolution_exp_t *metricsTimestampProperties =
|
||||
reinterpret_cast<zet_metric_global_timestamps_resolution_exp_t *>(extendedProperties);
|
||||
|
||||
@@ -88,7 +88,7 @@ void IpSamplingMetricSourceImp::cacheMetricGroup() {
|
||||
// Preparing properties for IP seperately because of unique values
|
||||
strcpy_s(metricProperties.name, ZET_MAX_METRIC_NAME, "IP");
|
||||
strcpy_s(metricProperties.description, ZET_MAX_METRIC_DESCRIPTION, "IP address");
|
||||
metricProperties.metricType = ZET_METRIC_TYPE_IP_EXP;
|
||||
metricProperties.metricType = ZET_METRIC_TYPE_IP;
|
||||
strcpy_s(metricProperties.resultUnits, ZET_MAX_METRIC_RESULT_UNITS, "Address");
|
||||
metrics.push_back(IpSamplingMetricImp(metricProperties));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user