From 4be03e20da4223d53d14079e9ef74943ded98761 Mon Sep 17 00:00:00 2001 From: Mahdi Ali nejad <109273848+Soilorian@users.noreply.github.com> Date: Fri, 30 Aug 2024 17:01:42 +0330 Subject: [PATCH] Update report.go (#90) fix issue with the incorrect access count --- samples/runner/report.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/runner/report.go b/samples/runner/report.go index 16f531bb..07c50c78 100644 --- a/samples/runner/report.go +++ b/samples/runner/report.go @@ -469,10 +469,10 @@ func (r *Runner) reportCacheHitRate() { for _, tracer := range r.cacheHitRateTracers { readHit := tracer.tracer.GetStepCount("read-hit") readMiss := tracer.tracer.GetStepCount("read-miss") - readMSHRHit := tracer.tracer.GetStepCount("read-mshr-miss") + readMSHRHit := tracer.tracer.GetStepCount("read-mshr-hit") writeHit := tracer.tracer.GetStepCount("write-hit") writeMiss := tracer.tracer.GetStepCount("write-miss") - writeMSHRHit := tracer.tracer.GetStepCount("write-mshr-miss") + writeMSHRHit := tracer.tracer.GetStepCount("write-mshr-hit") totalTransaction := readHit + readMiss + readMSHRHit + writeHit + writeMiss + writeMSHRHit