power_model.hh (11800:54436a1784dc) power_model.hh (12546:8182d78bebcb)
1/*
1/*
2 * Copyright (c) 2016 ARM Limited
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"
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"
44#include "params/PowerModel.hh"
45#include "params/PowerModelState.hh"
46#include "sim/probe/probe.hh"
47
48class SimObject;
49class ClockedObject;
50
51/**

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

179 /** Listener to catch temperature changes in the SubSystem */
180 std::unique_ptr<ThermalProbeListener> thermalListener;
181
182 /** The subsystem this power model belongs to */
183 SubSystem * subsystem;
184
185 /** The clocked object we belong to */
186 ClockedObject * clocked_object;
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;
187};
188
189#endif
191};
192
193#endif