mem: Add missing stats update for uncacheable MSHRs
This patch adds a missing counter update for the uncacheable accesses. By updating this counter we also get a meaningful average latency for uncacheable accesses (previously inf).
This commit is contained in:
6
src/mem/cache/cache_impl.hh
vendored
6
src/mem/cache/cache_impl.hh
vendored
@@ -701,8 +701,10 @@ Cache::recvTimingReq(PacketPtr pkt)
|
||||
}
|
||||
} else {
|
||||
// no MSHR
|
||||
if (!pkt->req->isUncacheable()) {
|
||||
assert(pkt->req->masterId() < system->maxMasters());
|
||||
assert(pkt->req->masterId() < system->maxMasters());
|
||||
if (pkt->req->isUncacheable()) {
|
||||
mshr_uncacheable[pkt->cmdToIndex()][pkt->req->masterId()]++;
|
||||
} else {
|
||||
mshr_misses[pkt->cmdToIndex()][pkt->req->masterId()]++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user