summaryrefslogtreecommitdiff
path: root/src/sim/power
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/power')
-rw-r--r--src/sim/power/MathExprPowerModel.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sim/power/MathExprPowerModel.py b/src/sim/power/MathExprPowerModel.py
index 1a7b0ae78..85132d22c 100644
--- a/src/sim/power/MathExprPowerModel.py
+++ b/src/sim/power/MathExprPowerModel.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2016 ARM Limited
+# Copyright (c) 2016-2017 ARM Limited
# All rights reserved.
#
# The license below extends only to copyright in the software and shall
@@ -44,9 +44,9 @@ class MathExprPowerModel(PowerModelState):
type = 'MathExprPowerModel'
cxx_header = "sim/power/mathexpr_powermodel.hh"
- # Equations for dynamic and static power
+ # Equations for dynamic and static power in Watts
# Equations may use gem5 stats ie. "1.1*ipc + 2.3*l2_cache.overall_misses"
# It is possible to use automatic variables such as "temp"
# You may also use stat names (relative path to the simobject)
- dyn = Param.String("", "Expression for the dynamic power")
- st = Param.String("", "Expression for the static power")
+ dyn = Param.String("", "Expression for the dynamic power in Watts")
+ st = Param.String("", "Expression for the static power in Watts")