changeset c450ad6c82f4 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=c450ad6c82f4
description:
        inorder-stats: add prereq to basic stat
        only show requests processed when the resource is actually in use

diffstat:

2 files changed, 4 insertions(+), 2 deletions(-)
src/cpu/inorder/resource.cc              |    3 ++-
src/cpu/inorder/resources/inst_buffer.cc |    3 ++-

diffs (26 lines):

diff -r 96b33f6f9b7d -r c450ad6c82f4 src/cpu/inorder/resource.cc
--- a/src/cpu/inorder/resource.cc       Sun Jan 31 18:28:59 2010 -0500
+++ b/src/cpu/inorder/resource.cc       Sun Jan 31 18:29:06 2010 -0500
@@ -81,7 +81,8 @@
     instReqsProcessed
         .name(name() + ".instReqsProcessed")
         .desc("Number of Instructions Requests that completed in "
-              "this resource.");
+              "this resource.")
+        .prereq(instReqsProcessed);
 }
 
 int
diff -r 96b33f6f9b7d -r c450ad6c82f4 src/cpu/inorder/resources/inst_buffer.cc
--- a/src/cpu/inorder/resources/inst_buffer.cc  Sun Jan 31 18:28:59 2010 -0500
+++ b/src/cpu/inorder/resources/inst_buffer.cc  Sun Jan 31 18:29:06 2010 -0500
@@ -52,7 +52,8 @@
 {
     instsBypassed
         .name(name() + ".instsBypassed")
-        .desc("Number of Instructions Bypassed.");
+        .desc("Number of Instructions Bypassed.")
+        .prereq(instsBypassed);    
 
     Resource::regStats();
 }
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to