summaryrefslogtreecommitdiff
path: root/src/sim/power/thermal_domain.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/power/thermal_domain.cc')
-rw-r--r--src/sim/power/thermal_domain.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sim/power/thermal_domain.cc b/src/sim/power/thermal_domain.cc
index 208c5bab4..11f48371e 100644
--- a/src/sim/power/thermal_domain.cc
+++ b/src/sim/power/thermal_domain.cc
@@ -110,7 +110,8 @@ LinearEquation
ThermalDomain::getEquation(ThermalNode * tn, unsigned n, double step) const
{
LinearEquation eq(n);
+ double power = subsystem->getDynamicPower() + subsystem->getStaticPower();
if (tn == node)
- eq[eq.cnt()] = 1.75f; // Fake 1.75 Watts for now, to be changed to PM
+ eq[eq.cnt()] = power;
return eq;
}