From dc633a282c02d5b1e89cc856fa2da7c11f686cd3 Mon Sep 17 00:00:00 2001 From: Jalali <110232072+AyoubJalali@users.noreply.github.com> Date: Fri, 26 Jan 2024 13:26:03 +0000 Subject: [PATCH] report_benchmark.py: Detecting "mcycle" without CSR pseudo-code (#1786) --- .gitlab-ci/scripts/report_benchmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci/scripts/report_benchmark.py b/.gitlab-ci/scripts/report_benchmark.py index ad6e0e2834..00116657b9 100644 --- a/.gitlab-ci/scripts/report_benchmark.py +++ b/.gitlab-ci/scripts/report_benchmark.py @@ -41,7 +41,7 @@ stopwatch = [] for index, line in enumerate(log): - if line.split()[-1] == 'mcycle': + if line.split()[-1] == 'mcycle' or line.split()[-2] == 'mcycle,': stopwatch.append(int(log[index + 1].split()[-1], 16)) # There might be > 2 matches, we use the two at the center N = len(stopwatch)