summaryrefslogtreecommitdiff
path: root/src/mem/cache/base.cc
diff options
context:
space:
mode:
authorIvan Pizarro <ivan.pizarro@metempsy.com>2018-12-03 23:03:01 +0100
committerIvan Pizarro <ivan.pizarro@metempsy.com>2019-02-25 11:17:30 +0000
commitd63f735663d710839f79a4b88af67da968995168 (patch)
treee123e0d0f8e4016940508d037e64d64e0fff56f9 /src/mem/cache/base.cc
parentf4d3080f4586147b9ee962770110944467b26c0c (diff)
downloadgem5-d63f735663d710839f79a4b88af67da968995168.tar.xz
mem-cache: A Best-Offset Prefetcher
Michaud, P. (2015, June). A best-offset prefetcher. In 2nd Data Prefetching Championship. Change-Id: I61bb89ca5639356d54aeb04e856d5bf6e8805c22 Reviewed-on: https://gem5-review.googlesource.com/c/14820 Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'src/mem/cache/base.cc')
-rw-r--r--src/mem/cache/base.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mem/cache/base.cc b/src/mem/cache/base.cc
index 6049ca6a6..5b4307b76 100644
--- a/src/mem/cache/base.cc
+++ b/src/mem/cache/base.cc
@@ -478,6 +478,7 @@ BaseCache::recvTimingResp(PacketPtr pkt)
writeAllocator->allocate() : mshr->allocOnFill();
blk = handleFill(pkt, blk, writebacks, allocate);
assert(blk != nullptr);
+ ppFill->notify(pkt);
}
if (blk && blk->isValid() && pkt->isClean() && !pkt->isInvalidate()) {
@@ -2223,6 +2224,7 @@ BaseCache::regProbePoints()
{
ppHit = new ProbePointArg<PacketPtr>(this->getProbeManager(), "Hit");
ppMiss = new ProbePointArg<PacketPtr>(this->getProbeManager(), "Miss");
+ ppFill = new ProbePointArg<PacketPtr>(this->getProbeManager(), "Fill");
}
///////////////