mem_ctrl.cc (12966:3b20a7f755d5) | mem_ctrl.cc (13430:4b0a26035e4b) |
---|---|
1/* | 1/* |
2 * Copyright (c) 2017 ARM Limited | 2 * Copyright (c) 2017-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 9 * licensed hereunder. You may use the software subject to the license 10 * terms below provided that you ensure that this notice is replicated --- 313 unchanged lines hidden (view full) --- 324 avgPriority.subname(i, master); 325 avgPriorityDistance.subname(i, master); 326 } 327 328 for (int j = 0; j < numPriorities(); ++j) { 329 priorityMinLatency.subname(j, std::to_string(j)); 330 priorityMaxLatency.subname(j, std::to_string(j)); 331 } | 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 9 * licensed hereunder. You may use the software subject to the license 10 * terms below provided that you ensure that this notice is replicated --- 313 unchanged lines hidden (view full) --- 324 avgPriority.subname(i, master); 325 avgPriorityDistance.subname(i, master); 326 } 327 328 for (int j = 0; j < numPriorities(); ++j) { 329 priorityMinLatency.subname(j, std::to_string(j)); 330 priorityMaxLatency.subname(j, std::to_string(j)); 331 } |
332 333 if (policy) 334 policy->regStats(); | |
335} 336 337void 338MemCtrl::recordTurnaroundStats() 339{ 340 if (busStateNext != busState) { 341 if (busState == READ) { 342 numWriteReadTurnArounds++; --- 13 unchanged lines hidden --- | 332} 333 334void 335MemCtrl::recordTurnaroundStats() 336{ 337 if (busStateNext != busState) { 338 if (busState == READ) { 339 numWriteReadTurnArounds++; --- 13 unchanged lines hidden --- |