base.hh (13478:59414c401cd9) base.hh (13624:3d8220c2d41d)
1/*
2 * Copyright (c) 2012-2013, 2015-2016, 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

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

1127 {
1128 memSidePort.schedSendEvent(time);
1129 }
1130
1131 bool inCache(Addr addr, bool is_secure) const {
1132 return tags->findBlock(addr, is_secure);
1133 }
1134
1/*
2 * Copyright (c) 2012-2013, 2015-2016, 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

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

1127 {
1128 memSidePort.schedSendEvent(time);
1129 }
1130
1131 bool inCache(Addr addr, bool is_secure) const {
1132 return tags->findBlock(addr, is_secure);
1133 }
1134
1135 bool hasBeenPrefetched(Addr addr, bool is_secure) const {
1136 CacheBlk *block = tags->findBlock(addr, is_secure);
1137 if (block) {
1138 return block->wasPrefetched();
1139 } else {
1140 return false;
1141 }
1142 }
1143
1135 bool inMissQueue(Addr addr, bool is_secure) const {
1136 return mshrQueue.findMatch(addr, is_secure);
1137 }
1138
1139 void incMissCount(PacketPtr pkt)
1140 {
1141 assert(pkt->req->masterId() < system->maxMasters());
1142 misses[pkt->cmdToIndex()][pkt->req->masterId()]++;

--- 197 unchanged lines hidden ---
1144 bool inMissQueue(Addr addr, bool is_secure) const {
1145 return mshrQueue.findMatch(addr, is_secure);
1146 }
1147
1148 void incMissCount(PacketPtr pkt)
1149 {
1150 assert(pkt->req->masterId() < system->maxMasters());
1151 misses[pkt->cmdToIndex()][pkt->req->masterId()]++;

--- 197 unchanged lines hidden ---