gem5  v20.1.0.0
Classes | Namespaces | Functions
MachineID.hh File Reference
#include <iostream>
#include <string>
#include "base/cprintf.hh"
#include "mem/ruby/protocol/MachineType.hh"

Go to the source code of this file.

Classes

struct  MachineID
 
struct  std::hash< MachineID >
 

Namespaces

 std
 Overload hash function for BasicBlockRange type.
 

Functions

std::string MachineIDToString (MachineID machine)
 
bool operator== (const MachineID &obj1, const MachineID &obj2)
 
bool operator!= (const MachineID &obj1, const MachineID &obj2)
 
std::ostream & operator<< (std::ostream &out, const MachineID &obj)
 

Function Documentation

◆ MachineIDToString()

std::string MachineIDToString ( MachineID  machine)
inline

◆ operator!=()

bool operator!= ( const MachineID obj1,
const MachineID obj2 
)
inline

Definition at line 65 of file MachineID.hh.

References MachineID::num, and MachineID::type.

◆ operator<<()

std::ostream & operator<< ( std::ostream &  out,
const MachineID obj 
)
inline

Definition at line 84 of file MachineID.hh.

References MachineID::num, and MachineID::type.

◆ operator==()

bool operator== ( const MachineID obj1,
const MachineID obj2 
)
inline

Definition at line 59 of file MachineID.hh.

References MachineID::num, and MachineID::type.


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