X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/68cd7fbe182486abc415c178a385cd840668d72d..48358ed87fd24b70850ed140ea72e40cf8e04df2:/src/simix/smx_host.cpp diff --git a/src/simix/smx_host.cpp b/src/simix/smx_host.cpp index 17ae79b2ac..a6c4cb93b2 100644 --- a/src/simix/smx_host.cpp +++ b/src/simix/smx_host.cpp @@ -46,7 +46,7 @@ void SIMIX_host_on(sg_host_t h) if (h->isOff()) { simgrid::surf::Host* surf_host = h->extension(); - surf_host_turn_on(surf_host); + surf_host->turnOn(); unsigned int cpt; smx_process_arg_t arg; @@ -100,7 +100,7 @@ void SIMIX_host_off(sg_host_t h, smx_process_t issuer) if (h->isOn()) { simgrid::surf::Host* surf_host = h->extension(); - surf_host_turn_off(surf_host); + surf_host->turnOff(); /* Clean Simulator data */ if (xbt_swag_size(host->process_list) != 0) {