queue.hh (11377:a06a4debe272) | queue.hh (11484:08b33c52a16d) |
---|---|
1/* 2 * Copyright (c) 2012-2013, 2015-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 --- 192 unchanged lines hidden (view full) --- 201 202 /** 203 * Returns the WriteQueueEntry at the head of the readyList. 204 * @return The next request to service. 205 */ 206 Entry* getNext() const 207 { 208 if (readyList.empty() || readyList.front()->readyTime > curTick()) { | 1/* 2 * Copyright (c) 2012-2013, 2015-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 --- 192 unchanged lines hidden (view full) --- 201 202 /** 203 * Returns the WriteQueueEntry at the head of the readyList. 204 * @return The next request to service. 205 */ 206 Entry* getNext() const 207 { 208 if (readyList.empty() || readyList.front()->readyTime > curTick()) { |
209 return NULL; | 209 return nullptr; |
210 } 211 return readyList.front(); 212 } 213 214 Tick nextReadyTime() const 215 { 216 return readyList.empty() ? MaxTick : readyList.front()->readyTime; 217 } --- 34 unchanged lines hidden --- | 210 } 211 return readyList.front(); 212 } 213 214 Tick nextReadyTime() const 215 { 216 return readyList.empty() ? MaxTick : readyList.front()->readyTime; 217 } --- 34 unchanged lines hidden --- |