Yet another merge with the main repository.
[gem5.git] / src / cpu / inorder / resources / graduation_unit.hh
index 043e375e76260731094b6e521e074dc4eef56b37..836b568a66175e2740a4f78a436c60cad06f50a0 100644 (file)
@@ -46,6 +46,7 @@ class GraduationUnit : public Resource {
     typedef ThePipeline::DynInstPtr DynInstPtr;
 
     enum Command {
+        CheckFault,
         GraduateInst
     };
 
@@ -57,9 +58,9 @@ class GraduationUnit : public Resource {
     void execute(int slot_num);
 
   protected:
-    Tick lastNonSpecTick;
+    Tick lastNonSpecTick[ThePipeline::MaxThreads];
+    Tick lastFaultTick[ThePipeline::MaxThreads];
     bool *nonSpecInstActive[ThePipeline::MaxThreads];
-
     InstSeqNum *nonSpecSeqNum[ThePipeline::MaxThreads];
 };