X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/90a471de6cd70b41223dd16a09fafe6ac3e18269..0dcd4ade18ba45d1500217fc03b9a04225b1b40e:/src/include/surf/surf.h diff --git a/src/include/surf/surf.h b/src/include/surf/surf.h index bc29606acd..7a7a091d7a 100644 --- a/src/include/surf/surf.h +++ b/src/include/surf/surf.h @@ -46,7 +46,6 @@ class NetworkModel; class StorageModel; class Resource; class ResourceLmm; -class HostImpl; class HostCLM03; class NetworkCm02Link; class Action; @@ -192,20 +191,6 @@ XBT_PUBLIC(surf_action_t) surf_model_extract_failed_action_set(surf_model_t mode */ XBT_PUBLIC(int) surf_model_running_action_set_size(surf_model_t model); -/** @brief Create a new VM on the specified host */ -XBT_PUBLIC(void) surf_vm_model_create(const char *name, sg_host_t host_PM); - -/** @brief Create a communication between two hosts - * - * @param model The model which handle the communication - * @param src The source host - * @param dst The destination host - * @param size The amount of data (in bytes) needed to transfer - * @param rate [description] - * @return The action corresponding to the communication - */ -XBT_PUBLIC(surf_action_t) surf_network_model_communicate(surf_network_model_t model, sg_host_t src, sg_host_t dst, double size, double rate); - /** @brief Create a sleep action on the given host */ XBT_PUBLIC(surf_action_t) surf_host_sleep(sg_host_t host, double duration); @@ -254,13 +239,6 @@ XBT_PUBLIC(sg_size_t) surf_host_get_free_size(sg_host_t resource, const char* na */ XBT_PUBLIC(sg_size_t) surf_host_get_used_size(sg_host_t resource, const char* name); -/** - * @brief Destroy a VM - * - * @param resource The surf vm - */ -XBT_PUBLIC(void) surf_vm_destroy(sg_host_t resource); - /** @brief Suspend a VM */ XBT_PUBLIC(void) surf_vm_suspend(sg_host_t resource); @@ -306,16 +284,6 @@ XBT_PUBLIC(sg_host_t) surf_vm_get_pm(sg_host_t resource); */ XBT_PUBLIC(void) surf_vm_set_bound(sg_host_t resource, double bound); -/** - * @brief [brief description] - * @details [long description] - * - * @param resource [description] - * @param cpu [description] - * @param mask [description] - */ -XBT_PUBLIC(void) surf_vm_set_affinity(sg_host_t resource, sg_host_t cpu, unsigned long mask); - /** * @brief Unlink a file descriptor * @@ -456,8 +424,6 @@ XBT_PUBLIC(const char * ) surf_storage_get_host(surf_resource_t resource); /* Implementations of model object */ /**************************************/ -XBT_PUBLIC_DATA(void_f_void_t) surf_cpu_model_init_preparse; - /** \ingroup SURF_models * \brief The CPU model object for the physical machine layer */ @@ -561,7 +527,6 @@ XBT_PUBLIC(void) surf_network_model_init_Constant(); */ XBT_PUBLIC(void) surf_network_model_init_CM02(); -#if HAVE_NS3 /** \ingroup SURF_models * \brief Initializes the platform with the network model NS3 * @@ -571,7 +536,6 @@ XBT_PUBLIC(void) surf_network_model_init_CM02(); * \see surf_host_model_init_NS3() */ XBT_PUBLIC(void) surf_network_model_init_NS3(); -#endif /** \ingroup SURF_models * \brief Initializes the platform with the network model Reno @@ -691,11 +655,6 @@ XBT_PUBLIC(void) surf_vm_model_init_HL13(); */ XBT_PUBLIC_DATA(s_surf_model_description_t) surf_vm_model_description[]; -/** \ingroup SURF_simulation - * \brief List of hosts that have just restarted and whose autorestart process should be restarted. - */ -XBT_PUBLIC_DATA(xbt_dynar_t) host_that_restart; - /** \ingroup SURF_simulation * \brief List of hosts for which one want to be notified if they ever restart. */