gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
MachineID.hh File Reference
#include <iostream>
#include <string>
#include "base/cprintf.hh"
#include "mem/protocol/MachineType.hh"

Go to the source code of this file.

Classes

struct  MachineID
 

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

std::string MachineIDToString ( MachineID  machine)
inline

Definition at line 53 of file MachineID.hh.

References csprintf(), MachineID::num, and MachineID::type.

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

Definition at line 65 of file MachineID.hh.

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

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

Definition at line 74 of file MachineID.hh.

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

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 Fri Jun 9 2017 13:03:58 for gem5 by doxygen 1.8.6