From 8d59fe4bc363b4dc155957def6f2a17ffbb57ea4 Mon Sep 17 00:00:00 2001 From: Tiago Muck Date: Fri, 8 Sep 2017 11:39:01 -0500 Subject: [PATCH] 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 --- src/sim/clocked_object.cc | 5 +++-- 1 file 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; } -- 2.30.2