Add debug printout for data in CC validate

[ROCm/rocprofiler-sdk commit: 001f9baa04]
Этот коммит содержится в:
Benjamin Welton
2024-04-01 13:02:50 -07:00
коммит произвёл GitHub
родитель 58addf80dc
Коммит e2dfd3bbc9
+1 -1
Просмотреть файл
@@ -32,7 +32,7 @@ def test_counter_values(input_data):
for itr in data["rocprofiler-sdk-json-tool"]["buffer_records"]["counter_collection"]:
value = itr["counter_value"]
assert int(round(value, 0)) == int(round(1 * scaling_factor, 0))
assert int(round(value, 0)) == int(round(1 * scaling_factor, 0)), str(data)
if __name__ == "__main__":