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

Public Attributes

Serial serial
 Unique identifying serial.
 
Tick start
 Start tick.
 
Tick complete
 Completion tick.
 
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.
 

Detailed Description

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

Definition at line 107 of file mem_checker.hh.

Constructor & Destructor Documentation

◆ Transaction()

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

Definition at line 111 of file mem_checker.hh.

Member Function Documentation

◆ operator<()

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

Orders Transactions for use with std::map.

Definition at line 134 of file mem_checker.hh.

References serial.

Member Data Documentation

◆ complete

Tick gem5::MemChecker::Transaction::complete

Completion tick.

Definition at line 122 of file mem_checker.hh.

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

◆ data

uint8_t gem5::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 129 of file mem_checker.hh.

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

◆ serial

Serial gem5::MemChecker::Transaction::serial

Unique identifying serial.

Definition at line 120 of file mem_checker.hh.

Referenced by operator<().

◆ start

Tick gem5::MemChecker::Transaction::start

Start tick.

Definition at line 121 of file mem_checker.hh.

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


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

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