|
gem5
v21.0.1.0
|
#include <Check.hh>
Public Member Functions | |
| Check (Addr address, Addr pc, int _num_writers, int _num_readers, RubyTester *_tester) | |
| void | initiate () |
| void | performCallback (NodeID proc, SubBlock *data, Cycles curTime) |
| Addr | getAddress () const |
| void | changeAddress (Addr address) |
| void | print (std::ostream &out) const |
Private Member Functions | |
| void | initiateFlush () |
| void | initiatePrefetch () |
| void | initiateAction () |
| void | initiateCheck () |
| void | pickValue () |
| void | pickInitiatingNode () |
| void | debugPrint () |
Private Attributes | |
| TesterStatus | m_status |
| uint8_t | m_value |
| int | m_store_count |
| NodeID | m_initiatingNode |
| Addr | m_address |
| Addr | m_pc |
| RubyAccessMode | m_access_mode |
| int | m_num_writers |
| int | m_num_readers |
| RubyTester * | m_tester_ptr |
| Check::Check | ( | Addr | address, |
| Addr | pc, | ||
| int | _num_writers, | ||
| int | _num_readers, | ||
| RubyTester * | _tester | ||
| ) |
Definition at line 39 of file Check.cc.
References changeAddress(), m_access_mode, m_pc, m_status, m_store_count, MipsISA::pc, pickInitiatingNode(), pickValue(), Random::random(), and random_mt.
| void Check::changeAddress | ( | Addr | address | ) |
|
private |
Definition at line 389 of file Check.cc.
References DPRINTF, m_address, m_initiatingNode, m_status, m_store_count, and m_value.
Referenced by initiate(), and performCallback().
|
inline |
| void Check::initiate | ( | ) |
Definition at line 56 of file Check.cc.
References debugPrint(), DPRINTF, RubyTester::getCheckFlush(), initiateAction(), initiateCheck(), initiateFlush(), initiatePrefetch(), m_status, m_tester_ptr, Random::random(), and random_mt.
Referenced by RubyTester::wakeup().
|
private |
Definition at line 169 of file Check.cc.
References Packet::dataDynamic(), DPRINTF, Packet::getConstPtr(), RubyTester::getWritableCpuPort(), MipsISA::index, m_address, m_num_writers, m_pc, m_status, m_store_count, m_tester_ptr, m_value, Random::random(), random_mt, RubyTester::requestorId(), Packet::senderState, RequestPort::sendTimingReq(), and MemCmd::WriteReq.
Referenced by initiate().
|
private |
Definition at line 230 of file Check.cc.
References CHECK_SIZE, Packet::dataDynamic(), DPRINTF, RubyTester::getReadableCpuPort(), MipsISA::index, Request::INST_FETCH, RubyTester::isInstDataCpuPort(), RubyTester::isInstOnlyCpuPort(), m_address, m_num_readers, m_pc, m_status, m_tester_ptr, Random::random(), random_mt, MemCmd::ReadReq, RubyTester::requestorId(), Packet::senderState, RequestPort::sendTimingReq(), and Flags< T >::set().
Referenced by initiate().
|
private |
Definition at line 139 of file Check.cc.
References CHECK_SIZE, DPRINTF, MemCmd::FlushReq, RubyTester::getWritableCpuPort(), MipsISA::index, m_address, m_num_writers, m_pc, m_tester_ptr, Random::random(), random_mt, RubyTester::requestorId(), Packet::senderState, and RequestPort::sendTimingReq().
Referenced by initiate().
|
private |
Definition at line 82 of file Check.cc.
References data, Packet::dataDynamic(), DPRINTF, RubyTester::getReadableCpuPort(), MipsISA::index, Request::INST_FETCH, RubyTester::isInstDataCpuPort(), RubyTester::isInstOnlyCpuPort(), m_address, m_num_readers, m_pc, m_tester_ptr, Request::PF_EXCLUSIVE, Request::PREFETCH, Random::random(), random_mt, MemCmd::ReadReq, RubyTester::requestorId(), Packet::senderState, RequestPort::sendTimingReq(), Flags< T >::set(), and MemCmd::WriteReq.
Referenced by initiate().
Definition at line 284 of file Check.cc.
References CHECK_SIZE, data, debugPrint(), DPRINTF, RubyTester::incrementCheckCompletions(), m_address, m_status, m_store_count, m_tester_ptr, m_value, makeLineAddress(), panic, and pickValue().
Referenced by RubyTester::hitCallback().
|
private |
Definition at line 366 of file Check.cc.
References DPRINTF, m_address, m_initiatingNode, m_num_writers, m_status, m_store_count, Random::random(), and random_mt.
Referenced by Check().
|
private |
Definition at line 358 of file Check.cc.
References m_status, m_store_count, m_value, Random::random(), and random_mt.
Referenced by Check(), and performCallback().
| void Check::print | ( | std::ostream & | out | ) | const |
Definition at line 377 of file Check.cc.
References m_address, m_initiatingNode, m_status, m_store_count, and m_value.
Referenced by operator<<().
|
private |
|
private |
Definition at line 73 of file Check.hh.
Referenced by changeAddress(), debugPrint(), getAddress(), initiateAction(), initiateCheck(), initiateFlush(), initiatePrefetch(), performCallback(), pickInitiatingNode(), and print().
|
private |
Definition at line 72 of file Check.hh.
Referenced by debugPrint(), pickInitiatingNode(), and print().
|
private |
Definition at line 77 of file Check.hh.
Referenced by initiateCheck(), and initiatePrefetch().
|
private |
Definition at line 76 of file Check.hh.
Referenced by initiateAction(), initiateFlush(), and pickInitiatingNode().
|
private |
Definition at line 74 of file Check.hh.
Referenced by Check(), initiateAction(), initiateCheck(), initiateFlush(), and initiatePrefetch().
|
private |
Definition at line 69 of file Check.hh.
Referenced by changeAddress(), Check(), debugPrint(), initiate(), initiateAction(), initiateCheck(), performCallback(), pickInitiatingNode(), pickValue(), and print().
|
private |
Definition at line 71 of file Check.hh.
Referenced by changeAddress(), Check(), debugPrint(), initiateAction(), performCallback(), pickInitiatingNode(), pickValue(), and print().
|
private |
Definition at line 78 of file Check.hh.
Referenced by initiate(), initiateAction(), initiateCheck(), initiateFlush(), initiatePrefetch(), and performCallback().
|
private |
Definition at line 70 of file Check.hh.
Referenced by debugPrint(), initiateAction(), performCallback(), pickValue(), and print().