Deleted Added
sdiff udiff text old ( 11420:b48c0ba4f524 ) new ( 11424:e07fd01651f3 )
full compact
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 double power = subsystem->getDynamicPower() + subsystem->getStaticPower();
112 if (tn == node)
113 eq[eq.cnt()] = power;
114 return eq;
115}