1/*
2 * Copyright (c) 2016 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 "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;
187};
188
189#endif
2 * Copyright (c) 2016 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 "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;
187};
188
189#endif