fa_lru.hh (5338:e75d02a09806) | fa_lru.hh (5706:2cc2387049bc) |
---|---|
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; --- 151 unchanged lines hidden (view full) --- 160 161 /** 162 * Register the stats for this object. 163 * @param name The name to prepend to the stats name. 164 */ 165 void regStats(const std::string &name); 166 167 /** | 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; --- 151 unchanged lines hidden (view full) --- 160 161 /** 162 * Register the stats for this object. 163 * @param name The name to prepend to the stats name. 164 */ 165 void regStats(const std::string &name); 166 167 /** |
168 * Return true if the address is found in the cache. 169 * @param asid The address space ID. 170 * @param addr The address to look for. 171 * @return True if the address is in the cache. 172 */ 173 bool probe(Addr addr) const; 174 175 /** | |
176 * Invalidate a cache block. 177 * @param blk The block to invalidate. 178 */ 179 void invalidateBlk(BlkType *blk); 180 181 /** 182 * Find the block in the cache and update the replacement data. Returns 183 * the access latency and the in cache flags as a side effect --- 130 unchanged lines hidden --- | 168 * Invalidate a cache block. 169 * @param blk The block to invalidate. 170 */ 171 void invalidateBlk(BlkType *blk); 172 173 /** 174 * Find the block in the cache and update the replacement data. Returns 175 * the access latency and the in cache flags as a side effect --- 130 unchanged lines hidden --- |