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

#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
 
RubyTesterm_tester_ptr
 

Detailed Description

Definition at line 45 of file Check.hh.

Constructor & Destructor Documentation

Check::Check ( Addr  address,
Addr  pc,
int  _num_writers,
int  _num_readers,
RubyTester _tester 
)

Member Function Documentation

void Check::changeAddress ( Addr  address)

Definition at line 347 of file Check.cc.

References DPRINTF, m_address, m_status, and m_store_count.

Referenced by Check().

void Check::debugPrint ( )
private

Definition at line 388 of file Check.cc.

References DPRINTF, m_address, m_initiatingNode, m_status, m_store_count, and m_value.

Referenced by initiate(), and performCallback().

Addr Check::getAddress ( ) const
inline

Definition at line 53 of file Check.hh.

References m_address.

void Check::initiate ( )
void Check::initiateAction ( )
private
void Check::initiateCheck ( )
private
void Check::initiateFlush ( )
private
void Check::initiatePrefetch ( )
private
void Check::performCallback ( NodeID  proc,
SubBlock data,
Cycles  curTime 
)
void Check::pickInitiatingNode ( )
private

Definition at line 365 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().

void Check::pickValue ( )
private

Definition at line 357 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 376 of file Check.cc.

References m_address, m_initiatingNode, m_status, m_store_count, and m_value.

Referenced by operator<<().

Member Data Documentation

RubyAccessMode Check::m_access_mode
private

Definition at line 75 of file Check.hh.

Referenced by Check().

Addr Check::m_address
private
NodeID Check::m_initiatingNode
private

Definition at line 72 of file Check.hh.

Referenced by debugPrint(), pickInitiatingNode(), and print().

int Check::m_num_readers
private

Definition at line 77 of file Check.hh.

Referenced by initiateCheck(), and initiatePrefetch().

int Check::m_num_writers
private

Definition at line 76 of file Check.hh.

Referenced by initiateAction(), initiateFlush(), and pickInitiatingNode().

Addr Check::m_pc
private

Definition at line 74 of file Check.hh.

Referenced by Check(), initiateAction(), initiateCheck(), initiateFlush(), and initiatePrefetch().

TesterStatus Check::m_status
private
int Check::m_store_count
private
RubyTester* Check::m_tester_ptr
private
uint8_t Check::m_value
private

Definition at line 70 of file Check.hh.

Referenced by debugPrint(), initiateAction(), performCallback(), pickValue(), and print().


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

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