gem5  v21.1.0.2
Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
gem5::Episode::Action Class Reference

#include <episode.hh>

Public Types

enum  Type {
  Type::ACQUIRE, Type::RELEASE, Type::ATOMIC, Type::LOAD,
  Type::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 53 of file episode.hh.

Member Typedef Documentation

◆ LocationList

Definition at line 78 of file episode.hh.

Member Enumeration Documentation

◆ Type

Enumerator
ACQUIRE 
RELEASE 
ATOMIC 
LOAD 
STORE 

Definition at line 56 of file episode.hh.

Constructor & Destructor Documentation

◆ Action()

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

Definition at line 274 of file episode.cc.

References gem5::AddressManager::INVALID_LOCATION, locations, and numLanes.

◆ ~Action()

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

Definition at line 66 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 298 of file episode.cc.

References gem5::X86ISA::type.

◆ isMemFenceAction()

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

Definition at line 304 of file episode.cc.

References gem5::X86ISA::type.

◆ printType()

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

Definition at line 310 of file episode.cc.

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

◆ setLocation()

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

Definition at line 284 of file episode.cc.

References gem5::Episode::numLanes.

Member Data Documentation

◆ locations

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

Definition at line 79 of file episode.hh.

Referenced by Action().

◆ numLanes

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

Definition at line 77 of file episode.hh.

Referenced by Action().

◆ type

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

Definition at line 76 of file episode.hh.

Referenced by getType().


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

Generated on Tue Sep 21 2021 12:27:30 for gem5 by doxygen 1.8.17