gem5 v24.0.0.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 51 of file episode.hh.

Member Typedef Documentation

◆ LocationList

Definition at line 76 of file episode.hh.

Member Enumeration Documentation

◆ Type

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

Definition at line 54 of file episode.hh.

Constructor & Destructor Documentation

◆ Action()

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.

◆ ~Action()

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

Definition at line 64 of file episode.hh.

Member Function Documentation

◆ getLocation()

◆ getType()

◆ isAtomicAction()

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

Definition at line 297 of file episode.cc.

References gem5::X86ISA::type.

◆ isMemFenceAction()

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

Definition at line 303 of file episode.cc.

References gem5::X86ISA::type.

◆ printType()

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

Definition at line 309 of file episode.cc.

References panic, and gem5::X86ISA::type.

◆ setLocation()

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

Definition at line 283 of file episode.cc.

References gem5::Episode::numLanes.

Member Data Documentation

◆ locations

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

Definition at line 77 of file episode.hh.

Referenced by Action().

◆ numLanes

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

Definition at line 75 of file episode.hh.

Referenced by Action().

◆ type

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

Definition at line 74 of file episode.hh.

Referenced by getType().


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

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