gem5  v22.1.0.0
Public Member Functions | Public Attributes | List of all members
gem5::MemCmd::CommandInfo Struct Reference

Structure that defines attributes and other data associated with a Command. More...

Public Member Functions

 CommandInfo (std::initializer_list< Attribute > attrs, Command _response, const std::string &_str)
 

Public Attributes

const std::bitset< NUM_COMMAND_ATTRIBUTESattributes
 Set of attribute flags. More...
 
const Command response
 Corresponding response for requests; InvalidCmd if no response is applicable. More...
 
const std::string str
 String representation (for printing) More...
 

Detailed Description

Structure that defines attributes and other data associated with a Command.

Definition at line 195 of file packet.hh.

Constructor & Destructor Documentation

◆ CommandInfo()

gem5::MemCmd::CommandInfo::CommandInfo ( std::initializer_list< Attribute attrs,
Command  _response,
const std::string &  _str 
)
inline

Definition at line 205 of file packet.hh.

Member Data Documentation

◆ attributes

const std::bitset<NUM_COMMAND_ATTRIBUTES> gem5::MemCmd::CommandInfo::attributes

Set of attribute flags.

Definition at line 198 of file packet.hh.

Referenced by gem5::MemCmd::testCmdAttrib().

◆ response

const Command gem5::MemCmd::CommandInfo::response

Corresponding response for requests; InvalidCmd if no response is applicable.

Definition at line 201 of file packet.hh.

Referenced by gem5::MemCmd::responseCommand().

◆ str

const std::string gem5::MemCmd::CommandInfo::str

String representation (for printing)

Definition at line 203 of file packet.hh.

Referenced by gem5::MemCmd::toString().


The documentation for this struct was generated from the following file:

Generated on Wed Dec 21 2022 10:23:27 for gem5 by doxygen 1.9.1