gem5 v24.0.0.0
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.

◆ 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

◆ type


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

Generated on Tue Jun 18 2024 16:24:22 for gem5 by doxygen 1.11.0