40 #include "params/MultiPrefetcher.hh" 46 prefetchers(p->prefetchers.begin(), p->prefetchers.end())
63 next_ready = std::min(next_ready,
pf->nextPrefetchReadyTime());
72 if (
pf->nextPrefetchReadyTime() <=
curTick()) {
74 panic_if(!pkt,
"Prefetcher is ready but didn't return a packet.");
85 MultiPrefetcherParams::create()
std::list< Base * > prefetchers
List of sub-prefetchers ordered by priority.
Tick nextPrefetchReadyTime() const override
Multi(const MultiPrefetcherParams *p)
Tick curTick()
The current simulated tick.
uint64_t Tick
Tick count type.
void setCache(BaseCache *_cache) override
A Packet is used to encapsulate a transfer between two objects in the memory system (e...
PacketPtr getPacket() override
Copyright (c) 2018 Metempsy Technology Consulting All rights reserved.
#define panic_if(cond,...)
Conditional panic macro that checks the supplied condition and only panics if the condition is true a...