inorder-stats: add prereq to basic stat
only show requests processed when the resource is actually in use
This commit is contained in:
parent
0b29c2d057
commit
349d86c0e4
2 changed files with 4 additions and 2 deletions
|
@ -81,7 +81,8 @@ Resource::regStats()
|
||||||
instReqsProcessed
|
instReqsProcessed
|
||||||
.name(name() + ".instReqsProcessed")
|
.name(name() + ".instReqsProcessed")
|
||||||
.desc("Number of Instructions Requests that completed in "
|
.desc("Number of Instructions Requests that completed in "
|
||||||
"this resource.");
|
"this resource.")
|
||||||
|
.prereq(instReqsProcessed);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
@ -52,7 +52,8 @@ InstBuffer::regStats()
|
||||||
{
|
{
|
||||||
instsBypassed
|
instsBypassed
|
||||||
.name(name() + ".instsBypassed")
|
.name(name() + ".instsBypassed")
|
||||||
.desc("Number of Instructions Bypassed.");
|
.desc("Number of Instructions Bypassed.")
|
||||||
|
.prereq(instsBypassed);
|
||||||
|
|
||||||
Resource::regStats();
|
Resource::regStats();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue