diff --git a/DRAMSys/simulator/src/controller/core/configuration/temperatureSimConfig.h b/DRAMSys/simulator/src/controller/core/configuration/temperatureSimConfig.h index 4cc9949c..efb128d0 100644 --- a/DRAMSys/simulator/src/controller/core/configuration/temperatureSimConfig.h +++ b/DRAMSys/simulator/src/controller/core/configuration/temperatureSimConfig.h @@ -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); diff --git a/README.md b/README.md index 85932202..b0b853bb 100644 --- a/README.md +++ b/README.md @@ -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**