diff options
author | Neha Agarwal <neha.agarwal@arm.com> | 2013-11-01 11:56:27 -0400 |
---|---|---|
committer | Neha Agarwal <neha.agarwal@arm.com> | 2013-11-01 11:56:27 -0400 |
commit | 77fce1ce0e1db502b47ea72c4243c929666d04fa (patch) | |
tree | ec65bb9c33ec6b6090b8ce65a5c7a9d5771249a5 /src/mem/simple_dram.hh | |
parent | bb572663cf1ba802492743f1196eb9eac4c20bea (diff) | |
download | gem5-77fce1ce0e1db502b47ea72c4243c929666d04fa.tar.xz |
mem: Unify request selection for read and write queues
This patch unifies the request selection across read and write queues
for FR-FCFS scheduling policy. It also fixes the request selection
code to prioritize the row hits present in the request queues over the
selection based on earliest bank availability.
Diffstat (limited to 'src/mem/simple_dram.hh')
-rw-r--r-- | src/mem/simple_dram.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mem/simple_dram.hh b/src/mem/simple_dram.hh index a7a100d7c..535e3a8c5 100644 --- a/src/mem/simple_dram.hh +++ b/src/mem/simple_dram.hh @@ -398,6 +398,12 @@ class SimpleDRAM : public AbstractMemory void chooseNextWrite(); /** + * For FR-FCFS policy reorder the read/write queue depending on row buffer + * hits and earliest banks available in DRAM + */ + void reorderQueue(std::deque<DRAMPacket*>& queue); + + /** * Looking at all banks, determine the moment in time when they * are all free. * |