mem-cache: Use SatCounter in Stride prefetcher
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Sun, 29 Dec 2019 13:18:22 +0000 (14:18 +0100)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Fri, 1 May 2020 13:38:16 +0000 (13:38 +0000)
commit31b34874d50ff678ad3269aa665db0ad31358e26
treea14d31255a799ab5f2d41ae89dbc78aafc098f28
parent235f2494819d7fe6a9d45ce37d6d9e8b1854ede9
mem-cache: Use SatCounter in Stride prefetcher

There is no need to reimplement saturating counter functionality.

Change-Id: Ie7753089873f41a378ab88fd5f095302c3428797
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24542
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/cache/prefetch/Prefetcher.py
src/mem/cache/prefetch/stride.cc
src/mem/cache/prefetch/stride.hh