|
gem5 [DEVELOP-FOR-25.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 52 of file episode.hh.
|
private |
Definition at line 77 of file episode.hh.
|
strong |
| Enumerator | |
|---|---|
| ACQUIRE | |
| RELEASE | |
| ATOMIC | |
| LOAD | |
| STORE | |
Definition at line 55 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, numLanes, gem5::ArmISA::t, and type.
|
inline |
Definition at line 65 of file episode.hh.
| AddressManager::Location gem5::Episode::Action::getLocation | ( | int | lane | ) | const |
Definition at line 290 of file episode.cc.
|
inline |
Definition at line 67 of file episode.hh.
References type.
| bool gem5::Episode::Action::isAtomicAction | ( | ) | const |
Definition at line 297 of file episode.cc.
| bool gem5::Episode::Action::isMemFenceAction | ( | ) | const |
Definition at line 303 of file episode.cc.
| const std::string gem5::Episode::Action::printType | ( | ) | const |
| void gem5::Episode::Action::setLocation | ( | int | lane, |
| Location | loc ) |
Definition at line 283 of file episode.cc.
|
private |
Definition at line 78 of file episode.hh.
Referenced by Action(), getLocation(), and setLocation().
|
private |
Definition at line 76 of file episode.hh.
Referenced by Action(), getLocation(), and setLocation().
|
private |
Definition at line 75 of file episode.hh.
Referenced by Action(), getType(), isAtomicAction(), isMemFenceAction(), and printType().