summaryrefslogtreecommitdiff
path: root/src/mem/cache/prefetch/spatio_temporal_memory_streaming.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/cache/prefetch/spatio_temporal_memory_streaming.hh')
-rw-r--r--src/mem/cache/prefetch/spatio_temporal_memory_streaming.hh10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/mem/cache/prefetch/spatio_temporal_memory_streaming.hh b/src/mem/cache/prefetch/spatio_temporal_memory_streaming.hh
index 34cf5d12a..725fa38db 100644
--- a/src/mem/cache/prefetch/spatio_temporal_memory_streaming.hh
+++ b/src/mem/cache/prefetch/spatio_temporal_memory_streaming.hh
@@ -86,12 +86,16 @@ class STeMSPrefetcher : public QueuedPrefetcher
/** Sequence of accesses */
std::vector<SequenceEntry> sequence;
- ActiveGenerationTableEntry(int num_positions) : paddress(0), pc(0),
+ ActiveGenerationTableEntry(int num_positions)
+ : TaggedEntry(), paddress(0), pc(0),
seqCounter(0), sequence(num_positions)
- {}
+ {
+ }
- void reset() override
+ void
+ invalidate() override
{
+ TaggedEntry::invalidate();
paddress = 0;
pc = 0;
seqCounter = 0;