This patch exposes the tag and data array latencies to the SLICC state machines
so that it can be used to determine the correct enqueue latency for response
messages.
void deallocate(Address);
AbstractCacheEntry lookup(Address);
bool isTagPresent(Address);
+ Cycles getTagLatency();
+ Cycles getDataLatency();
void setMRU(Address);
void recordRequestType(CacheRequestType);
bool checkResourceAvailable(CacheResourceType, Address);
// This is so we don't get aliasing on blocks being replaced
bool tryAccess(int64 idx);
+ Cycles getLatency() const { return accessLatency; }
};
#endif
const AbstractCacheEntry* lookup(const Address& address) const;
Cycles getLatency() const { return m_latency; }
+ Cycles getTagLatency() const { return tagArray.getLatency(); }
+ Cycles getDataLatency() const { return dataArray.getLatency(); }
+
// Hook for checkpointing the contents of the cache
void recordCacheContents(int cntrl, CacheRecorder* tr) const;