summaryrefslogtreecommitdiff
path: root/src/sim/power/power_model.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/power/power_model.hh')
-rw-r--r--src/sim/power/power_model.hh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sim/power/power_model.hh b/src/sim/power/power_model.hh
index 976c0543f..e482b8005 100644
--- a/src/sim/power/power_model.hh
+++ b/src/sim/power/power_model.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016 ARM Limited
+ * Copyright (c) 2016, 2018 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
@@ -41,6 +41,7 @@
#define __SIM_POWER_POWER_MODEL_HH__
#include "base/statistics.hh"
+#include "enums/PMType.hh"
#include "params/PowerModel.hh"
#include "params/PowerModelState.hh"
#include "sim/probe/probe.hh"
@@ -184,6 +185,9 @@ class PowerModel : public SimObject
/** The clocked object we belong to */
ClockedObject * clocked_object;
+
+ /** The type of power model - collects all power, static or dynamic only */
+ Enums::PMType power_model_type;
};
#endif