gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
MachineID Struct Reference

#include <MachineID.hh>

Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 38 of file MachineID.hh.

Constructor & Destructor Documentation

◆ MachineID() [1/2]

MachineID::MachineID ( )

Definition at line 40 of file MachineID.hh.

◆ MachineID() [2/2]

MachineID::MachineID ( MachineType  mach_type,
NodeID  node_id 

Definition at line 41 of file MachineID.hh.

Member Function Documentation

◆ getNum()

NodeID MachineID::getNum ( ) const

Definition at line 49 of file MachineID.hh.

References num.

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

◆ getType()

MachineType MachineID::getType ( ) const

Definition at line 48 of file MachineID.hh.

References type.

Referenced by AbstractController::getType(), and Network::Network().

Member Data Documentation

◆ num

NodeID MachineID::num

range: 0 ... number of this machine's components in system - 1

Definition at line 46 of file MachineID.hh.

Referenced by NetDest::add(), getNum(), NetDest::isElement(), machineIDToNodeID(), MachineIDToString(), mapAddressToRange(), operator!=(), operator<<(), operator==(), and NetDest::remove().

◆ type

MachineType MachineID::type

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

Generated on Wed Sep 30 2020 14:02:27 for gem5 by doxygen 1.8.17