diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-04-05 16:40:08 +0100 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-04-06 13:35:17 +0000 |
commit | 9ff8a2be92084e6be11b9ebb8cda9a20c4256398 (patch) | |
tree | f141e9752f8496a346ba4c45b5bf6ea0f7f24993 /src/mem/simple_mem.cc | |
parent | 0b223f4001fce26cad3b3c7e03501e7222d85ee0 (diff) | |
download | gem5-9ff8a2be92084e6be11b9ebb8cda9a20c4256398.tar.xz |
power: Add a voltage variable to power expressions
There is currently no good way of extracting the current operating
voltage in MathExprPowerModels. This change adds a magic variable,
'voltage', that can be referenced from such expressions to get the
current operating voltage.
Change-Id: Ice3c9a4a221921a542de5da52f83f3f88862d246
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Sascha Bischoff <sascha.bischoff@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/2662
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/mem/simple_mem.cc')
0 files changed, 0 insertions, 0 deletions