gem5 v24.0.0.0
|
#include <episode.hh>
Public Types | |
enum class | Type { ACQUIRE , RELEASE , ATOMIC , LOAD , STORE } |
Public Member Functions | |
Action (Type t, int num_lanes) | |
~Action () | |
Type | getType () const |
void | setLocation (int lane, Location loc) |
Location | getLocation (int lane) const |
bool | isAtomicAction () const |
bool | isMemFenceAction () const |
const std::string | printType () const |
Private Types | |
typedef std::vector< Location > | LocationList |
Private Attributes | |
Type | type |
int | numLanes |
LocationList | locations |
Definition at line 51 of file episode.hh.
|
private |
Definition at line 76 of file episode.hh.
|
strong |
Enumerator | |
---|---|
ACQUIRE | |
RELEASE | |
ATOMIC | |
LOAD | |
STORE |
Definition at line 54 of file episode.hh.
gem5::Episode::Action::Action | ( | Type | t, |
int | num_lanes ) |
Definition at line 273 of file episode.cc.
References gem5::AddressManager::INVALID_LOCATION, locations, and numLanes.
|
inline |
Definition at line 64 of file episode.hh.
AddressManager::Location gem5::Episode::Action::getLocation | ( | int | lane | ) | const |
Definition at line 290 of file episode.cc.
References gem5::Episode::numLanes.
Referenced by gem5::TesterThread::getTokensNeeded(), gem5::TesterThread::isNextActionReady(), gem5::GpuWavefront::issueAtomicOps(), gem5::DmaThread::issueLoadOps(), gem5::GpuWavefront::issueLoadOps(), gem5::DmaThread::issueStoreOps(), and gem5::GpuWavefront::issueStoreOps().
|
inline |
Definition at line 66 of file episode.hh.
References type.
Referenced by gem5::TesterThread::getTokensNeeded(), gem5::TesterThread::isNextActionReady(), gem5::CpuThread::issueAcquireOp(), gem5::DmaThread::issueAcquireOp(), gem5::GpuWavefront::issueAcquireOp(), gem5::CpuThread::issueAtomicOps(), gem5::DmaThread::issueAtomicOps(), gem5::GpuWavefront::issueAtomicOps(), gem5::CpuThread::issueLoadOps(), gem5::DmaThread::issueLoadOps(), gem5::GpuWavefront::issueLoadOps(), gem5::TesterThread::issueNextAction(), gem5::CpuThread::issueReleaseOp(), gem5::DmaThread::issueReleaseOp(), gem5::CpuThread::issueStoreOps(), gem5::DmaThread::issueStoreOps(), and gem5::GpuWavefront::issueStoreOps().
bool gem5::Episode::Action::isAtomicAction | ( | ) | const |
Definition at line 297 of file episode.cc.
References gem5::X86ISA::type.
bool gem5::Episode::Action::isMemFenceAction | ( | ) | const |
Definition at line 303 of file episode.cc.
References gem5::X86ISA::type.
const std::string gem5::Episode::Action::printType | ( | ) | const |
Definition at line 309 of file episode.cc.
References panic, and gem5::X86ISA::type.
void gem5::Episode::Action::setLocation | ( | int | lane, |
Location | loc ) |
Definition at line 283 of file episode.cc.
References gem5::Episode::numLanes.
|
private |
Definition at line 77 of file episode.hh.
Referenced by Action().
|
private |
Definition at line 75 of file episode.hh.
Referenced by Action().
|
private |
Definition at line 74 of file episode.hh.
Referenced by getType().