A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Various sonar cleanups
[simgrid.git]
/
src
/
plugins
/
chiller.cpp
diff --git
a/src/plugins/chiller.cpp
b/src/plugins/chiller.cpp
index
3cec29d
..
0a4d3af
100644
(file)
--- a/
src/plugins/chiller.cpp
+++ b/
src/plugins/chiller.cpp
@@
-57,6
+57,7
@@
chiller is not active, the temperature of the room increases.
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(Chiller, kernel, "Logging specific to the solar panel plugin");
namespace simgrid::plugins {
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(Chiller, kernel, "Logging specific to the solar panel plugin");
namespace simgrid::plugins {
+xbt::signal<void(Chiller*)> Chiller::on_power_change; // initialisation of static field
/* ChillerModel */
/* ChillerModel */
@@
-282,7
+283,7
@@
ChillerPtr Chiller::remove_host(s4u::Host* host)
/** @ingroup plugin_chiller
* @return The time to reach to goal temp, assuming that the system remain in the same state.
*/
/** @ingroup plugin_chiller
* @return The time to reach to goal temp, assuming that the system remain in the same state.
*/
-double Chiller::get_time_to_goal_temp()
+double Chiller::get_time_to_goal_temp()
const
{
if (goal_temp_c_ == temp_in_c_)
return 0;
{
if (goal_temp_c_ == temp_in_c_)
return 0;