From 75c82f1fe3e654ca7d472d8f824424ff450c01d1 Mon Sep 17 00:00:00 2001 From: David Guillen Fandos Date: Tue, 12 May 2015 10:26:47 +0100 Subject: sim: Adding thermal model support This patch adds basic thermal support to gem5. It models energy dissipation through a circuital equivalent, which allows us to use RC networks. This lays down the basic infrastructure to do so, but it does not "work" due to the lack of power models. For now some hardcoded number is used as a PoC. The solver is embedded in the patch. --- src/sim/system.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sim/system.cc') diff --git a/src/sim/system.cc b/src/sim/system.cc index 2e74d01c8..3f7ea9286 100644 --- a/src/sim/system.cc +++ b/src/sim/system.cc @@ -95,6 +95,7 @@ System::System(Params *p) workItemsBegin(0), workItemsEnd(0), numWorkIds(p->num_work_ids), + thermalModel(p->thermal_model), _params(p), totalNumInsts(0), instEventQueue("system instruction-based event queue") -- cgit v1.2.3