inorder: remove another debug stat
authorKorey Sewell <ksewell@umich.edu>
Mon, 28 Jun 2010 11:33:33 +0000 (07:33 -0400)
committerKorey Sewell <ksewell@umich.edu>
Mon, 28 Jun 2010 11:33:33 +0000 (07:33 -0400)
src/cpu/inorder/cpu.cc
src/cpu/inorder/cpu.hh
src/cpu/inorder/resource.cc

index a895fdb0ed08f5417496f90be38b42d78b096993..75873d97d63ccf71d2868af2f9fbcf7956be8fb2 100644 (file)
@@ -369,13 +369,6 @@ InOrderCPU::regStats()
     /* Register the Resource Pool's stats here.*/
     resPool->regStats();
 
-#ifdef DEBUG
-    maxResReqCount
-        .name(name() + ".maxResReqCount")
-        .desc("Maximum number of live resource requests in CPU")
-        .prereq(maxResReqCount);   
-#endif
-
     /* Register for each Pipeline Stage */
     for (int stage_num=0; stage_num < ThePipeline::NumStages; stage_num++) {
         pipelineStage[stage_num]->regStats();
index 4e7e64a40355d31f6ccf72b9e6baefc11fb69862..6676d78cfe03f9bc9accb033c297f2918086afd5 100644 (file)
@@ -689,8 +689,6 @@ class InOrderCPU : public BaseCPU
 
     /** Number of resource requests active in CPU **/
     unsigned resReqCount;
-
-    Stats::Scalar maxResReqCount;    
 #endif
 
     /** Counter of how many stages have completed switching out. */
index 01301de5a9f14c48c98638f545e5e67e9105b29f..8cc8f9fe11423bd40eabd80efb36622de264125b 100644 (file)
@@ -421,7 +421,6 @@ ResourceRequest::ResourceRequest(Resource *_res, DynInstPtr _inst,
 
         if (res->cpu->resReqCount > maxReqCount) {            
             maxReqCount = res->cpu->resReqCount;
-            res->cpu->maxResReqCount = maxReqCount;            
         }
         
 #endif