Comments improved

This commit is contained in:
Éder F. Zulian
2015-10-05 13:52:03 +02:00
parent 995a18e648
commit 53252439d5
2 changed files with 3 additions and 1 deletions

View File

@@ -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);

View File

@@ -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**