cache.hh (2991:60cd98c72fd9) | cache.hh (3135:8e008e281579) |
---|---|
1/* 2 * Copyright (c) 2002-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; --- 237 unchanged lines hidden (view full) --- 246 * time of completion. This function can either update the hierarchy state 247 * or just perform the access wherever the data is found depending on the 248 * state of the update flag. 249 * @param pkt The memory request to satisfy 250 * @param update If true, update the hierarchy, otherwise just perform the 251 * request. 252 * @return The estimated completion time. 253 */ | 1/* 2 * Copyright (c) 2002-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; --- 237 unchanged lines hidden (view full) --- 246 * time of completion. This function can either update the hierarchy state 247 * or just perform the access wherever the data is found depending on the 248 * state of the update flag. 249 * @param pkt The memory request to satisfy 250 * @param update If true, update the hierarchy, otherwise just perform the 251 * request. 252 * @return The estimated completion time. 253 */ |
254 Tick probe(Packet * &pkt, bool update); | 254 Tick probe(Packet * &pkt, bool update, CachePort * otherSidePort); |
255 256 /** 257 * Snoop for the provided request in the cache and return the estimated 258 * time of completion. 259 * @todo Can a snoop probe not change state? 260 * @param pkt The memory request to satisfy 261 * @param update If true, update the hierarchy, otherwise just perform the 262 * request. 263 * @return The estimated completion time. 264 */ | 255 256 /** 257 * Snoop for the provided request in the cache and return the estimated 258 * time of completion. 259 * @todo Can a snoop probe not change state? 260 * @param pkt The memory request to satisfy 261 * @param update If true, update the hierarchy, otherwise just perform the 262 * request. 263 * @return The estimated completion time. 264 */ |
265 Tick snoopProbe(Packet * &pkt, bool update); | 265 Tick snoopProbe(Packet * &pkt); |
266}; 267 268#endif // __CACHE_HH__ | 266}; 267 268#endif // __CACHE_HH__ |