gem5  v22.1.0.0
Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
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

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 272 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()

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

◆ getType()

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

◆ isAtomicAction()

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

Definition at line 296 of file episode.cc.

References gem5::X86ISA::type.

◆ isMemFenceAction()

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

Definition at line 302 of file episode.cc.

References gem5::X86ISA::type.

◆ printType()

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

Definition at line 308 of file episode.cc.

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

◆ setLocation()

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

Definition at line 282 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 Wed Dec 21 2022 10:23:14 for gem5 by doxygen 1.9.1