{
fatal_if(!isPowerOf2(hotZoneSize),
"the hot zone size must be a power of 2");
- if (!epochEvent.scheduled()) {
- schedule(epochEvent, clockEdge(epochCycles));
- }
+}
+
+void
+AccessMapPatternMatching::startup()
+{
+ schedule(epochEvent, clockEdge(epochCycles));
}
void
std::vector<QueuedPrefetcher::AddrPriority> &addresses)
{
assert(addresses.empty());
+
bool is_secure = pfi.isSecure();
Addr am_addr = pfi.getAddr() / hotZoneSize;
Addr current_block = (pfi.getAddr() % hotZoneSize) / blkSize;
AccessMapPatternMatching(const AccessMapPatternMatchingParams* p);
~AccessMapPatternMatching()
{}
+ void startup() override;
void calculatePrefetch(const BasePrefetcher::PrefetchInfo &pfi,
std::vector<QueuedPrefetcher::AddrPriority> &addresses);
};