X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dccf1b41e9c7b5a696f01abceaa2779fe65f154f..fd7325c13c2afc315d1dfa41c643a58197bfe99a:/src/simix/popping_bodies.cpp diff --git a/src/simix/popping_bodies.cpp b/src/simix/popping_bodies.cpp index 8986295e89..ccdeaaf337 100644 --- a/src/simix/popping_bodies.cpp +++ b/src/simix/popping_bodies.cpp @@ -35,30 +35,6 @@ inline static R simcall(e_smx_simcall_t call, T const&... t) return simgrid::simix::unmarshal(self->simcall.result); } -inline static void simcall_BODY_vm_suspend(sg_host_t ind_vm) { - /* Go to that function to follow the code flow through the simcall barrier */ - if (0) simcall_HANDLER_vm_suspend(&SIMIX_process_self()->simcall, ind_vm); - return simcall(SIMCALL_VM_SUSPEND, ind_vm); - } - -inline static void simcall_BODY_vm_resume(sg_host_t ind_vm) { - /* Go to that function to follow the code flow through the simcall barrier */ - if (0) SIMIX_vm_resume(ind_vm); - return simcall(SIMCALL_VM_RESUME, ind_vm); - } - -inline static void simcall_BODY_vm_shutdown(sg_host_t ind_vm) { - /* Go to that function to follow the code flow through the simcall barrier */ - if (0) simcall_HANDLER_vm_shutdown(&SIMIX_process_self()->simcall, ind_vm); - return simcall(SIMCALL_VM_SHUTDOWN, ind_vm); - } - -inline static void simcall_BODY_vm_save(sg_host_t ind_vm) { - /* Go to that function to follow the code flow through the simcall barrier */ - if (0) simcall_HANDLER_vm_save(&SIMIX_process_self()->simcall, ind_vm); - return simcall(SIMCALL_VM_SAVE, ind_vm); - } - inline static void simcall_BODY_process_kill(smx_actor_t process) { /* Go to that function to follow the code flow through the simcall barrier */ if (0) simcall_HANDLER_process_kill(&SIMIX_process_self()->simcall, process); @@ -167,18 +143,6 @@ inline static smx_actor_t simcall_BODY_process_restart(smx_actor_t process) { return simcall(SIMCALL_PROCESS_RESTART, process); } -inline static smx_mailbox_t simcall_BODY_mbox_create(const char* name) { - /* Go to that function to follow the code flow through the simcall barrier */ - if (0) SIMIX_mbox_create(name); - return simcall(SIMCALL_MBOX_CREATE, name); - } - -inline static void simcall_BODY_mbox_set_receiver(smx_mailbox_t mbox, smx_actor_t receiver) { - /* Go to that function to follow the code flow through the simcall barrier */ - if (0) SIMIX_mbox_set_receiver(mbox, receiver); - return simcall(SIMCALL_MBOX_SET_RECEIVER, mbox, receiver); - } - inline static smx_activity_t simcall_BODY_comm_iprobe(smx_mailbox_t mbox, int type, int src, int tag, simix_match_func_t match_fun, void* data) { /* Go to that function to follow the code flow through the simcall barrier */ if (0) simcall_HANDLER_comm_iprobe(&SIMIX_process_self()->simcall, mbox, type, src, tag, match_fun, data); @@ -407,12 +371,6 @@ inline static xbt_dict_t simcall_BODY_storage_get_content(smx_storage_t storage) return simcall(SIMCALL_STORAGE_GET_CONTENT, storage); } -inline static xbt_dict_t simcall_BODY_asr_get_properties(const char* name) { - /* Go to that function to follow the code flow through the simcall barrier */ - if (0) simcall_HANDLER_asr_get_properties(&SIMIX_process_self()->simcall, name); - return simcall(SIMCALL_ASR_GET_PROPERTIES, name); - } - inline static int simcall_BODY_mc_random(int min, int max) { /* Go to that function to follow the code flow through the simcall barrier */ if (0) simcall_HANDLER_mc_random(&SIMIX_process_self()->simcall, min, max);