gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Hit Latency

NS
Nazmus Sakib
Fri, Mar 28, 2025 6:01 PM

I can see the statistic "Miss Latency" declared in base.hh, updated in cache.cc. I can also see it in the stats.txt file in m5out directory.

I cannot see any such thing for "hit latency". It is also declared, but I cannot find it updated anywhere, nor reported in stats.txt.

What am I missing or doing wrong ?
Or are we supposed to calculate hit latency from some equation ( hit rate * look up latency) ?

I can see the statistic "Miss Latency" declared in base.hh, updated in cache.cc. I can also see it in the stats.txt file in m5out directory. I cannot see any such thing for "hit latency". It is also declared, but I cannot find it updated anywhere, nor reported in stats.txt. What am I missing or doing wrong ? Or are we supposed to calculate hit latency from some equation ( hit rate * look up latency) ?