gem5 v25.0.0.1
Loading...
Searching...
No Matches
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

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.

References num, and type.

◆ MachineID() [2/2]

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

Definition at line 59 of file MachineID.hh.

References num, and type.

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::Network::Network().

◆ getType()

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

Definition at line 66 of file MachineID.hh.

References type.

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

◆ isValid()

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

Definition at line 69 of file MachineID.hh.

References type.

Member Data Documentation

◆ num

◆ type


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

Generated on Sat Oct 18 2025 08:07:02 for gem5 by doxygen 1.14.0