base.cc (13717:11e81e2a98bd) base.cc (13745:1cf82fb6c4ab)
1/*
2 * Copyright (c) 2012-2013, 2018 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 206 unchanged lines hidden (view full) ---

215 }
216 return false;
217}
218
219void
220BaseCache::handleTimingReqHit(PacketPtr pkt, CacheBlk *blk, Tick request_time)
221{
222 if (pkt->needsResponse()) {
1/*
2 * Copyright (c) 2012-2013, 2018 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 206 unchanged lines hidden (view full) ---

215 }
216 return false;
217}
218
219void
220BaseCache::handleTimingReqHit(PacketPtr pkt, CacheBlk *blk, Tick request_time)
221{
222 if (pkt->needsResponse()) {
223 // These delays should have been consumed by now
224 assert(pkt->headerDelay == 0);
225 assert(pkt->payloadDelay == 0);
226
223 pkt->makeTimingResponse();
227 pkt->makeTimingResponse();
224 // @todo: Make someone pay for this
225 pkt->headerDelay = pkt->payloadDelay = 0;
226
227 // In this case we are considering request_time that takes
228 // into account the delay of the xbar, if any, and just
229 // lat, neglecting responseLatency, modelling hit latency
230 // just as the value of lat overriden by access(), which calls
231 // the calculateAccessLatency() function.
232 cpuSidePort.schedTimingResp(pkt, request_time);
233 } else {

--- 2215 unchanged lines hidden ---
228
229 // In this case we are considering request_time that takes
230 // into account the delay of the xbar, if any, and just
231 // lat, neglecting responseLatency, modelling hit latency
232 // just as the value of lat overriden by access(), which calls
233 // the calculateAccessLatency() function.
234 cpuSidePort.schedTimingResp(pkt, request_time);
235 } else {

--- 2215 unchanged lines hidden ---