Skip to content

Commit

Permalink
Update report.go
Browse files Browse the repository at this point in the history
fix issue with the incorrect access count
  • Loading branch information
Soilorian authored Aug 29, 2024
1 parent 5d49f87 commit a127b16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/runner/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a127b16

Please sign in to comment.