gem5/src/sim/power
David Guillen Fandos f902c0218a power: Add support for power models
This patch adds some basic support for power models in gem5.

The power interface is defined so it can interact with thermal
models as well. It implements a simple power evaluator that
can be used for simple power models that express power in the
form of a math expression. These expressions can use stats
within the same SimObject (or down its hierarchy) and some
magic variables such as "temp" for temperature.
In future patches we will extend this functionality to allow
slightly more complex expressions.

The model allows it to be extended to use other kinds of models.

Finally, the thermal model is updated to use the power usage as input.
2016-04-05 10:52:28 -05:00
..
mathexpr_powermodel.cc power: Add support for power models 2016-04-05 10:52:28 -05:00
mathexpr_powermodel.hh power: Add support for power models 2016-04-05 10:52:28 -05:00
MathExprPowerModel.py power: Add support for power models 2016-04-05 10:52:28 -05:00
power_model.cc power: Add support for power models 2016-04-05 10:52:28 -05:00
power_model.hh power: Add support for power models 2016-04-05 10:52:28 -05:00
PowerModel.py power: Add support for power models 2016-04-05 10:52:28 -05:00
PowerModelState.py power: Add support for power models 2016-04-05 10:52:28 -05:00
SConscript power: Add support for power models 2016-04-05 10:52:28 -05:00
thermal_domain.cc power: Add support for power models 2016-04-05 10:52:28 -05:00
thermal_domain.hh sim: Adding thermal model support 2015-05-12 10:26:47 +01:00
thermal_entity.hh sim: Adding thermal model support 2015-05-12 10:26:47 +01:00
thermal_model.cc sim: Adding thermal model support 2015-05-12 10:26:47 +01:00
thermal_model.hh sim: Adding thermal model support 2015-05-12 10:26:47 +01:00
ThermalDomain.py sim: Adding thermal model support 2015-05-12 10:26:47 +01:00
ThermalModel.py sim: Adding thermal model support 2015-05-12 10:26:47 +01:00