summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStephan Diestelhorst <stephan.diestelhorst@arm.com>2017-04-06 14:53:41 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2017-04-08 06:09:24 +0100
commit3aada8ed5959f105fa51fbd815989e01f709b645 (patch)
treedd98940b4a2ca240f713faec79fe59056a29a38f /src
parent9ff8a2be92084e6be11b9ebb8cda9a20c4256398 (diff)
downloadgem5-3aada8ed5959f105fa51fbd815989e01f709b645.tar.xz
power: Clarify the unit used for the power equations (W)
Change-Id: Iab5070fc9b666fcb5b49b0e2b99a4a1605b3b721 Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src')
-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")