sim: Clocked object debug message updated for clarity
authorTiago Muck <tiago.muck@arm.com>
Fri, 8 Sep 2017 16:39:01 +0000 (11:39 -0500)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Thu, 16 Nov 2017 11:16:16 +0000 (11:16 +0000)
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>

src/sim/clocked_object.cc

index ddf9e0f4d1dc12143f89afb8104db455914f488a..f1e3134c3c1b547b9e59648fa3512d5029aae87d 100644 (file)
@@ -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;
     }