mem: Add priority to QueuedPrefetcher
authorRekai Gonzalez Alberquilla <Rekai.GonzalezAlberquilla@arm.com>
Thu, 7 Apr 2016 16:32:38 +0000 (11:32 -0500)
committerRekai Gonzalez Alberquilla <Rekai.GonzalezAlberquilla@arm.com>
Thu, 7 Apr 2016 16:32:38 +0000 (11:32 -0500)
commitaf27586fbc75480725fbef0564775fe5aa8cc8d8
tree172bc90811714896da278d16d97edbbb1f3fe4e2
parentdad7d9277b571305ee248cd761a7dbb9400b3681
mem: Add priority to QueuedPrefetcher

Queued prefetcher entries now count with a priority field. The idea is to
add packets ordered by priority and then by age.

For the existing algorithms in which priority doesn't make sense, it is set
to 0 for all deferred packets in the queue.
src/mem/cache/prefetch/queued.cc
src/mem/cache/prefetch/queued.hh
src/mem/cache/prefetch/stride.cc
src/mem/cache/prefetch/stride.hh
src/mem/cache/prefetch/tagged.cc
src/mem/cache/prefetch/tagged.hh