cpu: Update DRAM traffic gen
[gem5.git] / src / cpu / inorder / resources / graduation_unit.hh
index 01abae85bc37c482bf0b0854fbd968afa2dbf01c..69d3322feec8d121ed16f75662d4191d156a1d1b 100644 (file)
@@ -52,15 +52,15 @@ class GraduationUnit : public Resource {
 
   public:
     GraduationUnit(std::string res_name, int res_id, int res_width,
-                   int res_latency, InOrderCPU *_cpu,
+                   Cycles res_latency, InOrderCPU *_cpu,
                    ThePipeline::Params *params);
 
     void execute(int slot_num);
 
   protected:
-    Tick lastNonSpecTick;
+    Tick lastNonSpecTick[ThePipeline::MaxThreads];
+    Tick lastFaultTick[ThePipeline::MaxThreads];
     bool *nonSpecInstActive[ThePipeline::MaxThreads];
-
     InstSeqNum *nonSpecSeqNum[ThePipeline::MaxThreads];
 };