|
gem5 [DEVELOP-FOR-25.0]
|
#include <episode.hh>
Classes | |
| class | Action |
Public Types | |
| typedef AddressManager::Location | Location |
| typedef AddressManager::Value | Value |
Public Member Functions | |
| Episode (ProtocolTester *tester, TesterThread *thread, int num_loads, int num_stores) | |
| ~Episode () | |
| int | getEpisodeId () const |
| const Action * | peekCurAction () const |
| void | popAction () |
| bool | hasMoreActions () const |
| void | completeEpisode () |
| bool | isEpsActive () const |
| bool | checkDRF (Location atomic_loc, Location loc, bool isStore, int max_lane) const |
Private Types | |
| typedef std::vector< Action * > | ActionList |
| typedef std::vector< Location > | AtomicLocationList |
Private Member Functions | |
| void | initActions () |
Private Attributes | |
| ProtocolTester * | tester |
| TesterThread * | thread |
| AddressManager * | addrManager |
| int | episodeId |
| ActionList | actions |
| AtomicLocationList | atomicLocs |
| Random::RandomPtr | rng = Random::genRandom() |
| bool | isActive |
| int | numLoads |
| int | numStores |
| int | nextActionIdx |
| int | numLanes |
Definition at line 46 of file episode.hh.
|
private |
Definition at line 110 of file episode.hh.
|
private |
Definition at line 113 of file episode.hh.
Definition at line 49 of file episode.hh.
Definition at line 50 of file episode.hh.
| gem5::Episode::Episode | ( | ProtocolTester * | tester, |
| TesterThread * | thread, | ||
| int | num_loads, | ||
| int | num_stores ) |
Definition at line 44 of file episode.cc.
References addrManager, atomicLocs, DPRINTF, episodeId, initActions(), gem5::AddressManager::INVALID_LOCATION, isActive, nextActionIdx, numLanes, numLoads, numStores, tester, and thread.
| gem5::Episode::~Episode | ( | ) |
Definition at line 69 of file episode.cc.
References actions.
| bool gem5::Episode::checkDRF | ( | Location | atomic_loc, |
| Location | loc, | ||
| bool | isStore, | ||
| int | max_lane ) const |
Definition at line 241 of file episode.cc.
References actions, atomicLocs, gem5::AddressManager::INVALID_LOCATION, numLanes, gem5::Episode::Action::STORE, thread, and warn.
| void gem5::Episode::completeEpisode | ( | ) |
Definition at line 201 of file episode.cc.
References actions, addrManager, gem5::AddressManager::INVALID_LOCATION, isActive, and numLanes.
|
inline |
Definition at line 86 of file episode.hh.
References episodeId.
|
inline |
Definition at line 92 of file episode.hh.
References actions, and nextActionIdx.
|
private |
Definition at line 94 of file episode.cc.
References gem5::Episode::Action::ACQUIRE, actions, addrManager, gem5::Episode::Action::ATOMIC, atomicLocs, gem5::AddressManager::INVALID_LOCATION, gem5::Episode::Action::LOAD, numLanes, numLoads, numStores, panic, gem5::Episode::Action::RELEASE, rng, gem5::Episode::Action::STORE, tester, and thread.
Referenced by Episode().
|
inline |
Definition at line 96 of file episode.hh.
References isActive.
| const Episode::Action * gem5::Episode::peekCurAction | ( | ) | const |
Definition at line 78 of file episode.cc.
References actions, and nextActionIdx.
| void gem5::Episode::popAction | ( | ) |
Definition at line 87 of file episode.cc.
References actions, and nextActionIdx.
|
private |
Definition at line 111 of file episode.hh.
Referenced by checkDRF(), completeEpisode(), hasMoreActions(), initActions(), peekCurAction(), popAction(), and ~Episode().
|
private |
Definition at line 105 of file episode.hh.
Referenced by completeEpisode(), Episode(), and initActions().
|
private |
Definition at line 114 of file episode.hh.
Referenced by checkDRF(), Episode(), and initActions().
|
private |
Definition at line 108 of file episode.hh.
Referenced by Episode(), and getEpisodeId().
|
private |
Definition at line 119 of file episode.hh.
Referenced by completeEpisode(), Episode(), and isEpsActive().
|
private |
Definition at line 124 of file episode.hh.
Referenced by Episode(), hasMoreActions(), peekCurAction(), and popAction().
|
private |
Definition at line 126 of file episode.hh.
Referenced by checkDRF(), completeEpisode(), Episode(), and initActions().
|
private |
Definition at line 121 of file episode.hh.
Referenced by Episode(), and initActions().
|
private |
Definition at line 122 of file episode.hh.
Referenced by Episode(), and initActions().
|
private |
Definition at line 116 of file episode.hh.
Referenced by initActions().
|
private |
Definition at line 103 of file episode.hh.
Referenced by Episode(), and initActions().
|
private |
Definition at line 104 of file episode.hh.
Referenced by checkDRF(), Episode(), and initActions().