thermal_model.cc (11899:d04da1f9c961) | thermal_model.cc (12088:ffd7952e9929) |
---|---|
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 --- 180 unchanged lines hidden (view full) --- 189 190 return eq; 191} 192 193/** 194 * ThermalModel 195 */ 196ThermalModel::ThermalModel(const Params *p) | 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 --- 180 unchanged lines hidden (view full) --- 189 190 return eq; 191} 192 193/** 194 * ThermalModel 195 */ 196ThermalModel::ThermalModel(const Params *p) |
197 : ClockedObject(p), stepEvent(this), _step(p->step) | 197 : ClockedObject(p), stepEvent([this]{ doStep(); }, name()), _step(p->step) |
198{ 199} 200 201ThermalModel * 202ThermalModelParams::create() 203{ 204 return new ThermalModel(this); 205} --- 99 unchanged lines hidden --- | 198{ 199} 200 201ThermalModel * 202ThermalModelParams::create() 203{ 204 return new ThermalModel(this); 205} --- 99 unchanged lines hidden --- |