cpu: Warn when (un)serializing a traffic generator
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 19 Jul 2018 16:08:49 +0000 (17:08 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 25 Jul 2018 16:47:15 +0000 (16:47 +0000)
commit045c484e0d69b5601b1681683fe3ba2d04b05bb6
tree9cc67e3f314a8b76ae0e9e8eb45f34307ef6bc64
parenta327a6763a356dc386c0f273fe091784a20b495a
cpu: Warn when (un)serializing a traffic generator

When checkpointing a system with a traffic generator, a warning is
produced so that the user is reminded serialization does not keep all
the traffic generator internal state.

Change-Id: I3c49c912c9ff3a4208f55b2da0a88fc694147280
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/11831
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/cpu/testers/traffic_gen/base.cc