diff options
Diffstat (limited to 'src/sim/clocked_object.cc')
-rw-r--r-- | src/sim/clocked_object.cc | 5 |
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; } |