gem5  v21.1.0.2
Public Member Functions | Public Attributes | List of all members
gem5::ruby::MachineID Struct Reference

#include <MachineID.hh>

Public Member Functions

 MachineID ()
 
 MachineID (MachineType mach_type, NodeID node_id)
 
MachineType getType () const
 
NodeID getNum () const
 
bool isValid () const
 

Public Attributes

MachineType type
 
NodeID num
 range: 0 ... number of this machine's components in system - 1 More...
 

Detailed Description

Definition at line 56 of file MachineID.hh.

Constructor & Destructor Documentation

◆ MachineID() [1/2]

gem5::ruby::MachineID::MachineID ( )
inline

Definition at line 58 of file MachineID.hh.

◆ MachineID() [2/2]

gem5::ruby::MachineID::MachineID ( MachineType  mach_type,
NodeID  node_id 
)
inline

Definition at line 59 of file MachineID.hh.

Member Function Documentation

◆ getNum()

NodeID gem5::ruby::MachineID::getNum ( ) const
inline

Definition at line 67 of file MachineID.hh.

References num.

Referenced by gem5::ruby::AbstractController::getVersion(), and gem5::ruby::Network::Network().

◆ getType()

MachineType gem5::ruby::MachineID::getType ( ) const
inline

◆ isValid()

bool gem5::ruby::MachineID::isValid ( ) const
inline

Definition at line 69 of file MachineID.hh.

References type.

Member Data Documentation

◆ num

NodeID gem5::ruby::MachineID::num

◆ type

MachineType gem5::ruby::MachineID::type

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

Generated on Tue Sep 21 2021 12:32:06 for gem5 by doxygen 1.8.17