X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/65ba2d986262a9d812fe5def15cc49af1da2ac02..972791c2823bfc1694d827b1e943eb725847e2d8:/include/simgrid/simix.h diff --git a/include/simgrid/simix.h b/include/simgrid/simix.h index d28e29c15a..bd12391e93 100644 --- a/include/simgrid/simix.h +++ b/include/simgrid/simix.h @@ -258,24 +258,25 @@ 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(smx_synchro_t) simcall_process_execute(const char *name, +XBT_PUBLIC(smx_synchro_t) simcall_execution_start(const char *name, double flops_amount, double priority, double bound, unsigned long affinity_mask); -XBT_PUBLIC(smx_synchro_t) simcall_process_parallel_execute(const char *name, +XBT_PUBLIC(smx_synchro_t) simcall_execution_parallel_start(const char *name, int host_nb, sg_host_t *host_list, double *flops_amount, double *bytes_amount, double amount, double rate); -XBT_PUBLIC(void) simcall_process_execution_destroy(smx_synchro_t execution); -XBT_PUBLIC(void) simcall_process_execution_cancel(smx_synchro_t execution); -XBT_PUBLIC(double) simcall_process_execution_get_remains(smx_synchro_t execution); -XBT_PUBLIC(e_smx_state_t) simcall_process_execution_get_state(smx_synchro_t execution); -XBT_PUBLIC(void) simcall_process_execution_set_priority(smx_synchro_t execution, double priority); -XBT_PUBLIC(void) simcall_process_execution_set_bound(smx_synchro_t execution, double bound); -XBT_PUBLIC(void) simcall_process_execution_set_affinity(smx_synchro_t execution, sg_host_t host, unsigned long mask); -XBT_PUBLIC(e_smx_state_t) simcall_process_execution_wait(smx_synchro_t execution); +XBT_PUBLIC(void) simcall_execution_destroy(smx_synchro_t execution); +XBT_PUBLIC(void) simcall_execution_cancel(smx_synchro_t execution); +XBT_PUBLIC(double) simcall_execution_get_remains(smx_synchro_t execution); +XBT_PUBLIC(e_smx_state_t) simcall_execution_get_state(smx_synchro_t execution); +XBT_PUBLIC(void) simcall_execution_set_priority(smx_synchro_t execution, double priority); +XBT_PUBLIC(void) simcall_execution_set_bound(smx_synchro_t execution, double bound); +XBT_PUBLIC(void) simcall_execution_set_affinity(smx_synchro_t execution, sg_host_t host, unsigned long mask); +XBT_PUBLIC(e_smx_state_t) simcall_execution_wait(smx_synchro_t execution); + XBT_PUBLIC(xbt_dict_t) simcall_host_get_mounted_storage_list(sg_host_t host); XBT_PUBLIC(xbt_dynar_t) simcall_host_get_attached_storage_list(sg_host_t host); XBT_PUBLIC(void) simcall_host_get_params(sg_host_t vm, vm_params_t param); @@ -409,13 +410,13 @@ XBT_PUBLIC(void) simcall_set_category(smx_synchro_t synchro, const char *categor /************************** Synchro simcalls **********************************/ XBT_PUBLIC(smx_mutex_t) simcall_mutex_init(void); -XBT_PUBLIC(void) simcall_mutex_destroy(smx_mutex_t mutex); +XBT_PUBLIC(void) SIMIX_mutex_destroy(smx_mutex_t mutex); XBT_PUBLIC(void) simcall_mutex_lock(smx_mutex_t mutex); XBT_PUBLIC(int) simcall_mutex_trylock(smx_mutex_t mutex); XBT_PUBLIC(void) simcall_mutex_unlock(smx_mutex_t mutex); XBT_PUBLIC(smx_cond_t) simcall_cond_init(void); -XBT_PUBLIC(void) simcall_cond_destroy(smx_cond_t cond); +XBT_PUBLIC(void) SIMIX_cond_destroy(smx_cond_t cond); XBT_PUBLIC(void) simcall_cond_signal(smx_cond_t cond); XBT_PUBLIC(void) simcall_cond_wait(smx_cond_t cond, smx_mutex_t mutex); XBT_PUBLIC(void) simcall_cond_wait_timeout(smx_cond_t cond, @@ -424,7 +425,7 @@ XBT_PUBLIC(void) simcall_cond_wait_timeout(smx_cond_t cond, XBT_PUBLIC(void) simcall_cond_broadcast(smx_cond_t cond); XBT_PUBLIC(smx_sem_t) simcall_sem_init(int capacity); -XBT_PUBLIC(void) simcall_sem_destroy(smx_sem_t sem); +XBT_PUBLIC(void) SIMIX_sem_destroy(smx_sem_t sem); XBT_PUBLIC(void) simcall_sem_release(smx_sem_t sem); XBT_PUBLIC(int) simcall_sem_would_block(smx_sem_t sem); XBT_PUBLIC(void) simcall_sem_acquire(smx_sem_t sem);