X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7f4f03348bd07609e258eb3b545bdafc2c881847..1e383d56c1cfe2e4291180bf5caa771d84f6df02:/include/simgrid/simix.h diff --git a/include/simgrid/simix.h b/include/simgrid/simix.h index 2c8bdf4f70..12e805b1f3 100644 --- a/include/simgrid/simix.h +++ b/include/simgrid/simix.h @@ -167,7 +167,7 @@ XBT_PUBLIC(int) SIMIX_context_get_parallel_threshold(void); XBT_PUBLIC(void) SIMIX_context_set_parallel_threshold(int threshold); XBT_PUBLIC(e_xbt_parmap_mode_t) SIMIX_context_get_parallel_mode(void); XBT_PUBLIC(void) SIMIX_context_set_parallel_mode(e_xbt_parmap_mode_t mode); - +XBT_PUBLIC(int) SIMIX_is_maestro(); /********************************** Global ************************************/ @@ -218,7 +218,7 @@ XBT_PUBLIC(void) SIMIX_host_on(sg_host_t host); XBT_PUBLIC(void) SIMIX_host_off(sg_host_t host, smx_process_t issuer); XBT_PUBLIC(void) SIMIX_host_self_set_data(void *data); XBT_PUBLIC(void*) SIMIX_host_self_get_data(void); -XBT_PUBLIC(xbt_dict_t) SIMIX_host_get_mounted_storage_list(sg_host_t host); + /********************************* Process ************************************/ XBT_PUBLIC(int) SIMIX_process_count(void); XBT_PUBLIC(smx_process_t) SIMIX_process_self(void); @@ -249,20 +249,15 @@ XBT_PUBLIC(void) SIMIX_comm_finish(smx_synchro_t synchro); /* They can also be called from maestro's context, and they are thread safe. */ /******************************************************************************/ +XBT_PUBLIC(void) simcall_call(smx_process_t process); + /******************************* Host simcalls ********************************/ /* TODO use handlers and keep sg_host_t hidden from higher levels */ -XBT_PUBLIC(xbt_dict_t) simcall_host_get_properties(sg_host_t host); -XBT_PUBLIC(void) simcall_host_on(sg_host_t host); -XBT_PUBLIC(void) simcall_host_off(sg_host_t host); XBT_PUBLIC(xbt_swag_t) simcall_host_get_process_list(sg_host_t host); - XBT_PUBLIC(void) simcall_host_set_data(sg_host_t host, void *data); XBT_PUBLIC(double) simcall_host_get_current_power_peak(sg_host_t host); XBT_PUBLIC(double) simcall_host_get_power_peak_at(sg_host_t host, int pstate_index); -XBT_PUBLIC(void) simcall_host_set_pstate(sg_host_t host, int pstate_index); -XBT_PUBLIC(double) simcall_host_get_wattmin_at(sg_host_t host, int pstate); -XBT_PUBLIC(double) simcall_host_get_wattmax_at(sg_host_t host, int pstate); XBT_PUBLIC(smx_synchro_t) simcall_process_execute(const char *name, double flops_amount,