From 631c898b9cc35b8fa51f1688f78f794b1b185215 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Tue, 8 Oct 2019 09:30:56 +0200 Subject: [PATCH] Add a TODO in the code --- src/plugins/host_energy.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/host_energy.cpp b/src/plugins/host_energy.cpp index 323884422e..5388f5b31f 100644 --- a/src/plugins/host_energy.cpp +++ b/src/plugins/host_energy.cpp @@ -340,7 +340,8 @@ void HostEnergy::init_watts_range_list() std::vector all_power_values; boost::split(all_power_values, old_prop, boost::is_any_of(",")); - std::string msg = std::string("DEPRECATION WARNING: Property 'watt_per_state' will not work after v3.28.\n"); + // 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"); msg += std::string("The old syntax 'Idle:OneCore:AllCores' must be converted into 'Idle:Epsilon:AllCores' to " "properly model the consumption of non-whole tasks on mono-core hosts. Here are the values to " "use for host '") + -- 2.20.1