summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2010-06-28 07:33:33 -0400
committerKorey Sewell <ksewell@umich.edu>2010-06-28 07:33:33 -0400
commit84489c58741d637fd3af2379952df5b96b4f63a5 (patch)
tree7ea4b88bfde0fd0559dae8507f0a7f829dba2106 /src
parent792c18a1fc6b1d9f2900c99628167fec91ce497b (diff)
downloadgem5-84489c58741d637fd3af2379952df5b96b4f63a5.tar.xz
inorder: remove another debug stat
Diffstat (limited to 'src')
-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