summaryrefslogtreecommitdiff
path: root/src/sim/system.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/system.hh')
-rw-r--r--src/sim/system.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sim/system.hh b/src/sim/system.hh
index c67f70219..7e167c75f 100644
--- a/src/sim/system.hh
+++ b/src/sim/system.hh
@@ -293,6 +293,11 @@ class System : public MemObject
*/
Addr getPageShift() const { return TheISA::PageShift; }
+ /**
+ * The thermal model used for this system (if any).
+ */
+ ThermalModel * getThermalModel() const { return thermalModel; }
+
protected:
PhysicalMemory physmem;
@@ -313,6 +318,8 @@ class System : public MemObject
*/
std::vector<std::string> masterIds;
+ ThermalModel * thermalModel;
+
public:
/** Request an id used to create a request object in the system. All objects