sim: Updated ClockedObject power state warning
authorJason Lowe-Power <jason@lowepower.com>
Tue, 20 Jun 2017 16:01:08 +0000 (11:01 -0500)
committerJason Lowe-Power <jason@lowepower.com>
Wed, 21 Jun 2017 13:57:21 +0000 (13:57 +0000)
commit9cdfcf93470ca11c12eeac50aea9536ef914790f
tree80f3a1013ef314282477bac4ae8a8b13359abee0
parent85e1a9b8548ca2df406fd1ff56568a7ee1481aa0
sim: Updated ClockedObject power state warning

To prevent this warning from printing for *every* simulation, this patch
adds a check to only print the warning if we are not at the beginning of
simulation.

Change-Id: I7f6154f0ca26bef6280f909f799aa1c7936b624a
Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-on: https://gem5-review.googlesource.com/3840
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/sim/clocked_object.cc