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 4b840670d..62a0c23f8 100644
--- a/src/sim/power/thermal_domain.cc
+++ b/src/sim/power/thermal_domain.cc
@@ -108,7 +108,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;
}