From ff09288c833604cec8850037ebc485872795cb1d Mon Sep 17 00:00:00 2001 From: coleramos425 Date: Mon, 15 Jan 2024 16:47:59 -0600 Subject: [PATCH] Fix bug in coalescing TCC per channel counters Signed-off-by: coleramos425 --- src/omniperf_soc/soc_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/omniperf_soc/soc_base.py b/src/omniperf_soc/soc_base.py index 0d8e3260db..0c5e7cb5af 100644 --- a/src/omniperf_soc/soc_base.py +++ b/src/omniperf_soc/soc_base.py @@ -363,7 +363,7 @@ def perfmon_emit(pmc_list, perfmon_config, workload_dir=None): # TCC per-channel counters tcc_counters = [] for ch in range(perfmon_config["TCC_channels"]): - tcc_counters = pmc_list["TCC2"][str(ch)][tcc2_index * N : tcc2_index * N + N] + tcc_counters += pmc_list["TCC2"][str(ch)][tcc2_index * N : tcc2_index * N + N] tcc2_index += 1