changeset 067177a1b578 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=067177a1b578
description:
mem: Include WriteLineReq in cache demand stats
Somehow the WriteLineReq were never added to the list of commands
considered demand.
diffstat:
src/mem/cache/base.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r e55afadc4e19 -r 067177a1b578 src/mem/cache/base.cc
--- a/src/mem/cache/base.cc Thu Apr 21 04:48:19 2016 -0400
+++ b/src/mem/cache/base.cc Thu Apr 21 04:48:20 2016 -0400
@@ -197,7 +197,7 @@
// 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...
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev