base.hh (12744:d1ff0b42b747) base.hh (12745:e28c117a9806)
1/*
2 * Copyright (c) 2012-2014,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

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

248 *
249 * @param blk A valid block to invalidate.
250 */
251 virtual void invalidate(CacheBlk *blk)
252 {
253 assert(blk);
254 assert(blk->isValid());
255
1/*
2 * Copyright (c) 2012-2014,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

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

248 *
249 * @param blk A valid block to invalidate.
250 */
251 virtual void invalidate(CacheBlk *blk)
252 {
253 assert(blk);
254 assert(blk->isValid());
255
256 tagsInUse--;
257 occupancies[blk->srcMasterId]--;
258 totalRefs += blk->refCount;
259 sampledRefs++;
260
261 blk->invalidate();
262 }
263
264 /**

--- 89 unchanged lines hidden ---
256 occupancies[blk->srcMasterId]--;
257 totalRefs += blk->refCount;
258 sampledRefs++;
259
260 blk->invalidate();
261 }
262
263 /**

--- 89 unchanged lines hidden ---