X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b69e984a013e4e9e2d98fc4013cd1721bf2f0245..8651a527a9da6883193946e8c295f941c57db1b4:/src/simix/smx_host.c diff --git a/src/simix/smx_host.c b/src/simix/smx_host.c index 7367c49478..c532b2a4e2 100644 --- a/src/simix/smx_host.c +++ b/src/simix/smx_host.c @@ -169,7 +169,7 @@ double SIMIX_host_get_speed(smx_host_t host) { xbt_assert0((host != NULL), "Invalid parameters"); - return (surf_workstation_resource-> + return (surf_workstation_model-> extension_public->get_speed(host->simdata->host, 1.0)); } @@ -183,7 +183,7 @@ double SIMIX_host_get_available_speed(smx_host_t host) { xbt_assert0((host != NULL), "Invalid parameters"); - return (surf_workstation_resource-> + return (surf_workstation_model-> extension_public->get_available_speed(host->simdata->host)); } @@ -221,7 +221,7 @@ int SIMIX_host_get_state(smx_host_t host) { xbt_assert0((host != NULL), "Invalid parameters"); - return (surf_workstation_resource-> + return (surf_workstation_model-> extension_public->get_state(host->simdata->host)); }