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