Comments improved
This commit is contained in:
@@ -82,10 +82,12 @@ struct TemperatureSimConfig {
|
||||
|
||||
for (tinyxml2::XMLElement *e = powInfoElem->FirstChildElement(); e != NULL; e = e->NextSiblingElement()) {
|
||||
|
||||
// Load initial power values for all devices
|
||||
std::string init_pow_str = e->Attribute("init_pow");
|
||||
float pow = std::stof(init_pow_str);
|
||||
powerInitialValues.push_back(pow);
|
||||
|
||||
// Load power thresholds for all devices (changes in power dissipation that exceed the threshods will make the thermal simulation to be executed more often)
|
||||
std::string thr_str = e->Attribute("threshold");
|
||||
float thr = std::stof(thr_str);
|
||||
powerThresholds.push_back(thr);
|
||||
|
||||
@@ -269,7 +269,7 @@ Below are listed the configuration sections and configuration fields.
|
||||
- *SimPeriodAdjustFactor* (unsigned int)
|
||||
- When substantial changes in power occur (i.e., changes that exceed the thresholds), then the simulation period will be divided by this number causing the thermal simulation to be executed more often.
|
||||
- *NPowStableCyclesToIncreasePeriod* (unsigned int)
|
||||
- Wait this number of thermal simulation executions or cycles with power stability (i.e., changes that do not exceed the thresholds) to start increasing the simulation period back to its configured value.
|
||||
- Wait this number of thermal simulation cycles with power stability (i.e., changes that do not exceed the thresholds) to start increasing the simulation period back to its configured value.
|
||||
|
||||
- **Memory Specification**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user