/** \defgroup m_host_management Management functions of Hosts
* \brief This section describes the host structure of MSG
- *
+ */
+/** @addtogroup m_host_management
* \htmlonly <!-- DOXYGEN_NAVBAR_LABEL="Hosts" --> \endhtmlonly
* (#m_host_t) and the functions for managing it.
*
host->simdata = simdata;
host->data = data;
- simdata->host = workstation;
+ simdata->s_host = workstation;
simdata->mbox = xbt_new0(xbt_fifo_t, msg_global->max_channel);
for (i = 0; i < msg_global->max_channel; i++)
}
/*
- * Real function for destroy a host.
+ * Real function to destroy a host.
* MSG_host_destroy is just a front_end that also removes it from
* msg_global->host
*/
xbt_assert0((host != NULL), "Invalid parameters");
/* Clean Simulator data */
- /* SIMIX host will be cleaned when MSG_clean calls SIMIX_clean */
+ /* SIMIX host will be cleaned when MSG_clean calls SIMIX_clean */
simdata = (host)->simdata;
for (i = 0; i < msg_global->max_channel; i++)
{
xbt_assert0((h!= NULL), "Invalid parameters");
- return(SIMIX_host_get_speed(h->simdata->host));
+ return(SIMIX_host_get_speed(h->simdata->s_host));
}
/** \ingroup msg_gos_functions
int MSG_host_is_avail (m_host_t h)
{
xbt_assert0((h!= NULL), "Invalid parameters");
- return (SIMIX_host_get_state(h->simdata->host));
+ return (SIMIX_host_get_state(h->simdata->s_host));
}