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.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sim/power/thermal_domain.cc b/src/sim/power/thermal_domain.cc
index 4b840670d..208c5bab4 100644
--- a/src/sim/power/thermal_domain.cc
+++ b/src/sim/power/thermal_domain.cc
@@ -72,6 +72,8 @@ ThermalDomain::setSubSystem(SubSystem * ss)
void
ThermalDomain::regStats()
{
+ SimObject::regStats();
+
currentTemp
.method(this, &ThermalDomain::currentTemperature)
.name(params()->name + ".temp")