[rocprofiler-compute] make pmc files deterministic (#1066)

* make pmc files deterministic
This commit is contained in:
vedithal-amd
2025-09-22 10:48:35 -04:00
committed by GitHub
parent 9910705685
commit fa31650298
@@ -587,6 +587,8 @@ class OmniSoC_Base:
# Create separate perfmon file for LEVEL counters without _sum suffix
# TCC LEVEL counters are handled channel wise, so ignore them
# Convert set to sorted list for determinism in pmc txt files
counters = sorted(list(counters))
for counter in counters.copy():
if (
"LEVEL" in counter