summaryrefslogtreecommitdiff
path: root/src/sim/clocked_object.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/clocked_object.cc')
-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;
}