X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6a614499935bd6927065e86dcced8f234253a6e3..a73d204e173f35c0abb92b26e061929066b8b283:/src/plugins/host_energy.cpp diff --git a/src/plugins/host_energy.cpp b/src/plugins/host_energy.cpp index 400fb8570a..46c48c2e6f 100644 --- a/src/plugins/host_energy.cpp +++ b/src/plugins/host_energy.cpp @@ -340,8 +340,8 @@ void HostEnergy::init_watts_range_list() boost::split(all_power_values, old_prop, boost::is_any_of(",")); xbt_assert(all_power_values.size() == (unsigned)host_->get_pstate_count(), - "Invalid XML file. Found %lu energetic profiles for %d pstates", - all_power_values.size(), host_->get_pstate_count()); + "Invalid XML file. Found %zu energetic profiles for %d pstates", all_power_values.size(), + host_->get_pstate_count()); // XBT_ATTRIB_DEPRECATED_v327: puting this macro name here so that we find it during the deprecation cleanups of v3.28 std::string msg = std::string("DEPRECATION WARNING: Property 'watt_per_state' will only work until v3.28.\n"); @@ -407,8 +407,8 @@ void HostEnergy::init_watts_range_list() XBT_DEBUG("%s: power properties: %s", host_->get_cname(), all_power_values_str); xbt_assert(all_power_values.size() == (unsigned)host_->get_pstate_count(), - "Invalid XML file. Found %lu energetic profiles for %d pstates", - all_power_values.size(), host_->get_pstate_count()); + "Invalid XML file. Found %zu energetic profiles for %d pstates", all_power_values.size(), + host_->get_pstate_count()); int i = 0; for (auto const& current_power_values_str : all_power_values) { @@ -596,7 +596,6 @@ double sg_host_get_consumed_energy(sg_host_t host) /** @ingroup plugin_host_energy * @brief Get the amount of watt dissipated when the host is idling - * This function is deprecated and will not work after v3.27. Use sg_host_get_idle_consumption_at instead. */ double sg_host_get_idle_consumption(sg_host_t host) {