From: Martin Quinson Date: Fri, 30 Jun 2017 23:40:38 +0000 (+0200) Subject: regenerate the simcall code -- sorry for the noisy commit X-Git-Tag: v3_17~496 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/720c8af7ca3d89f4b8c218929329c6ed8a02cc39 regenerate the simcall code -- sorry for the noisy commit --- diff --git a/src/simix/popping_accessors.h b/src/simix/popping_accessors.h index e89a5657b2..62328692b5 100644 --- a/src/simix/popping_accessors.h +++ b/src/simix/popping_accessors.h @@ -15,94 +15,111 @@ */ #include "src/simix/popping_private.h" -static inline smx_actor_t simcall_process_kill__get__process(smx_simcall_t simcall) { +static inline smx_actor_t simcall_process_kill__get__process(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_actor_t simcall_process_kill__getraw__process(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_process_kill__set__process(smx_simcall_t simcall, smx_actor_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_process_kill__set__process(smx_simcall_t simcall, smx_actor_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline int simcall_process_killall__get__reset_pid(smx_simcall_t simcall) { +static inline int simcall_process_killall__get__reset_pid(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline int simcall_process_killall__getraw__reset_pid(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_process_killall__set__reset_pid(smx_simcall_t simcall, int arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_process_killall__set__reset_pid(smx_simcall_t simcall, int arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline smx_actor_t simcall_process_cleanup__get__process(smx_simcall_t simcall) { +static inline smx_actor_t simcall_process_cleanup__get__process(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_actor_t simcall_process_cleanup__getraw__process(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_process_cleanup__set__process(smx_simcall_t simcall, smx_actor_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_process_cleanup__set__process(smx_simcall_t simcall, smx_actor_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline smx_actor_t simcall_process_suspend__get__process(smx_simcall_t simcall) { +static inline smx_actor_t simcall_process_suspend__get__process(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_actor_t simcall_process_suspend__getraw__process(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_process_suspend__set__process(smx_simcall_t simcall, smx_actor_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_process_suspend__set__process(smx_simcall_t simcall, smx_actor_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline smx_actor_t simcall_process_resume__get__process(smx_simcall_t simcall) { +static inline smx_actor_t simcall_process_resume__get__process(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_actor_t simcall_process_resume__getraw__process(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_process_resume__set__process(smx_simcall_t simcall, smx_actor_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_process_resume__set__process(smx_simcall_t simcall, smx_actor_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline smx_actor_t simcall_process_set_host__get__process(smx_simcall_t simcall) { +static inline smx_actor_t simcall_process_set_host__get__process(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_actor_t simcall_process_set_host__getraw__process(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_process_set_host__set__process(smx_simcall_t simcall, smx_actor_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_process_set_host__set__process(smx_simcall_t simcall, smx_actor_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline sg_host_t simcall_process_set_host__get__dest(smx_simcall_t simcall) { +static inline sg_host_t simcall_process_set_host__get__dest(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline sg_host_t simcall_process_set_host__getraw__dest(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_process_set_host__set__dest(smx_simcall_t simcall, sg_host_t arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_process_set_host__set__dest(smx_simcall_t simcall, sg_host_t arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline smx_actor_t simcall_process_is_suspended__get__process(smx_simcall_t simcall) { +static inline smx_actor_t simcall_process_is_suspended__get__process(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_actor_t simcall_process_is_suspended__getraw__process(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_process_is_suspended__set__process(smx_simcall_t simcall, smx_actor_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_process_is_suspended__set__process(smx_simcall_t simcall, smx_actor_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline int simcall_process_is_suspended__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline int simcall_process_is_suspended__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline int simcall_process_is_suspended__getraw__result(smx_simcall_t simcall) { @@ -112,28 +129,33 @@ static inline void simcall_process_is_suspended__set__result(smx_simcall_t simca simgrid::simix::marshal(simcall->result, result); } -static inline smx_actor_t simcall_process_join__get__process(smx_simcall_t simcall) { +static inline smx_actor_t simcall_process_join__get__process(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_actor_t simcall_process_join__getraw__process(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_process_join__set__process(smx_simcall_t simcall, smx_actor_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_process_join__set__process(smx_simcall_t simcall, smx_actor_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline double simcall_process_join__get__timeout(smx_simcall_t simcall) { +static inline double simcall_process_join__get__timeout(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline double simcall_process_join__getraw__timeout(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_process_join__set__timeout(smx_simcall_t simcall, double arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_process_join__set__timeout(smx_simcall_t simcall, double arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline int simcall_process_join__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline int simcall_process_join__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline int simcall_process_join__getraw__result(smx_simcall_t simcall) { @@ -143,18 +165,21 @@ static inline void simcall_process_join__set__result(smx_simcall_t simcall, int simgrid::simix::marshal(simcall->result, result); } -static inline double simcall_process_sleep__get__duration(smx_simcall_t simcall) { +static inline double simcall_process_sleep__get__duration(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline double simcall_process_sleep__getraw__duration(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_process_sleep__set__duration(smx_simcall_t simcall, double arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_process_sleep__set__duration(smx_simcall_t simcall, double arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline int simcall_process_sleep__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline int simcall_process_sleep__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline int simcall_process_sleep__getraw__result(smx_simcall_t simcall) { @@ -164,157 +189,181 @@ static inline void simcall_process_sleep__set__result(smx_simcall_t simcall, int simgrid::simix::marshal(simcall->result, result); } -static inline const char* simcall_execution_start__get__name(smx_simcall_t simcall) { +static inline const char* simcall_execution_start__get__name(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline const char* simcall_execution_start__getraw__name(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_execution_start__set__name(smx_simcall_t simcall, const char* arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_execution_start__set__name(smx_simcall_t simcall, const char* arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline double simcall_execution_start__get__flops_amount(smx_simcall_t simcall) { +static inline double simcall_execution_start__get__flops_amount(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline double simcall_execution_start__getraw__flops_amount(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_execution_start__set__flops_amount(smx_simcall_t simcall, double arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_execution_start__set__flops_amount(smx_simcall_t simcall, double arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline double simcall_execution_start__get__priority(smx_simcall_t simcall) { +static inline double simcall_execution_start__get__priority(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[2]); } static inline double simcall_execution_start__getraw__priority(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[2]); } -static inline void simcall_execution_start__set__priority(smx_simcall_t simcall, double arg) { - simgrid::simix::marshal(simcall->args[2], arg); +static inline void simcall_execution_start__set__priority(smx_simcall_t simcall, double arg) +{ + simgrid::simix::marshal(simcall->args[2], arg); } -static inline double simcall_execution_start__get__bound(smx_simcall_t simcall) { +static inline double simcall_execution_start__get__bound(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[3]); } static inline double simcall_execution_start__getraw__bound(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[3]); } -static inline void simcall_execution_start__set__bound(smx_simcall_t simcall, double arg) { - simgrid::simix::marshal(simcall->args[3], arg); +static inline void simcall_execution_start__set__bound(smx_simcall_t simcall, double arg) +{ + simgrid::simix::marshal(simcall->args[3], arg); } -static inline boost::intrusive_ptr +static inline boost::intrusive_ptr simcall_execution_start__get__result(smx_simcall_t simcall) { - return simgrid::simix::unmarshal>(simcall->result); + return simgrid::simix::unmarshal>(simcall->result); } -static inline simgrid::kernel::activity::ActivityImpl* simcall_execution_start__getraw__result(smx_simcall_t simcall) +static inline simgrid::kernel::activity::ExecImpl* simcall_execution_start__getraw__result(smx_simcall_t simcall) { - return simgrid::simix::unmarshal_raw(simcall->result); + return simgrid::simix::unmarshal_raw(simcall->result); } static inline void simcall_execution_start__set__result(smx_simcall_t simcall, - boost::intrusive_ptr result) + boost::intrusive_ptr result) { - simgrid::simix::marshal>(simcall->result, result); + simgrid::simix::marshal>(simcall->result, result); } -static inline const char* simcall_execution_parallel_start__get__name(smx_simcall_t simcall) { +static inline const char* simcall_execution_parallel_start__get__name(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline const char* simcall_execution_parallel_start__getraw__name(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_execution_parallel_start__set__name(smx_simcall_t simcall, const char* arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_execution_parallel_start__set__name(smx_simcall_t simcall, const char* arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline int simcall_execution_parallel_start__get__host_nb(smx_simcall_t simcall) { +static inline int simcall_execution_parallel_start__get__host_nb(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline int simcall_execution_parallel_start__getraw__host_nb(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_execution_parallel_start__set__host_nb(smx_simcall_t simcall, int arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_execution_parallel_start__set__host_nb(smx_simcall_t simcall, int arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline sg_host_t* simcall_execution_parallel_start__get__host_list(smx_simcall_t simcall) { +static inline sg_host_t* simcall_execution_parallel_start__get__host_list(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[2]); } static inline sg_host_t* simcall_execution_parallel_start__getraw__host_list(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[2]); } -static inline void simcall_execution_parallel_start__set__host_list(smx_simcall_t simcall, sg_host_t* arg) { - simgrid::simix::marshal(simcall->args[2], arg); +static inline void simcall_execution_parallel_start__set__host_list(smx_simcall_t simcall, sg_host_t* arg) +{ + simgrid::simix::marshal(simcall->args[2], arg); } -static inline double* simcall_execution_parallel_start__get__flops_amount(smx_simcall_t simcall) { +static inline double* simcall_execution_parallel_start__get__flops_amount(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[3]); } static inline double* simcall_execution_parallel_start__getraw__flops_amount(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[3]); } -static inline void simcall_execution_parallel_start__set__flops_amount(smx_simcall_t simcall, double* arg) { - simgrid::simix::marshal(simcall->args[3], arg); +static inline void simcall_execution_parallel_start__set__flops_amount(smx_simcall_t simcall, double* arg) +{ + simgrid::simix::marshal(simcall->args[3], arg); } -static inline double* simcall_execution_parallel_start__get__bytes_amount(smx_simcall_t simcall) { +static inline double* simcall_execution_parallel_start__get__bytes_amount(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[4]); } static inline double* simcall_execution_parallel_start__getraw__bytes_amount(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[4]); } -static inline void simcall_execution_parallel_start__set__bytes_amount(smx_simcall_t simcall, double* arg) { - simgrid::simix::marshal(simcall->args[4], arg); +static inline void simcall_execution_parallel_start__set__bytes_amount(smx_simcall_t simcall, double* arg) +{ + simgrid::simix::marshal(simcall->args[4], arg); } -static inline double simcall_execution_parallel_start__get__amount(smx_simcall_t simcall) { +static inline double simcall_execution_parallel_start__get__amount(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[5]); } static inline double simcall_execution_parallel_start__getraw__amount(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[5]); } -static inline void simcall_execution_parallel_start__set__amount(smx_simcall_t simcall, double arg) { - simgrid::simix::marshal(simcall->args[5], arg); +static inline void simcall_execution_parallel_start__set__amount(smx_simcall_t simcall, double arg) +{ + simgrid::simix::marshal(simcall->args[5], arg); } -static inline double simcall_execution_parallel_start__get__rate(smx_simcall_t simcall) { +static inline double simcall_execution_parallel_start__get__rate(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[6]); } static inline double simcall_execution_parallel_start__getraw__rate(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[6]); } -static inline void simcall_execution_parallel_start__set__rate(smx_simcall_t simcall, double arg) { - simgrid::simix::marshal(simcall->args[6], arg); +static inline void simcall_execution_parallel_start__set__rate(smx_simcall_t simcall, double arg) +{ + simgrid::simix::marshal(simcall->args[6], arg); } -static inline double simcall_execution_parallel_start__get__timeout(smx_simcall_t simcall) { +static inline double simcall_execution_parallel_start__get__timeout(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[7]); } static inline double simcall_execution_parallel_start__getraw__timeout(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[7]); } -static inline void simcall_execution_parallel_start__set__timeout(smx_simcall_t simcall, double arg) { - simgrid::simix::marshal(simcall->args[7], arg); +static inline void simcall_execution_parallel_start__set__timeout(smx_simcall_t simcall, double arg) +{ + simgrid::simix::marshal(simcall->args[7], arg); } -static inline boost::intrusive_ptr +static inline boost::intrusive_ptr simcall_execution_parallel_start__get__result(smx_simcall_t simcall) { - return simgrid::simix::unmarshal>(simcall->result); + return simgrid::simix::unmarshal>(simcall->result); } -static inline simgrid::kernel::activity::ActivityImpl* +static inline simgrid::kernel::activity::ExecImpl* simcall_execution_parallel_start__getraw__result(smx_simcall_t simcall) { - return simgrid::simix::unmarshal_raw(simcall->result); + return simgrid::simix::unmarshal_raw(simcall->result); } static inline void simcall_execution_parallel_start__set__result(smx_simcall_t simcall, - boost::intrusive_ptr result) + boost::intrusive_ptr result) { - simgrid::simix::marshal>(simcall->result, result); + simgrid::simix::marshal>(simcall->result, result); } static inline boost::intrusive_ptr @@ -350,15 +399,17 @@ simcall_execution_set_priority__set__execution(smx_simcall_t simcall, { simgrid::simix::marshal>(simcall->args[0], arg); } -static inline double simcall_execution_set_priority__get__priority(smx_simcall_t simcall) { +static inline double simcall_execution_set_priority__get__priority(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline double simcall_execution_set_priority__getraw__priority(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_execution_set_priority__set__priority(smx_simcall_t simcall, double arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_execution_set_priority__set__priority(smx_simcall_t simcall, double arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } static inline boost::intrusive_ptr @@ -377,15 +428,17 @@ simcall_execution_set_bound__set__execution(smx_simcall_t simcall, { simgrid::simix::marshal>(simcall->args[0], arg); } -static inline double simcall_execution_set_bound__get__bound(smx_simcall_t simcall) { +static inline double simcall_execution_set_bound__get__bound(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline double simcall_execution_set_bound__getraw__bound(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_execution_set_bound__set__bound(smx_simcall_t simcall, double arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_execution_set_bound__set__bound(smx_simcall_t simcall, double arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } static inline boost::intrusive_ptr @@ -403,8 +456,9 @@ simcall_execution_wait__set__execution(smx_simcall_t simcall, { simgrid::simix::marshal>(simcall->args[0], arg); } -static inline int simcall_execution_wait__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline int simcall_execution_wait__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline int simcall_execution_wait__getraw__result(smx_simcall_t simcall) { @@ -414,70 +468,83 @@ static inline void simcall_execution_wait__set__result(smx_simcall_t simcall, in simgrid::simix::marshal(simcall->result, result); } -static inline smx_actor_t simcall_process_on_exit__get__process(smx_simcall_t simcall) { +static inline smx_actor_t simcall_process_on_exit__get__process(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_actor_t simcall_process_on_exit__getraw__process(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_process_on_exit__set__process(smx_simcall_t simcall, smx_actor_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_process_on_exit__set__process(smx_simcall_t simcall, smx_actor_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline int_f_pvoid_pvoid_t simcall_process_on_exit__get__fun(smx_simcall_t simcall) { +static inline int_f_pvoid_pvoid_t simcall_process_on_exit__get__fun(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline int_f_pvoid_pvoid_t simcall_process_on_exit__getraw__fun(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_process_on_exit__set__fun(smx_simcall_t simcall, int_f_pvoid_pvoid_t arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_process_on_exit__set__fun(smx_simcall_t simcall, int_f_pvoid_pvoid_t arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline void* simcall_process_on_exit__get__data(smx_simcall_t simcall) { +static inline void* simcall_process_on_exit__get__data(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[2]); } static inline void* simcall_process_on_exit__getraw__data(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[2]); } -static inline void simcall_process_on_exit__set__data(smx_simcall_t simcall, void* arg) { - simgrid::simix::marshal(simcall->args[2], arg); +static inline void simcall_process_on_exit__set__data(smx_simcall_t simcall, void* arg) +{ + simgrid::simix::marshal(simcall->args[2], arg); } -static inline smx_actor_t simcall_process_auto_restart_set__get__process(smx_simcall_t simcall) { +static inline smx_actor_t simcall_process_auto_restart_set__get__process(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_actor_t simcall_process_auto_restart_set__getraw__process(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_process_auto_restart_set__set__process(smx_simcall_t simcall, smx_actor_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_process_auto_restart_set__set__process(smx_simcall_t simcall, smx_actor_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline int simcall_process_auto_restart_set__get__auto_restart(smx_simcall_t simcall) { +static inline int simcall_process_auto_restart_set__get__auto_restart(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline int simcall_process_auto_restart_set__getraw__auto_restart(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_process_auto_restart_set__set__auto_restart(smx_simcall_t simcall, int arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_process_auto_restart_set__set__auto_restart(smx_simcall_t simcall, int arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline smx_actor_t simcall_process_restart__get__process(smx_simcall_t simcall) { +static inline smx_actor_t simcall_process_restart__get__process(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_actor_t simcall_process_restart__getraw__process(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_process_restart__set__process(smx_simcall_t simcall, smx_actor_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_process_restart__set__process(smx_simcall_t simcall, smx_actor_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline smx_actor_t simcall_process_restart__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline smx_actor_t simcall_process_restart__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline smx_actor_t simcall_process_restart__getraw__result(smx_simcall_t simcall) { @@ -487,65 +554,77 @@ static inline void simcall_process_restart__set__result(smx_simcall_t simcall, s simgrid::simix::marshal(simcall->result, result); } -static inline smx_mailbox_t simcall_comm_iprobe__get__mbox(smx_simcall_t simcall) { +static inline smx_mailbox_t simcall_comm_iprobe__get__mbox(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_mailbox_t simcall_comm_iprobe__getraw__mbox(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_comm_iprobe__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_comm_iprobe__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline int simcall_comm_iprobe__get__type(smx_simcall_t simcall) { +static inline int simcall_comm_iprobe__get__type(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline int simcall_comm_iprobe__getraw__type(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_comm_iprobe__set__type(smx_simcall_t simcall, int arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_comm_iprobe__set__type(smx_simcall_t simcall, int arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline int simcall_comm_iprobe__get__src(smx_simcall_t simcall) { +static inline int simcall_comm_iprobe__get__src(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[2]); } static inline int simcall_comm_iprobe__getraw__src(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[2]); } -static inline void simcall_comm_iprobe__set__src(smx_simcall_t simcall, int arg) { - simgrid::simix::marshal(simcall->args[2], arg); +static inline void simcall_comm_iprobe__set__src(smx_simcall_t simcall, int arg) +{ + simgrid::simix::marshal(simcall->args[2], arg); } -static inline int simcall_comm_iprobe__get__tag(smx_simcall_t simcall) { +static inline int simcall_comm_iprobe__get__tag(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[3]); } static inline int simcall_comm_iprobe__getraw__tag(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[3]); } -static inline void simcall_comm_iprobe__set__tag(smx_simcall_t simcall, int arg) { - simgrid::simix::marshal(simcall->args[3], arg); +static inline void simcall_comm_iprobe__set__tag(smx_simcall_t simcall, int arg) +{ + simgrid::simix::marshal(simcall->args[3], arg); } -static inline simix_match_func_t simcall_comm_iprobe__get__match_fun(smx_simcall_t simcall) { +static inline simix_match_func_t simcall_comm_iprobe__get__match_fun(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[4]); } static inline simix_match_func_t simcall_comm_iprobe__getraw__match_fun(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[4]); } -static inline void simcall_comm_iprobe__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) { - simgrid::simix::marshal(simcall->args[4], arg); +static inline void simcall_comm_iprobe__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) +{ + simgrid::simix::marshal(simcall->args[4], arg); } -static inline void* simcall_comm_iprobe__get__data(smx_simcall_t simcall) { +static inline void* simcall_comm_iprobe__get__data(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[5]); } static inline void* simcall_comm_iprobe__getraw__data(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[5]); } -static inline void simcall_comm_iprobe__set__data(smx_simcall_t simcall, void* arg) { - simgrid::simix::marshal(simcall->args[5], arg); +static inline void simcall_comm_iprobe__set__data(smx_simcall_t simcall, void* arg) +{ + simgrid::simix::marshal(simcall->args[5], arg); } static inline boost::intrusive_ptr simcall_comm_iprobe__get__result(smx_simcall_t simcall) @@ -563,216 +642,258 @@ simcall_comm_iprobe__set__result(smx_simcall_t simcall, simgrid::simix::marshal>(simcall->result, result); } -static inline smx_actor_t simcall_comm_send__get__sender(smx_simcall_t simcall) { +static inline smx_actor_t simcall_comm_send__get__sender(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_actor_t simcall_comm_send__getraw__sender(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_comm_send__set__sender(smx_simcall_t simcall, smx_actor_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_comm_send__set__sender(smx_simcall_t simcall, smx_actor_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline smx_mailbox_t simcall_comm_send__get__mbox(smx_simcall_t simcall) { +static inline smx_mailbox_t simcall_comm_send__get__mbox(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline smx_mailbox_t simcall_comm_send__getraw__mbox(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_comm_send__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_comm_send__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline double simcall_comm_send__get__task_size(smx_simcall_t simcall) { +static inline double simcall_comm_send__get__task_size(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[2]); } static inline double simcall_comm_send__getraw__task_size(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[2]); } -static inline void simcall_comm_send__set__task_size(smx_simcall_t simcall, double arg) { - simgrid::simix::marshal(simcall->args[2], arg); +static inline void simcall_comm_send__set__task_size(smx_simcall_t simcall, double arg) +{ + simgrid::simix::marshal(simcall->args[2], arg); } -static inline double simcall_comm_send__get__rate(smx_simcall_t simcall) { +static inline double simcall_comm_send__get__rate(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[3]); } static inline double simcall_comm_send__getraw__rate(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[3]); } -static inline void simcall_comm_send__set__rate(smx_simcall_t simcall, double arg) { - simgrid::simix::marshal(simcall->args[3], arg); +static inline void simcall_comm_send__set__rate(smx_simcall_t simcall, double arg) +{ + simgrid::simix::marshal(simcall->args[3], arg); } -static inline void* simcall_comm_send__get__src_buff(smx_simcall_t simcall) { +static inline void* simcall_comm_send__get__src_buff(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[4]); } static inline void* simcall_comm_send__getraw__src_buff(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[4]); } -static inline void simcall_comm_send__set__src_buff(smx_simcall_t simcall, void* arg) { - simgrid::simix::marshal(simcall->args[4], arg); +static inline void simcall_comm_send__set__src_buff(smx_simcall_t simcall, void* arg) +{ + simgrid::simix::marshal(simcall->args[4], arg); } -static inline size_t simcall_comm_send__get__src_buff_size(smx_simcall_t simcall) { +static inline size_t simcall_comm_send__get__src_buff_size(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[5]); } static inline size_t simcall_comm_send__getraw__src_buff_size(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[5]); } -static inline void simcall_comm_send__set__src_buff_size(smx_simcall_t simcall, size_t arg) { - simgrid::simix::marshal(simcall->args[5], arg); +static inline void simcall_comm_send__set__src_buff_size(smx_simcall_t simcall, size_t arg) +{ + simgrid::simix::marshal(simcall->args[5], arg); } -static inline simix_match_func_t simcall_comm_send__get__match_fun(smx_simcall_t simcall) { +static inline simix_match_func_t simcall_comm_send__get__match_fun(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[6]); } static inline simix_match_func_t simcall_comm_send__getraw__match_fun(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[6]); } -static inline void simcall_comm_send__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) { - simgrid::simix::marshal(simcall->args[6], arg); +static inline void simcall_comm_send__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) +{ + simgrid::simix::marshal(simcall->args[6], arg); } -static inline simix_copy_data_func_t simcall_comm_send__get__copy_data_fun(smx_simcall_t simcall) { +static inline simix_copy_data_func_t simcall_comm_send__get__copy_data_fun(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[7]); } static inline simix_copy_data_func_t simcall_comm_send__getraw__copy_data_fun(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[7]); } -static inline void simcall_comm_send__set__copy_data_fun(smx_simcall_t simcall, simix_copy_data_func_t arg) { - simgrid::simix::marshal(simcall->args[7], arg); +static inline void simcall_comm_send__set__copy_data_fun(smx_simcall_t simcall, simix_copy_data_func_t arg) +{ + simgrid::simix::marshal(simcall->args[7], arg); } -static inline void* simcall_comm_send__get__data(smx_simcall_t simcall) { +static inline void* simcall_comm_send__get__data(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[8]); } static inline void* simcall_comm_send__getraw__data(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[8]); } -static inline void simcall_comm_send__set__data(smx_simcall_t simcall, void* arg) { - simgrid::simix::marshal(simcall->args[8], arg); +static inline void simcall_comm_send__set__data(smx_simcall_t simcall, void* arg) +{ + simgrid::simix::marshal(simcall->args[8], arg); } -static inline double simcall_comm_send__get__timeout(smx_simcall_t simcall) { +static inline double simcall_comm_send__get__timeout(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[9]); } static inline double simcall_comm_send__getraw__timeout(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[9]); } -static inline void simcall_comm_send__set__timeout(smx_simcall_t simcall, double arg) { - simgrid::simix::marshal(simcall->args[9], arg); +static inline void simcall_comm_send__set__timeout(smx_simcall_t simcall, double arg) +{ + simgrid::simix::marshal(simcall->args[9], arg); } -static inline smx_actor_t simcall_comm_isend__get__sender(smx_simcall_t simcall) { +static inline smx_actor_t simcall_comm_isend__get__sender(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_actor_t simcall_comm_isend__getraw__sender(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_comm_isend__set__sender(smx_simcall_t simcall, smx_actor_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_comm_isend__set__sender(smx_simcall_t simcall, smx_actor_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline smx_mailbox_t simcall_comm_isend__get__mbox(smx_simcall_t simcall) { +static inline smx_mailbox_t simcall_comm_isend__get__mbox(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline smx_mailbox_t simcall_comm_isend__getraw__mbox(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_comm_isend__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_comm_isend__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline double simcall_comm_isend__get__task_size(smx_simcall_t simcall) { +static inline double simcall_comm_isend__get__task_size(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[2]); } static inline double simcall_comm_isend__getraw__task_size(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[2]); } -static inline void simcall_comm_isend__set__task_size(smx_simcall_t simcall, double arg) { - simgrid::simix::marshal(simcall->args[2], arg); +static inline void simcall_comm_isend__set__task_size(smx_simcall_t simcall, double arg) +{ + simgrid::simix::marshal(simcall->args[2], arg); } -static inline double simcall_comm_isend__get__rate(smx_simcall_t simcall) { +static inline double simcall_comm_isend__get__rate(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[3]); } static inline double simcall_comm_isend__getraw__rate(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[3]); } -static inline void simcall_comm_isend__set__rate(smx_simcall_t simcall, double arg) { - simgrid::simix::marshal(simcall->args[3], arg); +static inline void simcall_comm_isend__set__rate(smx_simcall_t simcall, double arg) +{ + simgrid::simix::marshal(simcall->args[3], arg); } -static inline void* simcall_comm_isend__get__src_buff(smx_simcall_t simcall) { +static inline void* simcall_comm_isend__get__src_buff(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[4]); } static inline void* simcall_comm_isend__getraw__src_buff(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[4]); } -static inline void simcall_comm_isend__set__src_buff(smx_simcall_t simcall, void* arg) { - simgrid::simix::marshal(simcall->args[4], arg); +static inline void simcall_comm_isend__set__src_buff(smx_simcall_t simcall, void* arg) +{ + simgrid::simix::marshal(simcall->args[4], arg); } -static inline size_t simcall_comm_isend__get__src_buff_size(smx_simcall_t simcall) { +static inline size_t simcall_comm_isend__get__src_buff_size(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[5]); } static inline size_t simcall_comm_isend__getraw__src_buff_size(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[5]); } -static inline void simcall_comm_isend__set__src_buff_size(smx_simcall_t simcall, size_t arg) { - simgrid::simix::marshal(simcall->args[5], arg); +static inline void simcall_comm_isend__set__src_buff_size(smx_simcall_t simcall, size_t arg) +{ + simgrid::simix::marshal(simcall->args[5], arg); } -static inline simix_match_func_t simcall_comm_isend__get__match_fun(smx_simcall_t simcall) { +static inline simix_match_func_t simcall_comm_isend__get__match_fun(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[6]); } static inline simix_match_func_t simcall_comm_isend__getraw__match_fun(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[6]); } -static inline void simcall_comm_isend__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) { - simgrid::simix::marshal(simcall->args[6], arg); +static inline void simcall_comm_isend__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) +{ + simgrid::simix::marshal(simcall->args[6], arg); } -static inline simix_clean_func_t simcall_comm_isend__get__clean_fun(smx_simcall_t simcall) { +static inline simix_clean_func_t simcall_comm_isend__get__clean_fun(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[7]); } static inline simix_clean_func_t simcall_comm_isend__getraw__clean_fun(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[7]); } -static inline void simcall_comm_isend__set__clean_fun(smx_simcall_t simcall, simix_clean_func_t arg) { - simgrid::simix::marshal(simcall->args[7], arg); +static inline void simcall_comm_isend__set__clean_fun(smx_simcall_t simcall, simix_clean_func_t arg) +{ + simgrid::simix::marshal(simcall->args[7], arg); } -static inline simix_copy_data_func_t simcall_comm_isend__get__copy_data_fun(smx_simcall_t simcall) { +static inline simix_copy_data_func_t simcall_comm_isend__get__copy_data_fun(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[8]); } static inline simix_copy_data_func_t simcall_comm_isend__getraw__copy_data_fun(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[8]); } -static inline void simcall_comm_isend__set__copy_data_fun(smx_simcall_t simcall, simix_copy_data_func_t arg) { - simgrid::simix::marshal(simcall->args[8], arg); +static inline void simcall_comm_isend__set__copy_data_fun(smx_simcall_t simcall, simix_copy_data_func_t arg) +{ + simgrid::simix::marshal(simcall->args[8], arg); } -static inline void* simcall_comm_isend__get__data(smx_simcall_t simcall) { +static inline void* simcall_comm_isend__get__data(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[9]); } static inline void* simcall_comm_isend__getraw__data(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[9]); } -static inline void simcall_comm_isend__set__data(smx_simcall_t simcall, void* arg) { - simgrid::simix::marshal(simcall->args[9], arg); +static inline void simcall_comm_isend__set__data(smx_simcall_t simcall, void* arg) +{ + simgrid::simix::marshal(simcall->args[9], arg); } -static inline int simcall_comm_isend__get__detached(smx_simcall_t simcall) { +static inline int simcall_comm_isend__get__detached(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[10]); } static inline int simcall_comm_isend__getraw__detached(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[10]); } -static inline void simcall_comm_isend__set__detached(smx_simcall_t simcall, int arg) { - simgrid::simix::marshal(simcall->args[10], arg); +static inline void simcall_comm_isend__set__detached(smx_simcall_t simcall, int arg) +{ + simgrid::simix::marshal(simcall->args[10], arg); } static inline boost::intrusive_ptr simcall_comm_isend__get__result(smx_simcall_t simcall) @@ -789,176 +910,210 @@ static inline void simcall_comm_isend__set__result(smx_simcall_t simcall, simgrid::simix::marshal>(simcall->result, result); } -static inline smx_actor_t simcall_comm_recv__get__receiver(smx_simcall_t simcall) { +static inline smx_actor_t simcall_comm_recv__get__receiver(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_actor_t simcall_comm_recv__getraw__receiver(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_comm_recv__set__receiver(smx_simcall_t simcall, smx_actor_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_comm_recv__set__receiver(smx_simcall_t simcall, smx_actor_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline smx_mailbox_t simcall_comm_recv__get__mbox(smx_simcall_t simcall) { +static inline smx_mailbox_t simcall_comm_recv__get__mbox(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline smx_mailbox_t simcall_comm_recv__getraw__mbox(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_comm_recv__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_comm_recv__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline void* simcall_comm_recv__get__dst_buff(smx_simcall_t simcall) { +static inline void* simcall_comm_recv__get__dst_buff(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[2]); } static inline void* simcall_comm_recv__getraw__dst_buff(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[2]); } -static inline void simcall_comm_recv__set__dst_buff(smx_simcall_t simcall, void* arg) { - simgrid::simix::marshal(simcall->args[2], arg); +static inline void simcall_comm_recv__set__dst_buff(smx_simcall_t simcall, void* arg) +{ + simgrid::simix::marshal(simcall->args[2], arg); } -static inline size_t* simcall_comm_recv__get__dst_buff_size(smx_simcall_t simcall) { +static inline size_t* simcall_comm_recv__get__dst_buff_size(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[3]); } static inline size_t* simcall_comm_recv__getraw__dst_buff_size(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[3]); } -static inline void simcall_comm_recv__set__dst_buff_size(smx_simcall_t simcall, size_t* arg) { - simgrid::simix::marshal(simcall->args[3], arg); +static inline void simcall_comm_recv__set__dst_buff_size(smx_simcall_t simcall, size_t* arg) +{ + simgrid::simix::marshal(simcall->args[3], arg); } -static inline simix_match_func_t simcall_comm_recv__get__match_fun(smx_simcall_t simcall) { +static inline simix_match_func_t simcall_comm_recv__get__match_fun(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[4]); } static inline simix_match_func_t simcall_comm_recv__getraw__match_fun(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[4]); } -static inline void simcall_comm_recv__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) { - simgrid::simix::marshal(simcall->args[4], arg); +static inline void simcall_comm_recv__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) +{ + simgrid::simix::marshal(simcall->args[4], arg); } -static inline simix_copy_data_func_t simcall_comm_recv__get__copy_data_fun(smx_simcall_t simcall) { +static inline simix_copy_data_func_t simcall_comm_recv__get__copy_data_fun(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[5]); } static inline simix_copy_data_func_t simcall_comm_recv__getraw__copy_data_fun(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[5]); } -static inline void simcall_comm_recv__set__copy_data_fun(smx_simcall_t simcall, simix_copy_data_func_t arg) { - simgrid::simix::marshal(simcall->args[5], arg); +static inline void simcall_comm_recv__set__copy_data_fun(smx_simcall_t simcall, simix_copy_data_func_t arg) +{ + simgrid::simix::marshal(simcall->args[5], arg); } -static inline void* simcall_comm_recv__get__data(smx_simcall_t simcall) { +static inline void* simcall_comm_recv__get__data(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[6]); } static inline void* simcall_comm_recv__getraw__data(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[6]); } -static inline void simcall_comm_recv__set__data(smx_simcall_t simcall, void* arg) { - simgrid::simix::marshal(simcall->args[6], arg); +static inline void simcall_comm_recv__set__data(smx_simcall_t simcall, void* arg) +{ + simgrid::simix::marshal(simcall->args[6], arg); } -static inline double simcall_comm_recv__get__timeout(smx_simcall_t simcall) { +static inline double simcall_comm_recv__get__timeout(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[7]); } static inline double simcall_comm_recv__getraw__timeout(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[7]); } -static inline void simcall_comm_recv__set__timeout(smx_simcall_t simcall, double arg) { - simgrid::simix::marshal(simcall->args[7], arg); +static inline void simcall_comm_recv__set__timeout(smx_simcall_t simcall, double arg) +{ + simgrid::simix::marshal(simcall->args[7], arg); } -static inline double simcall_comm_recv__get__rate(smx_simcall_t simcall) { +static inline double simcall_comm_recv__get__rate(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[8]); } static inline double simcall_comm_recv__getraw__rate(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[8]); } -static inline void simcall_comm_recv__set__rate(smx_simcall_t simcall, double arg) { - simgrid::simix::marshal(simcall->args[8], arg); +static inline void simcall_comm_recv__set__rate(smx_simcall_t simcall, double arg) +{ + simgrid::simix::marshal(simcall->args[8], arg); } -static inline smx_actor_t simcall_comm_irecv__get__receiver(smx_simcall_t simcall) { +static inline smx_actor_t simcall_comm_irecv__get__receiver(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_actor_t simcall_comm_irecv__getraw__receiver(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_comm_irecv__set__receiver(smx_simcall_t simcall, smx_actor_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_comm_irecv__set__receiver(smx_simcall_t simcall, smx_actor_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline smx_mailbox_t simcall_comm_irecv__get__mbox(smx_simcall_t simcall) { +static inline smx_mailbox_t simcall_comm_irecv__get__mbox(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline smx_mailbox_t simcall_comm_irecv__getraw__mbox(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_comm_irecv__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_comm_irecv__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline void* simcall_comm_irecv__get__dst_buff(smx_simcall_t simcall) { +static inline void* simcall_comm_irecv__get__dst_buff(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[2]); } static inline void* simcall_comm_irecv__getraw__dst_buff(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[2]); } -static inline void simcall_comm_irecv__set__dst_buff(smx_simcall_t simcall, void* arg) { - simgrid::simix::marshal(simcall->args[2], arg); +static inline void simcall_comm_irecv__set__dst_buff(smx_simcall_t simcall, void* arg) +{ + simgrid::simix::marshal(simcall->args[2], arg); } -static inline size_t* simcall_comm_irecv__get__dst_buff_size(smx_simcall_t simcall) { +static inline size_t* simcall_comm_irecv__get__dst_buff_size(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[3]); } static inline size_t* simcall_comm_irecv__getraw__dst_buff_size(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[3]); } -static inline void simcall_comm_irecv__set__dst_buff_size(smx_simcall_t simcall, size_t* arg) { - simgrid::simix::marshal(simcall->args[3], arg); +static inline void simcall_comm_irecv__set__dst_buff_size(smx_simcall_t simcall, size_t* arg) +{ + simgrid::simix::marshal(simcall->args[3], arg); } -static inline simix_match_func_t simcall_comm_irecv__get__match_fun(smx_simcall_t simcall) { +static inline simix_match_func_t simcall_comm_irecv__get__match_fun(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[4]); } static inline simix_match_func_t simcall_comm_irecv__getraw__match_fun(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[4]); } -static inline void simcall_comm_irecv__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) { - simgrid::simix::marshal(simcall->args[4], arg); +static inline void simcall_comm_irecv__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) +{ + simgrid::simix::marshal(simcall->args[4], arg); } -static inline simix_copy_data_func_t simcall_comm_irecv__get__copy_data_fun(smx_simcall_t simcall) { +static inline simix_copy_data_func_t simcall_comm_irecv__get__copy_data_fun(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[5]); } static inline simix_copy_data_func_t simcall_comm_irecv__getraw__copy_data_fun(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[5]); } -static inline void simcall_comm_irecv__set__copy_data_fun(smx_simcall_t simcall, simix_copy_data_func_t arg) { - simgrid::simix::marshal(simcall->args[5], arg); +static inline void simcall_comm_irecv__set__copy_data_fun(smx_simcall_t simcall, simix_copy_data_func_t arg) +{ + simgrid::simix::marshal(simcall->args[5], arg); } -static inline void* simcall_comm_irecv__get__data(smx_simcall_t simcall) { +static inline void* simcall_comm_irecv__get__data(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[6]); } static inline void* simcall_comm_irecv__getraw__data(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[6]); } -static inline void simcall_comm_irecv__set__data(smx_simcall_t simcall, void* arg) { - simgrid::simix::marshal(simcall->args[6], arg); +static inline void simcall_comm_irecv__set__data(smx_simcall_t simcall, void* arg) +{ + simgrid::simix::marshal(simcall->args[6], arg); } -static inline double simcall_comm_irecv__get__rate(smx_simcall_t simcall) { +static inline double simcall_comm_irecv__get__rate(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[7]); } static inline double simcall_comm_irecv__getraw__rate(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[7]); } -static inline void simcall_comm_irecv__set__rate(smx_simcall_t simcall, double arg) { - simgrid::simix::marshal(simcall->args[7], arg); +static inline void simcall_comm_irecv__set__rate(smx_simcall_t simcall, double arg) +{ + simgrid::simix::marshal(simcall->args[7], arg); } static inline boost::intrusive_ptr simcall_comm_irecv__get__result(smx_simcall_t simcall) @@ -975,28 +1130,33 @@ static inline void simcall_comm_irecv__set__result(smx_simcall_t simcall, simgrid::simix::marshal>(simcall->result, result); } -static inline xbt_dynar_t simcall_comm_waitany__get__comms(smx_simcall_t simcall) { +static inline xbt_dynar_t simcall_comm_waitany__get__comms(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline xbt_dynar_t simcall_comm_waitany__getraw__comms(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_comm_waitany__set__comms(smx_simcall_t simcall, xbt_dynar_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_comm_waitany__set__comms(smx_simcall_t simcall, xbt_dynar_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline double simcall_comm_waitany__get__timeout(smx_simcall_t simcall) { +static inline double simcall_comm_waitany__get__timeout(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline double simcall_comm_waitany__getraw__timeout(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_comm_waitany__set__timeout(smx_simcall_t simcall, double arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_comm_waitany__set__timeout(smx_simcall_t simcall, double arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline int simcall_comm_waitany__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline int simcall_comm_waitany__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline int simcall_comm_waitany__getraw__result(smx_simcall_t simcall) { @@ -1020,15 +1180,17 @@ static inline void simcall_comm_wait__set__comm(smx_simcall_t simcall, { simgrid::simix::marshal>(simcall->args[0], arg); } -static inline double simcall_comm_wait__get__timeout(smx_simcall_t simcall) { +static inline double simcall_comm_wait__get__timeout(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline double simcall_comm_wait__getraw__timeout(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_comm_wait__set__timeout(smx_simcall_t simcall, double arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_comm_wait__set__timeout(smx_simcall_t simcall, double arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } static inline boost::intrusive_ptr @@ -1045,8 +1207,9 @@ static inline void simcall_comm_test__set__comm(smx_simcall_t simcall, { simgrid::simix::marshal>(simcall->args[0], arg); } -static inline int simcall_comm_test__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline int simcall_comm_test__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline int simcall_comm_test__getraw__result(smx_simcall_t simcall) { @@ -1070,18 +1233,21 @@ static inline void simcall_comm_testany__set__comms(smx_simcall_t simcall, { simgrid::simix::marshal*>(simcall->args[0], arg); } -static inline size_t simcall_comm_testany__get__count(smx_simcall_t simcall) { +static inline size_t simcall_comm_testany__get__count(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline size_t simcall_comm_testany__getraw__count(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_comm_testany__set__count(smx_simcall_t simcall, size_t arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_comm_testany__set__count(smx_simcall_t simcall, size_t arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline int simcall_comm_testany__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline int simcall_comm_testany__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline int simcall_comm_testany__getraw__result(smx_simcall_t simcall) { @@ -1091,8 +1257,9 @@ static inline void simcall_comm_testany__set__result(smx_simcall_t simcall, int simgrid::simix::marshal(simcall->result, result); } -static inline smx_mutex_t simcall_mutex_init__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline smx_mutex_t simcall_mutex_init__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline smx_mutex_t simcall_mutex_init__getraw__result(smx_simcall_t simcall) { @@ -1102,29 +1269,34 @@ static inline void simcall_mutex_init__set__result(smx_simcall_t simcall, smx_mu simgrid::simix::marshal(simcall->result, result); } -static inline smx_mutex_t simcall_mutex_lock__get__mutex(smx_simcall_t simcall) { +static inline smx_mutex_t simcall_mutex_lock__get__mutex(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_mutex_t simcall_mutex_lock__getraw__mutex(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_mutex_lock__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_mutex_lock__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline smx_mutex_t simcall_mutex_trylock__get__mutex(smx_simcall_t simcall) { +static inline smx_mutex_t simcall_mutex_trylock__get__mutex(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_mutex_t simcall_mutex_trylock__getraw__mutex(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_mutex_trylock__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_mutex_trylock__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline int simcall_mutex_trylock__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline int simcall_mutex_trylock__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline int simcall_mutex_trylock__getraw__result(smx_simcall_t simcall) { @@ -1134,19 +1306,22 @@ static inline void simcall_mutex_trylock__set__result(smx_simcall_t simcall, int simgrid::simix::marshal(simcall->result, result); } -static inline smx_mutex_t simcall_mutex_unlock__get__mutex(smx_simcall_t simcall) { +static inline smx_mutex_t simcall_mutex_unlock__get__mutex(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_mutex_t simcall_mutex_unlock__getraw__mutex(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_mutex_unlock__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_mutex_unlock__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline smx_cond_t simcall_cond_init__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline smx_cond_t simcall_cond_init__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline smx_cond_t simcall_cond_init__getraw__result(smx_simcall_t simcall) { @@ -1156,92 +1331,109 @@ static inline void simcall_cond_init__set__result(smx_simcall_t simcall, smx_con simgrid::simix::marshal(simcall->result, result); } -static inline smx_cond_t simcall_cond_signal__get__cond(smx_simcall_t simcall) { +static inline smx_cond_t simcall_cond_signal__get__cond(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_cond_t simcall_cond_signal__getraw__cond(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_cond_signal__set__cond(smx_simcall_t simcall, smx_cond_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_cond_signal__set__cond(smx_simcall_t simcall, smx_cond_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline smx_cond_t simcall_cond_wait__get__cond(smx_simcall_t simcall) { +static inline smx_cond_t simcall_cond_wait__get__cond(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_cond_t simcall_cond_wait__getraw__cond(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_cond_wait__set__cond(smx_simcall_t simcall, smx_cond_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_cond_wait__set__cond(smx_simcall_t simcall, smx_cond_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline smx_mutex_t simcall_cond_wait__get__mutex(smx_simcall_t simcall) { +static inline smx_mutex_t simcall_cond_wait__get__mutex(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline smx_mutex_t simcall_cond_wait__getraw__mutex(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_cond_wait__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_cond_wait__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline smx_cond_t simcall_cond_wait_timeout__get__cond(smx_simcall_t simcall) { +static inline smx_cond_t simcall_cond_wait_timeout__get__cond(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_cond_t simcall_cond_wait_timeout__getraw__cond(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_cond_wait_timeout__set__cond(smx_simcall_t simcall, smx_cond_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_cond_wait_timeout__set__cond(smx_simcall_t simcall, smx_cond_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline smx_mutex_t simcall_cond_wait_timeout__get__mutex(smx_simcall_t simcall) { +static inline smx_mutex_t simcall_cond_wait_timeout__get__mutex(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline smx_mutex_t simcall_cond_wait_timeout__getraw__mutex(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_cond_wait_timeout__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_cond_wait_timeout__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline double simcall_cond_wait_timeout__get__timeout(smx_simcall_t simcall) { +static inline double simcall_cond_wait_timeout__get__timeout(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[2]); } static inline double simcall_cond_wait_timeout__getraw__timeout(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[2]); } -static inline void simcall_cond_wait_timeout__set__timeout(smx_simcall_t simcall, double arg) { - simgrid::simix::marshal(simcall->args[2], arg); +static inline void simcall_cond_wait_timeout__set__timeout(smx_simcall_t simcall, double arg) +{ + simgrid::simix::marshal(simcall->args[2], arg); } -static inline smx_cond_t simcall_cond_broadcast__get__cond(smx_simcall_t simcall) { +static inline smx_cond_t simcall_cond_broadcast__get__cond(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_cond_t simcall_cond_broadcast__getraw__cond(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_cond_broadcast__set__cond(smx_simcall_t simcall, smx_cond_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_cond_broadcast__set__cond(smx_simcall_t simcall, smx_cond_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline unsigned int simcall_sem_init__get__capacity(smx_simcall_t simcall) { +static inline unsigned int simcall_sem_init__get__capacity(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline unsigned int simcall_sem_init__getraw__capacity(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_sem_init__set__capacity(smx_simcall_t simcall, unsigned int arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_sem_init__set__capacity(smx_simcall_t simcall, unsigned int arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline smx_sem_t simcall_sem_init__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline smx_sem_t simcall_sem_init__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline smx_sem_t simcall_sem_init__getraw__result(smx_simcall_t simcall) { @@ -1251,29 +1443,34 @@ static inline void simcall_sem_init__set__result(smx_simcall_t simcall, smx_sem_ simgrid::simix::marshal(simcall->result, result); } -static inline smx_sem_t simcall_sem_release__get__sem(smx_simcall_t simcall) { +static inline smx_sem_t simcall_sem_release__get__sem(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_sem_t simcall_sem_release__getraw__sem(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_sem_release__set__sem(smx_simcall_t simcall, smx_sem_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_sem_release__set__sem(smx_simcall_t simcall, smx_sem_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline smx_sem_t simcall_sem_would_block__get__sem(smx_simcall_t simcall) { +static inline smx_sem_t simcall_sem_would_block__get__sem(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_sem_t simcall_sem_would_block__getraw__sem(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_sem_would_block__set__sem(smx_simcall_t simcall, smx_sem_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_sem_would_block__set__sem(smx_simcall_t simcall, smx_sem_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline int simcall_sem_would_block__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline int simcall_sem_would_block__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline int simcall_sem_would_block__getraw__result(smx_simcall_t simcall) { @@ -1283,50 +1480,59 @@ static inline void simcall_sem_would_block__set__result(smx_simcall_t simcall, i simgrid::simix::marshal(simcall->result, result); } -static inline smx_sem_t simcall_sem_acquire__get__sem(smx_simcall_t simcall) { +static inline smx_sem_t simcall_sem_acquire__get__sem(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_sem_t simcall_sem_acquire__getraw__sem(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_sem_acquire__set__sem(smx_simcall_t simcall, smx_sem_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_sem_acquire__set__sem(smx_simcall_t simcall, smx_sem_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline smx_sem_t simcall_sem_acquire_timeout__get__sem(smx_simcall_t simcall) { +static inline smx_sem_t simcall_sem_acquire_timeout__get__sem(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_sem_t simcall_sem_acquire_timeout__getraw__sem(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_sem_acquire_timeout__set__sem(smx_simcall_t simcall, smx_sem_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_sem_acquire_timeout__set__sem(smx_simcall_t simcall, smx_sem_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline double simcall_sem_acquire_timeout__get__timeout(smx_simcall_t simcall) { +static inline double simcall_sem_acquire_timeout__get__timeout(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline double simcall_sem_acquire_timeout__getraw__timeout(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_sem_acquire_timeout__set__timeout(smx_simcall_t simcall, double arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_sem_acquire_timeout__set__timeout(smx_simcall_t simcall, double arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline smx_sem_t simcall_sem_get_capacity__get__sem(smx_simcall_t simcall) { +static inline smx_sem_t simcall_sem_get_capacity__get__sem(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_sem_t simcall_sem_get_capacity__getraw__sem(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_sem_get_capacity__set__sem(smx_simcall_t simcall, smx_sem_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_sem_get_capacity__set__sem(smx_simcall_t simcall, smx_sem_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline int simcall_sem_get_capacity__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline int simcall_sem_get_capacity__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline int simcall_sem_get_capacity__getraw__result(smx_simcall_t simcall) { @@ -1336,38 +1542,45 @@ static inline void simcall_sem_get_capacity__set__result(smx_simcall_t simcall, simgrid::simix::marshal(simcall->result, result); } -static inline smx_file_t simcall_file_read__get__fd(smx_simcall_t simcall) { +static inline smx_file_t simcall_file_read__get__fd(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_file_t simcall_file_read__getraw__fd(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_file_read__set__fd(smx_simcall_t simcall, smx_file_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_file_read__set__fd(smx_simcall_t simcall, smx_file_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline sg_size_t simcall_file_read__get__size(smx_simcall_t simcall) { +static inline sg_size_t simcall_file_read__get__size(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline sg_size_t simcall_file_read__getraw__size(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_file_read__set__size(smx_simcall_t simcall, sg_size_t arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_file_read__set__size(smx_simcall_t simcall, sg_size_t arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline sg_host_t simcall_file_read__get__host(smx_simcall_t simcall) { +static inline sg_host_t simcall_file_read__get__host(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[2]); } static inline sg_host_t simcall_file_read__getraw__host(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[2]); } -static inline void simcall_file_read__set__host(smx_simcall_t simcall, sg_host_t arg) { - simgrid::simix::marshal(simcall->args[2], arg); +static inline void simcall_file_read__set__host(smx_simcall_t simcall, sg_host_t arg) +{ + simgrid::simix::marshal(simcall->args[2], arg); } -static inline sg_size_t simcall_file_read__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline sg_size_t simcall_file_read__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline sg_size_t simcall_file_read__getraw__result(smx_simcall_t simcall) { @@ -1377,38 +1590,45 @@ static inline void simcall_file_read__set__result(smx_simcall_t simcall, sg_size simgrid::simix::marshal(simcall->result, result); } -static inline smx_file_t simcall_file_write__get__fd(smx_simcall_t simcall) { +static inline smx_file_t simcall_file_write__get__fd(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_file_t simcall_file_write__getraw__fd(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_file_write__set__fd(smx_simcall_t simcall, smx_file_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_file_write__set__fd(smx_simcall_t simcall, smx_file_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline sg_size_t simcall_file_write__get__size(smx_simcall_t simcall) { +static inline sg_size_t simcall_file_write__get__size(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline sg_size_t simcall_file_write__getraw__size(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_file_write__set__size(smx_simcall_t simcall, sg_size_t arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_file_write__set__size(smx_simcall_t simcall, sg_size_t arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline sg_host_t simcall_file_write__get__host(smx_simcall_t simcall) { +static inline sg_host_t simcall_file_write__get__host(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[2]); } static inline sg_host_t simcall_file_write__getraw__host(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[2]); } -static inline void simcall_file_write__set__host(smx_simcall_t simcall, sg_host_t arg) { - simgrid::simix::marshal(simcall->args[2], arg); +static inline void simcall_file_write__set__host(smx_simcall_t simcall, sg_host_t arg) +{ + simgrid::simix::marshal(simcall->args[2], arg); } -static inline sg_size_t simcall_file_write__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline sg_size_t simcall_file_write__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline sg_size_t simcall_file_write__getraw__result(smx_simcall_t simcall) { @@ -1454,8 +1674,9 @@ static inline void simcall_file_open__set__st(smx_simcall_t simcall, sg_storage_ { simgrid::simix::marshal(simcall->args[2], arg); } -static inline smx_file_t simcall_file_open__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline smx_file_t simcall_file_open__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline smx_file_t simcall_file_open__getraw__result(smx_simcall_t simcall) { @@ -1465,28 +1686,33 @@ static inline void simcall_file_open__set__result(smx_simcall_t simcall, smx_fil simgrid::simix::marshal(simcall->result, result); } -static inline smx_file_t simcall_file_close__get__fd(smx_simcall_t simcall) { +static inline smx_file_t simcall_file_close__get__fd(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_file_t simcall_file_close__getraw__fd(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_file_close__set__fd(smx_simcall_t simcall, smx_file_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_file_close__set__fd(smx_simcall_t simcall, smx_file_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline sg_host_t simcall_file_close__get__host(smx_simcall_t simcall) { +static inline sg_host_t simcall_file_close__get__host(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline sg_host_t simcall_file_close__getraw__host(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_file_close__set__host(smx_simcall_t simcall, sg_host_t arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_file_close__set__host(smx_simcall_t simcall, sg_host_t arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline int simcall_file_close__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline int simcall_file_close__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline int simcall_file_close__getraw__result(smx_simcall_t simcall) { @@ -1496,28 +1722,33 @@ static inline void simcall_file_close__set__result(smx_simcall_t simcall, int re simgrid::simix::marshal(simcall->result, result); } -static inline smx_file_t simcall_file_unlink__get__fd(smx_simcall_t simcall) { +static inline smx_file_t simcall_file_unlink__get__fd(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_file_t simcall_file_unlink__getraw__fd(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_file_unlink__set__fd(smx_simcall_t simcall, smx_file_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_file_unlink__set__fd(smx_simcall_t simcall, smx_file_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline sg_host_t simcall_file_unlink__get__host(smx_simcall_t simcall) { +static inline sg_host_t simcall_file_unlink__get__host(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline sg_host_t simcall_file_unlink__getraw__host(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_file_unlink__set__host(smx_simcall_t simcall, sg_host_t arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_file_unlink__set__host(smx_simcall_t simcall, sg_host_t arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline int simcall_file_unlink__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline int simcall_file_unlink__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline int simcall_file_unlink__getraw__result(smx_simcall_t simcall) { @@ -1527,18 +1758,21 @@ static inline void simcall_file_unlink__set__result(smx_simcall_t simcall, int r simgrid::simix::marshal(simcall->result, result); } -static inline smx_file_t simcall_file_get_size__get__fd(smx_simcall_t simcall) { +static inline smx_file_t simcall_file_get_size__get__fd(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_file_t simcall_file_get_size__getraw__fd(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_file_get_size__set__fd(smx_simcall_t simcall, smx_file_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_file_get_size__set__fd(smx_simcall_t simcall, smx_file_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline sg_size_t simcall_file_get_size__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline sg_size_t simcall_file_get_size__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline sg_size_t simcall_file_get_size__getraw__result(smx_simcall_t simcall) { @@ -1548,18 +1782,21 @@ static inline void simcall_file_get_size__set__result(smx_simcall_t simcall, sg_ simgrid::simix::marshal(simcall->result, result); } -static inline smx_file_t simcall_file_tell__get__fd(smx_simcall_t simcall) { +static inline smx_file_t simcall_file_tell__get__fd(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_file_t simcall_file_tell__getraw__fd(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_file_tell__set__fd(smx_simcall_t simcall, smx_file_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_file_tell__set__fd(smx_simcall_t simcall, smx_file_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline sg_size_t simcall_file_tell__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline sg_size_t simcall_file_tell__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline sg_size_t simcall_file_tell__getraw__result(smx_simcall_t simcall) { @@ -1569,38 +1806,45 @@ static inline void simcall_file_tell__set__result(smx_simcall_t simcall, sg_size simgrid::simix::marshal(simcall->result, result); } -static inline smx_file_t simcall_file_seek__get__fd(smx_simcall_t simcall) { +static inline smx_file_t simcall_file_seek__get__fd(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_file_t simcall_file_seek__getraw__fd(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_file_seek__set__fd(smx_simcall_t simcall, smx_file_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_file_seek__set__fd(smx_simcall_t simcall, smx_file_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline sg_offset_t simcall_file_seek__get__offset(smx_simcall_t simcall) { +static inline sg_offset_t simcall_file_seek__get__offset(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline sg_offset_t simcall_file_seek__getraw__offset(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_file_seek__set__offset(smx_simcall_t simcall, sg_offset_t arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_file_seek__set__offset(smx_simcall_t simcall, sg_offset_t arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline int simcall_file_seek__get__origin(smx_simcall_t simcall) { +static inline int simcall_file_seek__get__origin(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[2]); } static inline int simcall_file_seek__getraw__origin(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[2]); } -static inline void simcall_file_seek__set__origin(smx_simcall_t simcall, int arg) { - simgrid::simix::marshal(simcall->args[2], arg); +static inline void simcall_file_seek__set__origin(smx_simcall_t simcall, int arg) +{ + simgrid::simix::marshal(simcall->args[2], arg); } -static inline int simcall_file_seek__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline int simcall_file_seek__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline int simcall_file_seek__getraw__result(smx_simcall_t simcall) { @@ -1610,28 +1854,33 @@ static inline void simcall_file_seek__set__result(smx_simcall_t simcall, int res simgrid::simix::marshal(simcall->result, result); } -static inline smx_file_t simcall_file_move__get__fd(smx_simcall_t simcall) { +static inline smx_file_t simcall_file_move__get__fd(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline smx_file_t simcall_file_move__getraw__fd(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_file_move__set__fd(smx_simcall_t simcall, smx_file_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_file_move__set__fd(smx_simcall_t simcall, smx_file_t arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline const char* simcall_file_move__get__fullpath(smx_simcall_t simcall) { +static inline const char* simcall_file_move__get__fullpath(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline const char* simcall_file_move__getraw__fullpath(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_file_move__set__fullpath(smx_simcall_t simcall, const char* arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_file_move__set__fullpath(smx_simcall_t simcall, const char* arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline int simcall_file_move__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline int simcall_file_move__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline int simcall_file_move__getraw__result(smx_simcall_t simcall) { @@ -1641,28 +1890,33 @@ static inline void simcall_file_move__set__result(smx_simcall_t simcall, int res simgrid::simix::marshal(simcall->result, result); } -static inline int simcall_mc_random__get__min(smx_simcall_t simcall) { +static inline int simcall_mc_random__get__min(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[0]); } static inline int simcall_mc_random__getraw__min(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[0]); } -static inline void simcall_mc_random__set__min(smx_simcall_t simcall, int arg) { - simgrid::simix::marshal(simcall->args[0], arg); +static inline void simcall_mc_random__set__min(smx_simcall_t simcall, int arg) +{ + simgrid::simix::marshal(simcall->args[0], arg); } -static inline int simcall_mc_random__get__max(smx_simcall_t simcall) { +static inline int simcall_mc_random__get__max(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline int simcall_mc_random__getraw__max(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_mc_random__set__max(smx_simcall_t simcall, int arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_mc_random__set__max(smx_simcall_t simcall, int arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline int simcall_mc_random__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); +static inline int simcall_mc_random__get__result(smx_simcall_t simcall) +{ + return simgrid::simix::unmarshal(simcall->result); } static inline int simcall_mc_random__getraw__result(smx_simcall_t simcall) { @@ -1686,37 +1940,43 @@ static inline void simcall_set_category__set__synchro(smx_simcall_t simcall, { simgrid::simix::marshal>(simcall->args[0], arg); } -static inline const char* simcall_set_category__get__category(smx_simcall_t simcall) { +static inline const char* simcall_set_category__get__category(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal(simcall->args[1]); } static inline const char* simcall_set_category__getraw__category(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw(simcall->args[1]); } -static inline void simcall_set_category__set__category(smx_simcall_t simcall, const char* arg) { - simgrid::simix::marshal(simcall->args[1], arg); +static inline void simcall_set_category__set__category(smx_simcall_t simcall, const char* arg) +{ + simgrid::simix::marshal(simcall->args[1], arg); } -static inline std::function const* simcall_run_kernel__get__code(smx_simcall_t simcall) { +static inline std::function const* simcall_run_kernel__get__code(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal const*>(simcall->args[0]); } static inline std::function const* simcall_run_kernel__getraw__code(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw const*>(simcall->args[0]); } -static inline void simcall_run_kernel__set__code(smx_simcall_t simcall, std::function const* arg) { - simgrid::simix::marshal const*>(simcall->args[0], arg); +static inline void simcall_run_kernel__set__code(smx_simcall_t simcall, std::function const* arg) +{ + simgrid::simix::marshal const*>(simcall->args[0], arg); } -static inline std::function const* simcall_run_blocking__get__code(smx_simcall_t simcall) { +static inline std::function const* simcall_run_blocking__get__code(smx_simcall_t simcall) +{ return simgrid::simix::unmarshal const*>(simcall->args[0]); } static inline std::function const* simcall_run_blocking__getraw__code(smx_simcall_t simcall) { return simgrid::simix::unmarshal_raw const*>(simcall->args[0]); } -static inline void simcall_run_blocking__set__code(smx_simcall_t simcall, std::function const* arg) { - simgrid::simix::marshal const*>(simcall->args[0], arg); +static inline void simcall_run_blocking__set__code(smx_simcall_t simcall, std::function const* arg) +{ + simgrid::simix::marshal const*>(simcall->args[0], arg); } /* The prototype of all simcall handlers, automatically generated for you */ @@ -1727,7 +1987,7 @@ XBT_PRIVATE void simcall_HANDLER_process_suspend(smx_simcall_t simcall, smx_acto XBT_PRIVATE void simcall_HANDLER_process_set_host(smx_simcall_t simcall, smx_actor_t process, sg_host_t dest); XBT_PRIVATE void simcall_HANDLER_process_join(smx_simcall_t simcall, smx_actor_t process, double timeout); XBT_PRIVATE void simcall_HANDLER_process_sleep(smx_simcall_t simcall, double duration); -XBT_PRIVATE boost::intrusive_ptr +XBT_PRIVATE boost::intrusive_ptr simcall_HANDLER_execution_start(smx_simcall_t simcall, const char* name, double flops_amount, double priority, double bound); XBT_PRIVATE void diff --git a/src/simix/popping_bodies.cpp b/src/simix/popping_bodies.cpp index 79b16f1081..79a6d320b1 100644 --- a/src/simix/popping_bodies.cpp +++ b/src/simix/popping_bodies.cpp @@ -90,22 +90,22 @@ inline static int simcall_BODY_process_sleep(double duration) { return simcall(SIMCALL_PROCESS_SLEEP, duration); } - inline static boost::intrusive_ptr + inline static boost::intrusive_ptr simcall_BODY_execution_start(const char* name, double flops_amount, double priority, double bound) { /* Go to that function to follow the code flow through the simcall barrier */ if (0) simcall_HANDLER_execution_start(&SIMIX_process_self()->simcall, name, flops_amount, priority, bound); - return simcall, const char*, double, double, double>( + return simcall, const char*, double, double, double>( SIMCALL_EXECUTION_START, name, flops_amount, priority, bound); } - inline static boost::intrusive_ptr + inline static boost::intrusive_ptr simcall_BODY_execution_parallel_start(const char* name, int host_nb, sg_host_t* host_list, double* flops_amount, double* bytes_amount, double amount, double rate, double timeout) { /* Go to that function to follow the code flow through the simcall barrier */ if (0) SIMIX_execution_parallel_start(name, host_nb, host_list, flops_amount, bytes_amount, amount, rate, timeout); - return simcall, const char*, int, sg_host_t*, double*, + return simcall, const char*, int, sg_host_t*, double*, double*, double, double, double>(SIMCALL_EXECUTION_PARALLEL_START, name, host_nb, host_list, flops_amount, bytes_amount, amount, rate, timeout); } diff --git a/src/simix/popping_generated.cpp b/src/simix/popping_generated.cpp index ff4bb3854f..3837fc88ca 100644 --- a/src/simix/popping_generated.cpp +++ b/src/simix/popping_generated.cpp @@ -136,7 +136,7 @@ case SIMCALL_PROCESS_SLEEP: break; case SIMCALL_EXECUTION_START: - simgrid::simix::marshal>( + simgrid::simix::marshal>( simcall->result, simcall_HANDLER_execution_start(simcall, simgrid::simix::unmarshal(simcall->args[0]), simgrid::simix::unmarshal(simcall->args[1]), @@ -146,7 +146,7 @@ case SIMCALL_EXECUTION_START: break; case SIMCALL_EXECUTION_PARALLEL_START: - simgrid::simix::marshal>( + simgrid::simix::marshal>( simcall->result, SIMIX_execution_parallel_start( simgrid::simix::unmarshal(simcall->args[0]), simgrid::simix::unmarshal(simcall->args[1]), diff --git a/src/simix/popping_private.h b/src/simix/popping_private.h index c04b0b2d1a..698a3a52b1 100644 --- a/src/simix/popping_private.h +++ b/src/simix/popping_private.h @@ -11,6 +11,7 @@ #include #include +#include #include