From: Tiago Muck Date: Fri, 8 Sep 2017 16:39:01 +0000 (-0500) Subject: sim: Clocked object debug message updated for clarity X-Git-Tag: v19.0.0.0~2556 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d59fe4bc363b4dc155957def6f2a17ffbb57ea4;p=gem5.git sim: Clocked object debug message updated for clarity Change-Id: I5bbf36ef21ac14d9edf68ec6766d33f88e84d308 Reviewed-by: Andreas Sandberg Reviewed-on: https://gem5-review.googlesource.com/5729 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power --- 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; }