fa_lru.hh (5716:ee56bb539212) | fa_lru.hh (5717:6ed48cba2217) |
---|---|
1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 183 unchanged lines hidden (view full) --- 192 FALRUBlk* findBlock(Addr addr) const; 193 194 /** 195 * Find a replacement block for the address provided. 196 * @param pkt The request to a find a replacement candidate for. 197 * @param writebacks List for any writebacks to be performed. 198 * @return The block to place the replacement in. 199 */ | 1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 183 unchanged lines hidden (view full) --- 192 FALRUBlk* findBlock(Addr addr) const; 193 194 /** 195 * Find a replacement block for the address provided. 196 * @param pkt The request to a find a replacement candidate for. 197 * @param writebacks List for any writebacks to be performed. 198 * @return The block to place the replacement in. 199 */ |
200 FALRUBlk* findReplacement(Addr addr, PacketList & writebacks); | 200 FALRUBlk* findVictim(Addr addr, PacketList & writebacks); |
201 | 201 |
202 void insertBlock(Addr addr, BlkType *blk); 203 |
|
202 /** 203 * Return the hit latency of this cache. 204 * @return The hit latency. 205 */ 206 int getHitLatency() const 207 { 208 return hitLatency; 209 } --- 98 unchanged lines hidden --- | 204 /** 205 * Return the hit latency of this cache. 206 * @return The hit latency. 207 */ 208 int getHitLatency() const 209 { 210 return hitLatency; 211 } --- 98 unchanged lines hidden --- |