Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simplify the MC initialization by using only one env variable
[simgrid.git] / src / msg / msg_legacy.cpp
index 6ddae74269aaacfbd8298b530376abe3a3ea0cfc..3e25d7647813ed08be457e0e73dd20a209e3cf64 100644 (file)
@@ -218,9 +218,9 @@ void MSG_process_unref(const_sg_actor_t process)
   sg_actor_unref(process);
 }
 /** @brief Return the current number MSG processes. */
-int MSG_process_get_number()
+int MSG_process_get_number() // XBT_ATTRIB_DEPRECATED_v330
 {
-  return simgrid_get_actor_count();
+  return sg_actor_count();
 }
 /* ************************** NetZones *************************** */
 sg_netzone_t MSG_zone_get_root()
@@ -299,7 +299,7 @@ sg_size_t MSG_storage_write(sg_storage_t storage, sg_size_t size)
 }
 
 /* ************************** hosts *************************** */
-xbt_dynar_t MSG_hosts_as_dynar()
+xbt_dynar_t MSG_hosts_as_dynar() // XBT_ATTRIB_DEPRECATED_v330
 {
   size_t host_count = sg_host_count();
   sg_host_t* list   = sg_host_list();