32 #ifndef __MEM_RUBY_STRUCTURES_BANKEDARRAY_HH__
33 #define __MEM_RUBY_STRUCTURES_BANKEDARRAY_HH__
unsigned int mapIndexToBank(int64_t idx)
Cycles is a wrapper class for representing cycle counts, i.e.
bool tryAccess(int64_t idx)
std::vector< AccessRecord > busyBanks
unsigned int startIndexBit
uint64_t Tick
Tick count type.
BankedArray(unsigned int banks, Cycles accessLatency, unsigned int startIndexBit, RubySystem *rs)
void reserve(int64_t idx)
Cycles getLatency() const
RubySystem * m_ruby_system