sim, power: Temperature used for power calculations
authorAnouk Van Laer <anouk.vanlaer@arm.com>
Mon, 21 Aug 2017 15:02:45 +0000 (16:02 +0100)
committerAnouk Van Laer <anouk.vanlaer@arm.com>
Wed, 28 Feb 2018 21:56:08 +0000 (21:56 +0000)
commitf4d83eaf52926aa379292a9f75ba6b36eb04c52d
tree63e9ce7104671974908bdd294cd04fcb71c6f58e
parented0f02e1f68e8771f4de514716f34c3de32b3045
sim, power: Temperature used for power calculations

The temperature used for the power calculations was fixed at 0
degrees, unless a thermal model was setup.  This commit allows
the user to set the temperature that needs to be used by the
power calculation during gem5 configuration.  This value will be
overwritten if there are thermal models present.

Change-Id: I7ca8fa6766bdcba9d362c12fc75d1e1f74385f35
Reviewed-by: Sascha Bischoff <sascha.bischoff@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/8602
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/sim/power/PowerModel.py
src/sim/power/power_model.cc