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

The Transaction class captures the lifetimes of read and write operations, and the values they consumed or produced respectively. More...

#include <mem_checker.hh>

Public Member Functions

 Transaction (Serial _serial, Tick _start, Tick _complete, uint8_t _data=DATA_INITIAL)
 
bool operator< (const Transaction &rhs) const
 Orders Transactions for use with std::map. More...
 

Public Attributes

Serial serial
 Unique identifying serial. More...
 
Tick start
 Start tick. More...
 
Tick complete
 Completion tick. More...
 
uint8_t data
 Depending on the memory operation, the data value either represents: for writes, the value written upon start; for reads, the value read upon completion. More...
 

Detailed Description

The Transaction class captures the lifetimes of read and write operations, and the values they consumed or produced respectively.

Definition at line 105 of file mem_checker.hh.

Constructor & Destructor Documentation

MemChecker::Transaction::Transaction ( Serial  _serial,
Tick  _start,
Tick  _complete,
uint8_t  _data = DATA_INITIAL 
)
inline

Definition at line 109 of file mem_checker.hh.

Member Function Documentation

bool MemChecker::Transaction::operator< ( const Transaction rhs) const
inline

Orders Transactions for use with std::map.

Definition at line 132 of file mem_checker.hh.

References serial.

Member Data Documentation

Tick MemChecker::Transaction::complete

Completion tick.

Definition at line 120 of file mem_checker.hh.

Referenced by MemChecker::ByteTracker::inExpectedData().

uint8_t MemChecker::Transaction::data

Depending on the memory operation, the data value either represents: for writes, the value written upon start; for reads, the value read upon completion.

Definition at line 127 of file mem_checker.hh.

Referenced by MemChecker::ByteTracker::inExpectedData().

Serial MemChecker::Transaction::serial

Unique identifying serial.

Definition at line 118 of file mem_checker.hh.

Referenced by operator<().

Tick MemChecker::Transaction::start

Start tick.

Definition at line 119 of file mem_checker.hh.

Referenced by MemChecker::ByteTracker::inExpectedData().


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

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