X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f2fa1f3135d493a47daad311acb6c42d5ce2a1ce..7ad85b03568dabade546f7948aaf7279059e9269:/src/simix/popping_accessors.h diff --git a/src/simix/popping_accessors.h b/src/simix/popping_accessors.h index abe3f6238d..fd3d6142f2 100644 --- a/src/simix/popping_accessors.h +++ b/src/simix/popping_accessors.h @@ -41,19 +41,6 @@ static inline void simcall_host_get_properties__set__result(smx_simcall_t simcal simcall->result.dp = result; } -static inline sg_host_t simcall_host_get_core__get__host(smx_simcall_t simcall) { - return (sg_host_t) simcall->args[0].dp; -} -static inline void simcall_host_get_core__set__host(smx_simcall_t simcall, void* arg) { - simcall->args[0].dp = arg; -} -static inline int simcall_host_get_core__get__result(smx_simcall_t simcall){ - return simcall->result.i; -} -static inline void simcall_host_get_core__set__result(smx_simcall_t simcall, int result){ - simcall->result.i = result; -} - static inline sg_host_t simcall_host_get_process_list__get__host(smx_simcall_t simcall) { return (sg_host_t) simcall->args[0].dp; } @@ -67,19 +54,6 @@ static inline void simcall_host_get_process_list__set__result(smx_simcall_t simc simcall->result.dp = result; } -static inline sg_host_t simcall_host_get_state__get__host(smx_simcall_t simcall) { - return (sg_host_t) simcall->args[0].dp; -} -static inline void simcall_host_get_state__set__host(smx_simcall_t simcall, void* arg) { - simcall->args[0].dp = arg; -} -static inline int simcall_host_get_state__get__result(smx_simcall_t simcall){ - return simcall->result.i; -} -static inline void simcall_host_get_state__set__result(smx_simcall_t simcall, int result){ - simcall->result.i = result; -} - static inline sg_host_t simcall_host_get_current_power_peak__get__host(smx_simcall_t simcall) { return (sg_host_t) simcall->args[0].dp; } @@ -112,19 +86,6 @@ static inline void simcall_host_get_power_peak_at__set__result(smx_simcall_t sim simcall->result.d = result; } -static inline sg_host_t simcall_host_get_nb_pstates__get__host(smx_simcall_t simcall) { - return (sg_host_t) simcall->args[0].dp; -} -static inline void simcall_host_get_nb_pstates__set__host(smx_simcall_t simcall, void* arg) { - simcall->args[0].dp = arg; -} -static inline int simcall_host_get_nb_pstates__get__result(smx_simcall_t simcall){ - return simcall->result.i; -} -static inline void simcall_host_get_nb_pstates__set__result(smx_simcall_t simcall, int result){ - simcall->result.i = result; -} - static inline sg_host_t simcall_host_get_wattmin_at__get__host(smx_simcall_t simcall) { return (sg_host_t) simcall->args[0].dp; } @@ -176,32 +137,6 @@ static inline void simcall_host_set_pstate__set__pstate_index(smx_simcall_t simc simcall->args[1].i = arg; } -static inline sg_host_t simcall_host_get_pstate__get__host(smx_simcall_t simcall) { - return (sg_host_t) simcall->args[0].dp; -} -static inline void simcall_host_get_pstate__set__host(smx_simcall_t simcall, void* arg) { - simcall->args[0].dp = arg; -} -static inline int simcall_host_get_pstate__get__result(smx_simcall_t simcall){ - return simcall->result.i; -} -static inline void simcall_host_get_pstate__set__result(smx_simcall_t simcall, int result){ - simcall->result.i = result; -} - -static inline sg_host_t simcall_host_get_consumed_energy__get__host(smx_simcall_t simcall) { - return (sg_host_t) simcall->args[0].dp; -} -static inline void simcall_host_get_consumed_energy__set__host(smx_simcall_t simcall, void* arg) { - simcall->args[0].dp = arg; -} -static inline double simcall_host_get_consumed_energy__get__result(smx_simcall_t simcall){ - return simcall->result.d; -} -static inline void simcall_host_get_consumed_energy__set__result(smx_simcall_t simcall, double result){ - simcall->result.d = result; -} - static inline sg_host_t simcall_host_get_mounted_storage_list__get__host(smx_simcall_t simcall) { return (sg_host_t) simcall->args[0].dp; }