base.cc (12728:57bdea4f96aa) | base.cc (12745:e28c117a9806) |
---|---|
1/* 2 * Copyright (c) 2013,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 --- 85 unchanged lines hidden (view full) --- 94 MasterID master_id = pkt->req->masterId(); 95 assert(master_id < cache->system->maxMasters()); 96 occupancies[master_id]++; 97 98 // Insert block with tag, src master id and task id 99 blk->insert(extractTag(addr), pkt->isSecure(), master_id, 100 pkt->req->taskId()); 101 | 1/* 2 * Copyright (c) 2013,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 --- 85 unchanged lines hidden (view full) --- 94 MasterID master_id = pkt->req->masterId(); 95 assert(master_id < cache->system->maxMasters()); 96 occupancies[master_id]++; 97 98 // Insert block with tag, src master id and task id 99 blk->insert(extractTag(addr), pkt->isSecure(), master_id, 100 pkt->req->taskId()); 101 |
102 tagsInUse++; | |
103 if (!warmedUp && tagsInUse.value() >= warmupBound) { 104 warmedUp = true; 105 warmupCycle = curTick(); 106 } 107 108 // We only need to write into one tag and one data block. 109 tagAccesses += 1; 110 dataAccesses += 1; --- 163 unchanged lines hidden --- | 102 if (!warmedUp && tagsInUse.value() >= warmupBound) { 103 warmedUp = true; 104 warmupCycle = curTick(); 105 } 106 107 // We only need to write into one tag and one data block. 108 tagAccesses += 1; 109 dataAccesses += 1; --- 163 unchanged lines hidden --- |