Skip to content

Commit e05e7f2

Browse files
committed
test: fix ip sampling no overflow test
Related-To: NEO-16556 Signed-off-by: shubham kumar <shubham.kumar@intel.com>
1 parent dbcc7fd commit e05e7f2

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

conformance_tests/tools/metrics/src/test_metric_utils.cpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ void metric_validate_stall_sampling_data(
7878
uint32_t sbidStallOffset = UINT32_MAX;
7979
uint32_t syncStallOffset = UINT32_MAX;
8080
uint32_t instrFetchStallOffset = UINT32_MAX;
81-
uint32_t otherStallOffset = UINT32_MAX;
81+
uint32_t otherStallOffset = UINT32_MAX;
8282

8383
for (uint32_t i = 0; i < to_u32(metricProperties.size()); i++) {
8484

@@ -133,7 +133,7 @@ void metric_validate_stall_sampling_data(
133133
uint64_t SbidStallCount = 0;
134134
uint64_t SyncStallCount = 0;
135135
uint64_t InstrFetchStallCount = 0;
136-
uint64_t OtherStallCount = 0;
136+
uint64_t OtherStallCount = 0;
137137

138138
uint32_t metricSetStartIndex = 0;
139139

@@ -174,8 +174,7 @@ void metric_validate_stall_sampling_data(
174174
uint32_t metricPropsSize = to_u32(metricProperties.size());
175175

176176
IpAddress =
177-
getStallCount(report, metricPropsSize, ipOffset,
178-
metricSetStartIndex);
177+
getStallCount(report, metricPropsSize, ipOffset, metricSetStartIndex);
179178

180179
tmpStallCount = getStallCount(report, metricPropsSize, activeOffset,
181180
metricSetStartIndex);
@@ -223,8 +222,8 @@ void metric_validate_stall_sampling_data(
223222
OtherStallCount += tmpStallCount;
224223

225224
if (!reportCompleteFlag) {
226-
LOG_INFO << "Report number " << report << " with IP address " << IpAddress
227-
<< " has zero for all stall counts";
225+
LOG_INFO << "Report number " << report << " with IP address "
226+
<< IpAddress << " has zero for all stall counts";
228227
}
229228
}
230229

0 commit comments

Comments
 (0)