mem: Delay servicing an MSHR after its allocation
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Mon, 10 Oct 2016 12:48:08 +0000 (13:48 +0100)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Thu, 18 Oct 2018 09:40:05 +0000 (09:40 +0000)
commitbf305c14c47c4bd228c0910ea3bb30ab4bc935e1
tree0effb6c54e8e8206c4f549cc78eba9d05bdd4765
parente57d8f2d897bc26aade774e090842367e38e974b
mem: Delay servicing an MSHR after its allocation

An MSHR is allocated and the computed latency determines when the MSHR
will be ready and can be serviced by the cache. This patch adds a
function that allows changing the time that an MSHR is ready and
adjusts the queue such that other MSHRs can be serviced first if they
are ready.

Change-Id: Ie908191fcb3c2d84d4c6f855c8b1e41ca5881bff
Reviewed-on: https://gem5-review.googlesource.com/c/12906
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/mshr.hh
src/mem/cache/mshr_queue.cc
src/mem/cache/mshr_queue.hh