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