gem5 v24.0.0.0
|
#include <CheckTable.hh>
Public Member Functions | |
CheckTable (int _num_writers, int _num_readers, RubyTester *_tester) | |
~CheckTable () | |
Check * | getRandomCheck () |
Check * | getCheck (Addr address) |
void | print (std::ostream &out) const |
Private Member Functions | |
void | addCheck (Addr address) |
CheckTable (const CheckTable &obj) | |
CheckTable & | operator= (const CheckTable &obj) |
Private Attributes | |
std::vector< Check * > | m_check_vector |
std::unordered_map< Addr, Check * > | m_lookup_map |
int | m_num_writers |
int | m_num_readers |
RubyTester * | m_tester_ptr |
Definition at line 45 of file CheckTable.hh.
gem5::CheckTable::CheckTable | ( | int | _num_writers, |
int | _num_readers, | ||
RubyTester * | _tester ) |
Definition at line 41 of file CheckTable.cc.
References addCheck(), gem5::CHECK_SIZE, DPRINTF, and gem5::ArmISA::i.
gem5::CheckTable::~CheckTable | ( | ) |
Definition at line 78 of file CheckTable.cc.
References gem5::ArmISA::i, and m_check_vector.
|
private |
|
private |
Definition at line 86 of file CheckTable.cc.
References gem5::ruby::bitSelect(), gem5::CHECK_SIZE, gem5::CHECK_SIZE_BITS, DPRINTF, gem5::floorLog2(), gem5::ArmISA::i, m_check_vector, m_lookup_map, m_num_readers, m_num_writers, m_tester_ptr, and panic.
Referenced by CheckTable().
Definition at line 121 of file CheckTable.cc.
References DPRINTF, gem5::ArmISA::i, and m_lookup_map.
Referenced by gem5::RubyTester::hitCallback().
Check * gem5::CheckTable::getRandomCheck | ( | ) |
Definition at line 114 of file CheckTable.cc.
References m_check_vector, gem5::Random::random(), and gem5::random_mt.
Referenced by gem5::RubyTester::wakeup().
|
private |
void gem5::CheckTable::print | ( | std::ostream & | out | ) | const |
Definition at line 136 of file CheckTable.cc.
Referenced by gem5::operator<<().
|
private |
Definition at line 68 of file CheckTable.hh.
Referenced by addCheck(), getRandomCheck(), and ~CheckTable().
Definition at line 69 of file CheckTable.hh.
Referenced by addCheck(), and getCheck().
|
private |
Definition at line 72 of file CheckTable.hh.
Referenced by addCheck().
|
private |
Definition at line 71 of file CheckTable.hh.
Referenced by addCheck().
|
private |
Definition at line 73 of file CheckTable.hh.
Referenced by addCheck().