gem5 [DEVELOP-FOR-25.0]
Loading...
Searching...
No Matches
gem5::Episode::Action Class Reference

#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< LocationLocationList
 

Private Attributes

Type type
 
int numLanes
 
LocationList locations
 

Detailed Description

Definition at line 52 of file episode.hh.

Member Typedef Documentation

◆ LocationList

Definition at line 77 of file episode.hh.

Member Enumeration Documentation

◆ Type

enum class gem5::Episode::Action::Type
strong
Enumerator
ACQUIRE 
RELEASE 
ATOMIC 
LOAD 
STORE 

Definition at line 55 of file episode.hh.

Constructor & Destructor Documentation

◆ Action()

gem5::Episode::Action::Action ( Type t,
int num_lanes )

◆ ~Action()

gem5::Episode::Action::~Action ( )
inline

Definition at line 65 of file episode.hh.

Member Function Documentation

◆ getLocation()

AddressManager::Location gem5::Episode::Action::getLocation ( int lane) const

Definition at line 290 of file episode.cc.

References locations, and numLanes.

◆ getType()

Type gem5::Episode::Action::getType ( ) const
inline

Definition at line 67 of file episode.hh.

References type.

◆ isAtomicAction()

bool gem5::Episode::Action::isAtomicAction ( ) const

Definition at line 297 of file episode.cc.

References ATOMIC, and type.

◆ isMemFenceAction()

bool gem5::Episode::Action::isMemFenceAction ( ) const

Definition at line 303 of file episode.cc.

References ACQUIRE, RELEASE, and type.

◆ printType()

const std::string gem5::Episode::Action::printType ( ) const

Definition at line 309 of file episode.cc.

References ACQUIRE, ATOMIC, LOAD, panic, RELEASE, STORE, and type.

◆ setLocation()

void gem5::Episode::Action::setLocation ( int lane,
Location loc )

Definition at line 283 of file episode.cc.

References locations, and numLanes.

Member Data Documentation

◆ locations

LocationList gem5::Episode::Action::locations
private

Definition at line 78 of file episode.hh.

Referenced by Action(), getLocation(), and setLocation().

◆ numLanes

int gem5::Episode::Action::numLanes
private

Definition at line 76 of file episode.hh.

Referenced by Action(), getLocation(), and setLocation().

◆ type

Type gem5::Episode::Action::type
private

Definition at line 75 of file episode.hh.

Referenced by Action(), getType(), isAtomicAction(), isMemFenceAction(), and printType().


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

Generated on Mon May 26 2025 09:19:20 for gem5 by doxygen 1.13.2