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;
}
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;
}
static inline void simcall_set_category__set__category(smx_simcall_t simcall, const char* arg) {
simcall->args[1].cc = arg;
}
+
+static inline void* simcall_run_kernel__get__code(smx_simcall_t simcall) {
+ return simcall->args[0].dp;
+}
+static inline void simcall_run_kernel__set__code(smx_simcall_t simcall, void* arg) {
+ simcall->args[0].dp = arg;
+}
#ifdef HAVE_LATENCY_BOUND_TRACKING
static inline smx_synchro_t simcall_comm_is_latency_bounded__get__comm(smx_simcall_t simcall) {