1/* 2 * Copyright (c) 2013,2016 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 --- 86 unchanged lines hidden (view full) --- 95 replacements[0]++; 96 totalRefs += blk->refCount; 97 ++sampledRefs; 98 99 invalidate(blk); 100 blk->invalidate(); 101 } 102 |
103 // Previous block, if existed, has been removed, and now we have 104 // to insert the new one 105 tagsInUse++; 106 |
107 // Deal with what we are bringing in 108 MasterID master_id = pkt->req->masterId(); 109 assert(master_id < cache->system->maxMasters()); 110 occupancies[master_id]++; |
111 |
112 // Insert block with tag, src master id and task id 113 blk->insert(extractTag(addr), pkt->isSecure(), master_id, 114 pkt->req->taskId()); |
115 116 // We only need to write into one tag and one data block. 117 tagAccesses += 1; 118 dataAccesses += 1; 119} 120 121void 122BaseTags::regStats() --- 95 unchanged lines hidden --- |