gem5  v22.0.0.1
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 193 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 203 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 196 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 199 of file packet.hh.

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

◆ str

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

String representation (for printing)

Definition at line 201 of file packet.hh.

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


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

Generated on Sat Jun 18 2022 08:13:17 for gem5 by doxygen 1.8.17