----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviews.gem5.org/r/3365/ -----------------------------------------------------------
Review request for Default. Repository: gem5 Description ------- Changeset 11368:61dd15844439 --------------------------- sim: Adding 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. Diffs ----- src/sim/power/PowerModelState.py PRE-CREATION src/sim/power/SConscript PRE-CREATION src/sim/power/mathexpr_powermodel.hh PRE-CREATION src/sim/power/mathexpr_powermodel.cc PRE-CREATION src/sim/power/power_model.hh PRE-CREATION src/sim/power/power_model.cc PRE-CREATION src/sim/sub_system.hh f3f72c0ab03eac35ff4b2ab14214b66ec9c11c49 src/sim/sub_system.cc f3f72c0ab03eac35ff4b2ab14214b66ec9c11c49 src/doc/power_thermal_model.doxygen PRE-CREATION src/sim/ClockedObject.py f3f72c0ab03eac35ff4b2ab14214b66ec9c11c49 src/sim/SConscript f3f72c0ab03eac35ff4b2ab14214b66ec9c11c49 src/sim/clocked_object.hh f3f72c0ab03eac35ff4b2ab14214b66ec9c11c49 src/sim/clocked_object.cc PRE-CREATION src/sim/mathexpr.hh PRE-CREATION src/sim/mathexpr.cc PRE-CREATION src/sim/power/MathExprPowerModel.py PRE-CREATION src/sim/power/PowerModel.py PRE-CREATION Diff: http://reviews.gem5.org/r/3365/diff/ Testing ------- Thanks, Curtis Dunham _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
