projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f73b054
)
cpu: Update debug message from Fetch1 isDrained() in Minor
author
Andreas Sandberg
<andreas.sandberg@arm.com>
Fri, 31 Jul 2015 16:04:59 +0000
(17:04 +0100)
committer
Andreas Sandberg
<andreas.sandberg@arm.com>
Fri, 31 Jul 2015 16:04:59 +0000
(17:04 +0100)
Fix a spurious %s and include the state of the Fetch1 stage in the
debug printout.
src/cpu/minor/fetch1.cc
patch
|
blob
|
history
diff --git
a/src/cpu/minor/fetch1.cc
b/src/cpu/minor/fetch1.cc
index 567bd2eccef5e91508b7e586f6a14e4d49a9a477..81fc99d37ac4b822658898e66de453c3f949bd66 100644
(file)
--- a/
src/cpu/minor/fetch1.cc
+++ b/
src/cpu/minor/fetch1.cc
@@
-631,8
+631,8
@@
Fetch1::evaluate()
bool
Fetch1::isDrained()
{
- DPRINTF(Drain, "isDrained %s %s%s
%s
\n",
- state
== FetchHalted
,
+ DPRINTF(Drain, "isDrained %s %s%s\n",
+ state,
(numInFlightFetches() == 0 ? "" : "inFlightFetches "),
((*out.inputWire).isBubble() ? "" : "outputtingLine"));