Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
allow to set a profile to links and hosts from S4U
[simgrid.git] / include / simgrid / s4u / Link.hpp
index 8029280..04100c1 100644 (file)
@@ -83,9 +83,9 @@ public:
   }
 #endif
 
-  /** Setup the profile file with states events (ON or OFF). The profile must contain boolean values. */
+  /** Setup the profile with states events (ON or OFF). The profile must contain boolean values. */
   void set_state_profile(kernel::profile::Profile* profile);
-  /** Setup the profile file with bandwidth events (peak speed changes due to external load).
+  /** Setup the profile with bandwidth events (peak speed changes due to external load).
    * The profile must contain percentages (value between 0 and 1). */
   void set_bandwidth_profile(kernel::profile::Profile* profile);
   /** Setup the profile file with latency events (peak latency changes due to external load).
@@ -151,22 +151,13 @@ public:
 
   /** @deprecated */
   XBT_ATTRIB_DEPRECATED_v323("Please use Link::get_state_profile()") void setStateTrace(
-      simgrid::kernel::profile::Profile* trace)
-  {
-    set_state_profile(trace);
-  }
+      simgrid::kernel::profile::Profile* profile) {set_state_profile(profile); }
   /** @deprecated */
   XBT_ATTRIB_DEPRECATED_v323("Please use Link::get_bandwidth_profile()") void setBandwidthTrace(
-      simgrid::kernel::profile::Profile* trace)
-  {
-    set_bandwidth_profile(trace);
-  }
+      simgrid::kernel::profile::Profile* profile) { set_bandwidth_profile(profile); }
   /** @deprecated */
   XBT_ATTRIB_DEPRECATED_v323("Please use Link::get_latency_profile()") void setLatencyTrace(
-      simgrid::kernel::profile::Profile* trace)
-  {
-    set_latency_profile(trace);
-  }
+      simgrid::kernel::profile::Profile* profile) { set_latency_profile(profile); }
 #endif
 };
 }