ruby: record fully busy cycle with in the controller
[gem5.git] / src / mem / ruby / system / MachineID.hh
index 18beac5d8851ce05fa23966f562950d0d142e4cf..0bcd10efc39f5cb2c52d7fd332c132d282116297 100644 (file)
 struct MachineID
 {
     MachineType type;
-    int num;  // range: 0 ... number of this machine's components in system - 1
+    //! range: 0 ... number of this machine's components in system - 1
+    uint32_t num;
+
+    MachineType getType() const { return type; }
+    uint32_t getNum() const { return num; }
 };
 
 inline std::string