inorder-stats: add prereq to basic stat
only show requests processed when the resource is actually in use
This commit is contained in:
@@ -81,7 +81,8 @@ Resource::regStats()
|
||||
instReqsProcessed
|
||||
.name(name() + ".instReqsProcessed")
|
||||
.desc("Number of Instructions Requests that completed in "
|
||||
"this resource.");
|
||||
"this resource.")
|
||||
.prereq(instReqsProcessed);
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
@@ -52,7 +52,8 @@ InstBuffer::regStats()
|
||||
{
|
||||
instsBypassed
|
||||
.name(name() + ".instsBypassed")
|
||||
.desc("Number of Instructions Bypassed.");
|
||||
.desc("Number of Instructions Bypassed.")
|
||||
.prereq(instsBypassed);
|
||||
|
||||
Resource::regStats();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user