diff options
Diffstat (limited to 'src/mem/mport.cc')
-rw-r--r-- | src/mem/mport.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mem/mport.cc b/src/mem/mport.cc index 72bcfc7fd..564c560c6 100644 --- a/src/mem/mport.cc +++ b/src/mem/mport.cc @@ -56,5 +56,8 @@ MessagePort::sendMessageTiming(PacketPtr pkt, Tick latency) Tick MessagePort::sendMessageAtomic(PacketPtr pkt) { - return sendAtomic(pkt); + Tick latency = sendAtomic(pkt); + assert(pkt->isResponse()); + latency += recvResponse(pkt); + return latency; } |