summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/resource.cc
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2010-06-26 09:41:39 -0400
committerKorey Sewell <ksewell@umich.edu>2010-06-26 09:41:39 -0400
commit792c18a1fc6b1d9f2900c99628167fec91ce497b (patch)
tree6051a400339a24bfbf41d5d010da71573994e8ee /src/cpu/inorder/resource.cc
parentf2eba81f504cc5dd6d6b0ad7458076be38d18350 (diff)
downloadgem5-792c18a1fc6b1d9f2900c99628167fec91ce497b.tar.xz
inorder: remove debugging stat
m5 doesnt do stats specific to binary and this resource request stat is probably only useful for people who really know the ins/outs of the model anyway
Diffstat (limited to 'src/cpu/inorder/resource.cc')
-rw-r--r--src/cpu/inorder/resource.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/cpu/inorder/resource.cc b/src/cpu/inorder/resource.cc
index e32554963..01301de5a 100644
--- a/src/cpu/inorder/resource.cc
+++ b/src/cpu/inorder/resource.cc
@@ -76,18 +76,6 @@ Resource::name()
return cpu->name() + "." + resName;
}
-void
-Resource::regStats()
-{
-#ifdef DEBUG
- instReqsProcessed
- .name(name() + ".instReqsProcessed")
- .desc("Number of Instructions Requests that completed in "
- "this resource.")
- .prereq(instReqsProcessed);
-#endif
-}
-
int
Resource::slotsAvail()
{
@@ -480,10 +468,6 @@ ResourceRequest::done(bool completed)
// change slot # to -1, since we check slotNum to see if request is
// still valid
slotNum = -1;
-
-#ifdef DEBUG
- res->instReqsProcessed++;
-#endif
}
ResourceEvent::ResourceEvent()