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>
This commit is contained in:
committed by
Andreas Sandberg
parent
45b6179e4c
commit
8d59fe4bc3
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user