fa_lru.hh (10048:1548b7aa657c) | fa_lru.hh (10693:c0979b2ebda5) |
---|---|
1/* 2 * Copyright (c) 2012-2013 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 --- 196 unchanged lines hidden (view full) --- 205 * @param pkt The request to a find a replacement candidate for. 206 * @return The block to place the replacement in. 207 */ 208 FALRUBlk* findVictim(Addr addr); 209 210 void insertBlock(PacketPtr pkt, BlkType *blk); 211 212 /** | 1/* 2 * Copyright (c) 2012-2013 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 --- 196 unchanged lines hidden (view full) --- 205 * @param pkt The request to a find a replacement candidate for. 206 * @return The block to place the replacement in. 207 */ 208 FALRUBlk* findVictim(Addr addr); 209 210 void insertBlock(PacketPtr pkt, BlkType *blk); 211 212 /** |
213 * Return the hit latency of this cache. 214 * @return The hit latency. 215 */ 216 Cycles getHitLatency() const 217 { 218 return hitLatency; 219 } 220 221 /** | |
222 * Return the block size of this cache. 223 * @return The block size. 224 */ 225 unsigned 226 getBlockSize() const 227 { 228 return blkSize; 229 } --- 97 unchanged lines hidden --- | 213 * Return the block size of this cache. 214 * @return The block size. 215 */ 216 unsigned 217 getBlockSize() const 218 { 219 return blkSize; 220 } --- 97 unchanged lines hidden --- |