29 #ifndef __MEM_RUBY_STRUCTURES_PERSISTENTTABLE_HH__
30 #define __MEM_RUBY_STRUCTURES_PERSISTENTTABLE_HH__
33 #include <unordered_map>
35 #include "mem/protocol/AccessType.hh"
44 void print(std::ostream& out)
const {}
72 void print(std::ostream& out)
const;
80 typedef std::unordered_map<Addr, PersistentTableEntry>
AddressMap;
100 #endif // __MEM_RUBY_STRUCTURES_PERSISTENTTABLE_HH__
NetDest m_request_to_write
AccessType typeOfSmallest(Addr address) const
std::unordered_map< Addr, PersistentTableEntry > AddressMap
void persistentRequestUnlock(Addr address, MachineID unlocker)
void print(std::ostream &out) const
MachineID findSmallest(Addr address) const
bool isLocked(Addr addr) const
void print(std::ostream &out) const
bool okToIssueStarving(Addr address, MachineID machID) const
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
void markEntries(Addr address)
int countStarvingForAddress(Addr addr) const
std::ostream & operator<<(std::ostream &out, const PersistentTable &obj)
PersistentTable & operator=(const PersistentTable &obj)
int countReadStarvingForAddress(Addr addr) const
void persistentRequestLock(Addr address, MachineID locker, AccessType type)