diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-02-27 13:17:51 +0000 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-03-07 11:44:32 +0000 |
commit | c07a2d68f34ab4cef8b3ed4d079316d2b4306244 (patch) | |
tree | b37dac9e4dcf801aee822cd1a1bd3320437e505d /src/sim/power/ThermalModel.py | |
parent | 846a17308c424bf1203d6c29586fdcd7d7047493 (diff) | |
download | gem5-c07a2d68f34ab4cef8b3ed4d079316d2b4306244.tar.xz |
power: Avoid forward declarations that confuse wrappers
The Python wrappers get confused by the forward declarations in the
power framework. This changeset restructures the code slightly to
avoid the troublesome forward declarations.
Change-Id: Id8c93224f1988edb5fdf9d3abc6237f2f688c02d
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Andreas Hansson <andreas.hansson@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Reviewed-by: Sascha Bischoff <sascha.bischoff@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/2227
Reviewed-by: Pierre-Yves PĂ©neau <pierre-yves.peneau@lirmm.fr>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/sim/power/ThermalModel.py')
-rw-r--r-- | src/sim/power/ThermalModel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/power/ThermalModel.py b/src/sim/power/ThermalModel.py index 4a2f5d931..4c397119d 100644 --- a/src/sim/power/ThermalModel.py +++ b/src/sim/power/ThermalModel.py @@ -45,7 +45,7 @@ from m5.objects import ThermalDomain # Represents a thermal node class ThermalNode(SimObject): type = 'ThermalNode' - cxx_header = "sim/power/thermal_model.hh" + cxx_header = "sim/power/thermal_node.hh" # Represents a thermal resistor class ThermalResistor(SimObject): |