Add debug printout for data in CC validate
[ROCm/rocprofiler-sdk commit: 001f9baa04]
This commit is contained in:
@@ -32,7 +32,7 @@ def test_counter_values(input_data):
|
|||||||
|
|
||||||
for itr in data["rocprofiler-sdk-json-tool"]["buffer_records"]["counter_collection"]:
|
for itr in data["rocprofiler-sdk-json-tool"]["buffer_records"]["counter_collection"]:
|
||||||
value = itr["counter_value"]
|
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__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
Reference in New Issue
Block a user