Go to the documentation of this file.
43 #include "debug/ThermalDomain.hh"
44 #include "params/ThermalDomain.hh"
52 :
SimObject(
p), _initTemperature(
p->initial_temperature),
53 node(NULL), subsystem(NULL)
81 .
desc(
"Temperature in centigrate degrees")
92 ThermalDomainParams::create()
virtual void regStats()
Callback to set stat parameters.
A ThermalDomain is used to group objects under that operate under the same temperature.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
The SubSystem simobject does nothing, it is just a container for other simobjects used by the configu...
Derived & method(T *obj, V(T::*method)() const)
Extended functor that calls the specified method of the provided object.
void setSubSystem(SubSystem *ss)
Set the SubSystem reference we belong to.
#define UNSERIALIZE_SCALAR(scalar)
A ThermalNode is used to connect thermal entities, such as resistors, capacitors, references and doma...
ThermalDomain(const Params *p)
void emitUpdate()
Emit a temperature update through probe points interface.
double getStaticPower() const
double getDynamicPower() const
This class describes a linear equation with constant coefficients.
void notify(const Arg &arg)
called at the ProbePoint call site, passes arg to each listener.
void regStats() override
Callback to set stat parameters.
double currentTemperature() const
Get the current temperature.
ProbePointArg< double > * ppThermalUpdate
Probe to signal for temperature changes in this domain.
Derived & name(const std::string &name)
Set the name and marks this stat to print at the end of simulation.
const Params * params() const
#define SERIALIZE_SCALAR(scalar)
ProbeManager * getProbeManager()
Get the probe manager for this object.
virtual const std::string name() const
Stats::Value currentTemp
Stat for reporting voltage of the domain.
std::ostream CheckpointOut
void serialize(CheckpointOut &cp) const override
Serialize an object.
uint64_t power(uint32_t n, uint32_t e)
Derived & desc(const std::string &_desc)
Set the description and marks this stat to print at the end of simulation.
ThermalDomainParams Params
LinearEquation getEquation(ThermalNode *tn, unsigned n, double step) const override
Get nodal equation imposed by this node.
Abstract superclass for simulation objects.
Generated on Wed Sep 30 2020 14:02:14 for gem5 by doxygen 1.8.17