gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::ruby::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, PersistentTableEntryAddressMap
 

Private Member Functions

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

Private Attributes

AddressMap m_map
 

Detailed Description

Definition at line 57 of file PersistentTable.hh.

Member Typedef Documentation

◆ AddressMap

Definition at line 86 of file PersistentTable.hh.

Constructor & Destructor Documentation

◆ PersistentTable() [1/2]

gem5::ruby::PersistentTable::PersistentTable ( )

Definition at line 37 of file PersistentTable.cc.

◆ ~PersistentTable()

gem5::ruby::PersistentTable::~PersistentTable ( )

Definition at line 41 of file PersistentTable.cc.

◆ PersistentTable() [2/2]

gem5::ruby::PersistentTable::PersistentTable ( const PersistentTable & obj)
private

Member Function Documentation

◆ countReadStarvingForAddress()

int gem5::ruby::PersistentTable::countReadStarvingForAddress ( Addr addr) const

◆ countStarvingForAddress()

int gem5::ruby::PersistentTable::countStarvingForAddress ( Addr addr) const

◆ findSmallest()

MachineID gem5::ruby::PersistentTable::findSmallest ( Addr address) const

◆ isLocked()

bool gem5::ruby::PersistentTable::isLocked ( Addr addr) const

Definition at line 163 of file PersistentTable.cc.

References m_map, and gem5::ruby::makeLineAddress().

◆ markEntries()

◆ okToIssueStarving()

◆ operator=()

PersistentTable & gem5::ruby::PersistentTable::operator= ( const PersistentTable & obj)
private

◆ persistentRequestLock()

◆ persistentRequestUnlock()

◆ print()

void gem5::ruby::PersistentTable::print ( std::ostream & out) const

Definition at line 196 of file PersistentTable.cc.

Referenced by gem5::ruby::operator<<().

◆ typeOfSmallest()

Member Data Documentation

◆ m_map


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

Generated on Tue Jun 18 2024 16:24:22 for gem5 by doxygen 1.11.0