From 3aada8ed5959f105fa51fbd815989e01f709b645 Mon Sep 17 00:00:00 2001 From: Stephan Diestelhorst Date: Thu, 6 Apr 2017 14:53:41 +0100 Subject: power: Clarify the unit used for the power equations (W) Change-Id: Iab5070fc9b666fcb5b49b0e2b99a4a1605b3b721 Signed-off-by: Andreas Sandberg --- src/sim/power/MathExprPowerModel.py | 8 ++++---- 1 file 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") -- cgit v1.2.3