X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fa33c62c831c17237ac38960b24596560ad3804d..3f9b311ec56db95ec539001a860ae3c838c48312:/src/plugins/chiller.cpp diff --git a/src/plugins/chiller.cpp b/src/plugins/chiller.cpp index 3cec29d560..0a4d3afe4d 100644 --- 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::signal Chiller::on_power_change; // initialisation of static field /* 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. */ -double Chiller::get_time_to_goal_temp() +double Chiller::get_time_to_goal_temp() const { if (goal_temp_c_ == temp_in_c_) return 0;