thermal_model.cc (11420:b48c0ba4f524) thermal_model.cc (11899:d04da1f9c961)
1/*
2 * Copyright (c) 2015 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 27 unchanged lines hidden (view full) ---

36 *
37 * Authors: David Guillen Fandos
38 */
39
40#include "sim/power/thermal_model.hh"
41
42#include "base/statistics.hh"
43#include "params/ThermalCapacitor.hh"
1/*
2 * Copyright (c) 2015 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 27 unchanged lines hidden (view full) ---

36 *
37 * Authors: David Guillen Fandos
38 */
39
40#include "sim/power/thermal_model.hh"
41
42#include "base/statistics.hh"
43#include "params/ThermalCapacitor.hh"
44#include "params/ThermalNode.hh"
45#include "params/ThermalReference.hh"
46#include "params/ThermalResistor.hh"
47#include "sim/clocked_object.hh"
48#include "sim/linear_solver.hh"
49#include "sim/power/thermal_domain.hh"
50#include "sim/sim_object.hh"
51
52/**
44#include "params/ThermalReference.hh"
45#include "params/ThermalResistor.hh"
46#include "sim/clocked_object.hh"
47#include "sim/linear_solver.hh"
48#include "sim/power/thermal_domain.hh"
49#include "sim/sim_object.hh"
50
51/**
53 * ThermalNode
54 */
55ThermalNode::ThermalNode(const Params *p)
56 : SimObject(p), id(-1), isref(false), temp(0.0f)
57{
58}
59
60ThermalNode *
61ThermalNodeParams::create()
62{
63 return new ThermalNode(this);
64}
65
66/**
67 * ThermalReference
68 */
69ThermalReference::ThermalReference(const Params *p)
70 : SimObject(p), _temperature(p->temperature), node(NULL)
71{
72}
73
74ThermalReference *

--- 245 unchanged lines hidden ---
52 * ThermalReference
53 */
54ThermalReference::ThermalReference(const Params *p)
55 : SimObject(p), _temperature(p->temperature), node(NULL)
56{
57}
58
59ThermalReference *

--- 245 unchanged lines hidden ---