-
-
-void SIMIX_set_category(smx_synchro_t synchro, const char *category)
-{
- if (synchro->state != SIMIX_RUNNING) return;
- if (synchro->type == SIMIX_SYNC_EXECUTE){
- surf_action_set_category(synchro->execution.surf_exec, category);
- }else if (synchro->type == SIMIX_SYNC_COMMUNICATE){
- surf_action_set_category(synchro->comm.surf_comm, category);
- }
-}
-
-/**
- * \brief Function to get the parameters of the given the SIMIX host.
- *
- * \param host the host to get_phys_host (a sg_host_t)
- * \param param the parameter object space to be overwritten (a ws_params_t)
- */
-void SIMIX_host_get_params(sg_host_t ind_vm, vm_params_t params)
-{
- /* jump to ws_get_params(). */
- surf_host_get_params(ind_vm, params);
-}
-
-void SIMIX_host_set_params(sg_host_t ind_vm, vm_params_t params)
-{
- /* jump to ws_set_params(). */
- surf_host_set_params(ind_vm, params);
-}
-
-xbt_dict_t SIMIX_host_get_mounted_storage_list(sg_host_t host){
- xbt_assert((host != NULL), "Invalid parameters (simix host is NULL)");
-
- return surf_host_get_mounted_storage_list(host);
-}
-
-xbt_dynar_t SIMIX_host_get_attached_storage_list(sg_host_t host){
- xbt_assert((host != NULL), "Invalid parameters (simix host is NULL)");
-
- return surf_host_get_attached_storage_list(host);
-}