summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Muck <tiago.muck@arm.com>2017-09-08 11:39:01 -0500
committerAndreas Sandberg <andreas.sandberg@arm.com>2017-11-16 11:16:16 +0000
commit8d59fe4bc363b4dc155957def6f2a17ffbb57ea4 (patch)
tree602b189c1c0ec11c424142a81b87f97ef9b172de
parent45b6179e4c70997616fb1c5fb806b1e48ee2d220 (diff)
downloadgem5-8d59fe4bc363b4dc155957def6f2a17ffbb57ea4.tar.xz
sim: Clocked object debug message updated for clarity
Change-Id: I5bbf36ef21ac14d9edf68ec6766d33f88e84d308 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-on: https://gem5-review.googlesource.com/5729 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com>
-rw-r--r--src/sim/clocked_object.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sim/clocked_object.cc b/src/sim/clocked_object.cc
index ddf9e0f4d..f1e3134c3 100644
--- a/src/sim/clocked_object.cc
+++ b/src/sim/clocked_object.cc
@@ -91,8 +91,9 @@ ClockedObject::pwrState(Enums::PwrState p)
// Any state change related stats would have been recorded on previous call
// to the pwrState() function.
if (prvEvalTick == curTick() && curTick() != 0) {
- warn("ClockedObject: More than one power state change request "\
- "encountered within the same simulation tick");
+ warn("ClockedObject %s: More than one power state change request "\
+ "encountered within the same simulation tick %d",
+ name(), prvEvalTick);
_currPwrState = p;
return;
}