45 #include "debug/ThermalDomain.hh"
46 #include "params/ThermalDomain.hh"
54 :
SimObject(p), _initTemperature(p->initial_temperature),
55 node(NULL), subsystem(NULL)
83 .
desc(
"Temperature in centigrate degrees")
94 ThermalDomainParams::create()
double getDynamicPower() const
void regStats() override
Register statistics for this object.
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.
LinearEquation getEquation(ThermalNode *tn, unsigned n, double step) const override
Get nodal equation imposed by this node.
const Params * params() const
void notify(const Arg &arg)
called at the ProbePoint call site, passes arg to each listener.
virtual void regStats()
Register statistics for this object.
void serialize(CheckpointOut &cp) const override
Serialize an object.
Declaration of Statistics objects.
#define UNSERIALIZE_SCALAR(scalar)
uint64_t power(uint32_t n, uint32_t e)
ClockedObject declaration and implementation.
A ThermalDomain is used to group objects under that operate under the same temperature.
ProbePointArg< double > * ppThermalUpdate
Probe to signal for temperature changes in this domain.
ThermalDomainParams Params
#define SERIALIZE_SCALAR(scalar)
void emitUpdate()
Emit a temperature update through probe points interface.
Stats::Value currentTemp
Stat for reporting voltage of the domain.
Derived & name(const std::string &name)
Set the name and marks this stat to print at the end of simulation.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
ThermalDomain(const Params *p)
A ThermalNode is used to connect thermal entities, such as resistors, capacitors, references and doma...
double currentTemperature() const
Get the current temperature.
virtual const std::string name() const
std::ostream CheckpointOut
This class describes a linear equation with constant coefficients.
ProbeManager * getProbeManager()
Get the probe manager for this object.
Derived & desc(const std::string &_desc)
Set the description and marks this stat to print at the end of simulation.
double getStaticPower() const
The SubSystem simobject does nothing, it is just a container for other simobjects used by the configu...
Abstract superclass for simulation objects.