1/* |
2 * Copyright (c) 2016, 2018 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 9 * licensed hereunder. You may use the software subject to the license 10 * terms below provided that you ensure that this notice is replicated --- 25 unchanged lines hidden (view full) --- 36 * 37 * Authors: David Guillen Fandos 38 */ 39 40#ifndef __SIM_POWER_POWER_MODEL_HH__ 41#define __SIM_POWER_POWER_MODEL_HH__ 42 43#include "base/statistics.hh" |
44#include "enums/PMType.hh" |
45#include "params/PowerModel.hh" 46#include "params/PowerModelState.hh" 47#include "sim/probe/probe.hh" 48 49class SimObject; 50class ClockedObject; 51 52/** --- 127 unchanged lines hidden (view full) --- 180 /** Listener to catch temperature changes in the SubSystem */ 181 std::unique_ptr<ThermalProbeListener> thermalListener; 182 183 /** The subsystem this power model belongs to */ 184 SubSystem * subsystem; 185 186 /** The clocked object we belong to */ 187 ClockedObject * clocked_object; |
188 189 /** The type of power model - collects all power, static or dynamic only */ 190 Enums::PMType power_model_type; |
191}; 192 193#endif |