Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Deprecate sg_host_dump.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 18 Feb 2022 09:32:14 +0000 (10:32 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 18 Feb 2022 09:32:14 +0000 (10:32 +0100)
It's unused since the removal of the simdag examples.

docs/source/app_s4u.rst
include/simgrid/host.h
src/s4u/s4u_Host.cpp

index b1be684..666ac3f 100644 (file)
@@ -1328,7 +1328,6 @@ Querying info
    .. group-tab:: C
 
       .. doxygenfunction:: sg_host_core_count(const_sg_host_t host)
-      .. doxygenfunction:: sg_host_dump(const_sg_host_t ws)
       .. doxygenfunction:: sg_host_get_name(const_sg_host_t host)
       .. doxygenfunction:: sg_host_get_load(const_sg_host_t host)
       .. doxygenfunction:: sg_host_get_speed(const_sg_host_t host)
index 854412d..8d70956 100644 (file)
@@ -114,7 +114,8 @@ XBT_PUBLIC double sg_host_get_route_latency(const_sg_host_t from, const_sg_host_
 XBT_PUBLIC double sg_host_get_route_bandwidth(const_sg_host_t from, const_sg_host_t to);
 XBT_PUBLIC void sg_host_sendto(sg_host_t from, sg_host_t to, double byte_amount);
 
-XBT_PUBLIC void sg_host_dump(const_sg_host_t ws);
+XBT_ATTRIB_DEPRECATED_v335("Please manifest if you actually need this function") XBT_PUBLIC
+    void sg_host_dump(const_sg_host_t ws);
 
 XBT_PUBLIC void sg_host_get_actor_list(const_sg_host_t host, xbt_dynar_t whereto);
 SG_END_DECL
index 53d3418..f90eba1 100644 (file)
@@ -649,7 +649,7 @@ void sg_host_sendto(sg_host_t from, sg_host_t to, double byte_amount)
 }
 
 /** @brief Displays debugging information about a host */
-void sg_host_dump(const_sg_host_t host)
+void sg_host_dump(const_sg_host_t host) // XBT_ATTRIB_DEPRECATED_v335
 {
   XBT_INFO("Displaying host %s", host->get_cname());
   XBT_INFO("  - speed: %.0f", host->get_speed());