sim: Added model type to power model
authorAnouk Van Laer <anouk.vanlaer@arm.com>
Wed, 1 Mar 2017 17:05:18 +0000 (17:05 +0000)
committerAnouk Van Laer <anouk.vanlaer@arm.com>
Wed, 28 Feb 2018 21:55:35 +0000 (21:55 +0000)
commited0f02e1f68e8771f4de514716f34c3de32b3045
treeb9dafb62a24ee3e7c876c255b245123a736c2ab2
parentfbe63074e3a8128bdbe1a5e8f6509c565a3abbd4
sim: Added model type to power model

Static, dynamic or all to differentiate between types of power models
so for example static models will not be asked for a dynamic power

Change-Id: I3a0385821f7c671aedddaebeb038c677367faa81
Reviewed-by: Sascha Bischoff <sascha.bischoff@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/8601
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/sim/power/PowerModel.py
src/sim/power/power_model.cc
src/sim/power/power_model.hh