power_model.hh (11527:9007a9729815) power_model.hh (11800:54436a1784dc)
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

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

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"
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

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

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/power/thermal_model.hh"
47#include "sim/probe/probe.hh"
46#include "sim/probe/probe.hh"
48#include "sim/sim_object.hh"
49
47
48class SimObject;
49class ClockedObject;
50
50/**
51 * A PowerModelState is an abstract class used as interface to get power
52 * figures out of SimObjects
53 */
54class PowerModelState : public SimObject
55{
56 public:
57

--- 131 unchanged lines hidden ---
51/**
52 * A PowerModelState is an abstract class used as interface to get power
53 * figures out of SimObjects
54 */
55class PowerModelState : public SimObject
56{
57 public:
58

--- 131 unchanged lines hidden ---