summaryrefslogtreecommitdiff
path: root/src/mem/cache/noncoherent_cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/cache/noncoherent_cache.cc')
-rw-r--r--src/mem/cache/noncoherent_cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/cache/noncoherent_cache.cc b/src/mem/cache/noncoherent_cache.cc
index 9a2a1db9d..f25f76846 100644
--- a/src/mem/cache/noncoherent_cache.cc
+++ b/src/mem/cache/noncoherent_cache.cc
@@ -278,7 +278,7 @@ NoncoherentCache::serviceMSHRTargets(MSHR *mshr, const PacketPtr pkt,
(transfer_offset ? pkt->payloadDelay : 0);
assert(tgt_pkt->req->masterId() < system->maxMasters());
- missLatency[tgt_pkt->cmdToIndex()][tgt_pkt->req->masterId()] +=
+ stats.cmdStats(tgt_pkt).missLatency[tgt_pkt->req->masterId()] +=
completion_time - target.recvTime;
tgt_pkt->makeTimingResponse();