mem: Include WriteLineReq in cache demand stats
Somehow the WriteLineReq were never added to the list of commands considered demand.
This commit is contained in:
parent
a7c94f6e69
commit
5a1dea51d2
1 changed files with 1 additions and 1 deletions
2
src/mem/cache/base.cc
vendored
2
src/mem/cache/base.cc
vendored
|
@ -197,7 +197,7 @@ BaseCache::regStats()
|
|||
// to change the subset of commands that are considered "demand" vs
|
||||
// "non-demand"
|
||||
#define SUM_DEMAND(s) \
|
||||
(s[MemCmd::ReadReq] + s[MemCmd::WriteReq] + \
|
||||
(s[MemCmd::ReadReq] + s[MemCmd::WriteReq] + s[MemCmd::WriteLineReq] + \
|
||||
s[MemCmd::ReadExReq] + s[MemCmd::ReadCleanReq] + s[MemCmd::ReadSharedReq])
|
||||
|
||||
// should writebacks be included here? prior code was inconsistent...
|
||||
|
|
Loading…
Reference in a new issue