summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/resources
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2010-01-31 18:29:06 -0500
committerKorey Sewell <ksewell@umich.edu>2010-01-31 18:29:06 -0500
commit349d86c0e4afb02962c9899bd5a3887ff2c55626 (patch)
tree2905276d7f3fb40fae15b78266979df83cab65dc /src/cpu/inorder/resources
parent0b29c2d057d2d6f4f8b9b7853da91bcb283e805c (diff)
downloadgem5-349d86c0e4afb02962c9899bd5a3887ff2c55626.tar.xz
inorder-stats: add prereq to basic stat
only show requests processed when the resource is actually in use
Diffstat (limited to 'src/cpu/inorder/resources')
-rw-r--r--src/cpu/inorder/resources/inst_buffer.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpu/inorder/resources/inst_buffer.cc b/src/cpu/inorder/resources/inst_buffer.cc
index bb308b0ea..17b308db0 100644
--- a/src/cpu/inorder/resources/inst_buffer.cc
+++ b/src/cpu/inorder/resources/inst_buffer.cc
@@ -52,7 +52,8 @@ InstBuffer::regStats()
{
instsBypassed
.name(name() + ".instsBypassed")
- .desc("Number of Instructions Bypassed.");
+ .desc("Number of Instructions Bypassed.")
+ .prereq(instsBypassed);
Resource::regStats();
}