Go to the documentation of this file.
38 #ifndef __SIM_MATHEXPR_POWERMODEL_PM_HH__
39 #define __SIM_MATHEXPR_POWERMODEL_PM_HH__
41 #include <unordered_map>
43 #include "params/MathExprPowerModel.hh"
64 typedef MathExprPowerModelParams
Params;
107 std::unordered_map<std::string, const statistics::Info*>
statsMap;
void regStats() override
Callback to set stat parameters.
double getDynamicPower() const override
Get the dynamic power consumption.
double eval(const MathExpr &expr) const
Evaluate an expression in the context of this object, fatal if evaluation fails.
virtual std::string name() const
double getStatValue(const std::string &name) const
Get the value for a variable (maps to a stat)
std::unordered_map< std::string, const statistics::Info * > statsMap
MathExprPowerModelParams Params
void startup() override
startup() is the final initialization call before simulation.
GEM5_DEPRECATED_NAMESPACE(GuestABI, guest_abi)
double getStaticPower() const override
Get the static power consumption.
MathExprPowerModel(const Params &p)
A PowerModelState is an abstract class used as interface to get power figures out of SimObjects.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Generated on Tue Sep 21 2021 12:25:48 for gem5 by doxygen 1.8.17