gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
PersistentTable Class Reference

#include <PersistentTable.hh>

Public Member Functions

 PersistentTable ()
 
 ~PersistentTable ()
 
void persistentRequestLock (Addr address, MachineID locker, AccessType type)
 
void persistentRequestUnlock (Addr address, MachineID unlocker)
 
bool okToIssueStarving (Addr address, MachineID machID) const
 
MachineID findSmallest (Addr address) const
 
AccessType typeOfSmallest (Addr address) const
 
void markEntries (Addr address)
 
bool isLocked (Addr addr) const
 
int countStarvingForAddress (Addr addr) const
 
int countReadStarvingForAddress (Addr addr) const
 
void print (std::ostream &out) const
 

Private Types

typedef std::unordered_map
< Addr, PersistentTableEntry
AddressMap
 

Private Member Functions

 PersistentTable (const PersistentTable &obj)
 
PersistentTableoperator= (const PersistentTable &obj)
 

Private Attributes

AddressMap m_map
 

Detailed Description

Definition at line 51 of file PersistentTable.hh.

Member Typedef Documentation

typedef std::unordered_map<Addr, PersistentTableEntry> PersistentTable::AddressMap
private

Definition at line 80 of file PersistentTable.hh.

Constructor & Destructor Documentation

PersistentTable::PersistentTable ( )

Definition at line 41 of file PersistentTable.cc.

PersistentTable::~PersistentTable ( )

Definition at line 45 of file PersistentTable.cc.

PersistentTable::PersistentTable ( const PersistentTable obj)
private

Member Function Documentation

int PersistentTable::countReadStarvingForAddress ( Addr  addr) const
int PersistentTable::countStarvingForAddress ( Addr  addr) const
MachineID PersistentTable::findSmallest ( Addr  address) const
bool PersistentTable::isLocked ( Addr  addr) const

Definition at line 183 of file PersistentTable.cc.

References makeLineAddress().

void PersistentTable::markEntries ( Addr  address)
bool PersistentTable::okToIssueStarving ( Addr  address,
MachineID  machID 
) const
PersistentTable& PersistentTable::operator= ( const PersistentTable obj)
private
void PersistentTable::persistentRequestLock ( Addr  address,
MachineID  locker,
AccessType  type 
)
void PersistentTable::persistentRequestUnlock ( Addr  address,
MachineID  unlocker 
)
void PersistentTable::print ( std::ostream &  out) const

Definition at line 216 of file PersistentTable.cc.

Referenced by operator<<().

AccessType PersistentTable::typeOfSmallest ( Addr  address) const

Definition at line 151 of file PersistentTable.cc.

References ArmISA::i, and makeLineAddress().

Member Data Documentation

AddressMap PersistentTable::m_map
private

Definition at line 81 of file PersistentTable.hh.


The documentation for this class was generated from the following files:

Generated on Fri Jun 9 2017 13:04:16 for gem5 by doxygen 1.8.6