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
--- 94 unchanged lines hidden (view full) ---
103 UNSERIALIZE_SCALAR(_initTemperature);
104}
105
106
107LinearEquation
108ThermalDomain::getEquation(ThermalNode * tn, unsigned n, double step) const
109{
110 LinearEquation eq(n);
111 if (tn == node)
112 eq[eq.cnt()] = 1.75f; // Fake 1.75 Watts for now, to be changed to PM
113 return eq;
114}
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
--- 94 unchanged lines hidden (view full) ---
103 UNSERIALIZE_SCALAR(_initTemperature);
104}
105
106
107LinearEquation
108ThermalDomain::getEquation(ThermalNode * tn, unsigned n, double step) const
109{
110 LinearEquation eq(n);
111 if (tn == node)
112 eq[eq.cnt()] = 1.75f; // Fake 1.75 Watts for now, to be changed to PM
113 return eq;
114}