return host;
}
-/**
+/**
* \brief Set the user data of a #smx_host_t.
*
* This functions checks whether some data has already been associated to \a host or not and attach \a data to \a host if it is possible.
return (host->data);
}
-/**
+/**
* \brief Return the name of the #smx_host_t.
*
* This functions checks whether \a host is a valid pointer or not and return its name.
return (host->name);
}
-/**
+/**
* \brief Return the location on which the current process is executed.
*
* Return the host, more details in #SIMIX_process_get_host
/*
* Real function for destroy a host.
- * MSG_host_destroy is just a front_end that also removes it from
+ * MSG_host_destroy is just a front_end that also removes it from
* msg_global->host
*/
void __SIMIX_host_destroy(void *h)
{
xbt_assert0((host != NULL), "Invalid parameters");
- return (surf_workstation_model->extension_public->
+ return (surf_workstation_model->extension.workstation.
get_speed(host->simdata->host, 1.0));
}
{
xbt_assert0((host != NULL), "Invalid parameters");
- return (surf_workstation_model->extension_public->
+ return (surf_workstation_model->extension.workstation.
get_available_speed(host->simdata->host));
}
{
xbt_assert0((host != NULL), "Invalid parameters");
- return (surf_workstation_model->common_public->
- get_properties(host->simdata->host));
+ return (surf_workstation_model->get_properties(host->simdata->host));
}
{
xbt_assert0((host != NULL), "Invalid parameters");
- return (surf_workstation_model->extension_public->
+ return (surf_workstation_model->extension.workstation.
get_state(host->simdata->host));
}