Go to the documentation of this file.
38 #ifndef __SIM_VOLTAGE_DOMAIN_HH__
39 #define __SIM_VOLTAGE_DOMAIN_HH__
44 #include "params/VoltageDomain.hh"
81 "request for voltage perf level %u is outside "\
82 "of numVoltages %u",
name(), perf_level,
SrcClockDomain::PerfLevel PerfLevel
VoltageDomain * voltageDomain() const
Get the voltage domain.
void registerSrcClockDom(SrcClockDomain *src_clock_dom)
Register a SrcClockDomain with this voltage domain.
VoltageDomain(const Params &p)
VoltageDomainStats(VoltageDomain &vd)
gem5::VoltageDomain::VoltageDomainStats stats
void startup() override
Startup has all SrcClockDomains registered with this voltage domain, so try to make sure that all per...
SrcClockChildren srcClockChildren
double voltage(PerfLevel perf_level) const
Get the voltage at specified performance level.
void serialize(CheckpointOut &cp) const override
Serialize an object.
const Voltages voltageOpPoints
List of possible minimum voltage at each of the frequency operational points, should be in descending...
virtual std::string name() const
bool sanitiseVoltages()
Recomputes the highest (fastest, i.e., numerically lowest) requested performance level of all associa...
std::vector< SrcClockDomain * > SrcClockChildren
List of associated SrcClockDomains that are connected to this voltage domain.
#define chatty_assert(cond,...)
The chatty assert macro will function like a normal assert, but will allow the specification of addit...
The source clock domains provides the notion of a clock domain that is connected to a tunable clock s...
Abstract superclass for simulation objects.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
PerfLevel perfLevel() const
Get the voltage point of the domain.
double voltage() const
Get the current voltage.
statistics::Value voltage
Stat for reporting voltage of the domain.
std::ostream CheckpointOut
A VoltageDomain is used to group clock domains that operate under the same voltage.
std::vector< double > Voltages
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
VoltageDomainParams Params
uint32_t numVoltages() const
Generated on Tue Sep 21 2021 12:25:48 for gem5 by doxygen 1.8.17