summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/inorder/cpu.cc7
-rw-r--r--src/cpu/inorder/cpu.hh2
-rw-r--r--src/cpu/inorder/resource.cc1
3 files changed, 0 insertions, 10 deletions
diff --git a/src/cpu/inorder/cpu.cc b/src/cpu/inorder/cpu.cc
index a895fdb0e..75873d97d 100644
--- a/src/cpu/inorder/cpu.cc
+++ b/src/cpu/inorder/cpu.cc
@@ -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();
diff --git a/src/cpu/inorder/cpu.hh b/src/cpu/inorder/cpu.hh
index 4e7e64a40..6676d78cf 100644
--- a/src/cpu/inorder/cpu.hh
+++ b/src/cpu/inorder/cpu.hh
@@ -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. */
diff --git a/src/cpu/inorder/resource.cc b/src/cpu/inorder/resource.cc
index 01301de5a..8cc8f9fe1 100644
--- a/src/cpu/inorder/resource.cc
+++ b/src/cpu/inorder/resource.cc
@@ -421,7 +421,6 @@ ResourceRequest::ResourceRequest(Resource *_res, DynInstPtr _inst,
if (res->cpu->resReqCount > maxReqCount) {
maxReqCount = res->cpu->resReqCount;
- res->cpu->maxResReqCount = maxReqCount;
}
#endif