X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0d2cd6f4e4e5c8b75159c79b7ae7d716cef99086..9e6224ecd95ff7b6452fe9b2c088138877797542:/src/simix/smx_host.c diff --git a/src/simix/smx_host.c b/src/simix/smx_host.c index 4b67596116..1882fcba97 100644 --- a/src/simix/smx_host.c +++ b/src/simix/smx_host.c @@ -158,6 +158,16 @@ int SIMIX_host_get_core(smx_host_t host){ get_core(host); } +xbt_swag_t SIMIX_pre_host_get_process_list(smx_simcall_t simcall, smx_host_t host){ + return SIMIX_host_get_process_list(host); +} + +xbt_swag_t SIMIX_host_get_process_list(smx_host_t host){ + xbt_assert((host != NULL), "Invalid parameters (simix host is NULL)"); + smx_host_priv_t host_priv = SIMIX_host_priv(host); + + return host_priv->process_list; +} double SIMIX_pre_host_get_available_speed(smx_simcall_t simcall, smx_host_t host){