X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/25f00868d318a0c49b4965ea9dea9a78bc349365..8c24f94990a4fe05da6552075ad8654eaf5c7925:/teshsuite/surf/surf_usage/surf_usage.cpp diff --git a/teshsuite/surf/surf_usage/surf_usage.cpp b/teshsuite/surf/surf_usage/surf_usage.cpp index 37a90b4609..c05e66ba92 100644 --- a/teshsuite/surf/surf_usage/surf_usage.cpp +++ b/teshsuite/surf/surf_usage/surf_usage.cpp @@ -57,8 +57,8 @@ void test(char *platform) hostB = sg_host_by_name("Cpu B"); /* Let's check that those two processors exist */ - XBT_DEBUG("%s : %p", surf_cpu_name(hostA->pimpl_cpu), hostA); - XBT_DEBUG("%s : %p", surf_cpu_name(hostB->pimpl_cpu), hostB); + XBT_DEBUG("%s : %p", sg_host_get_name(hostA), hostA); + XBT_DEBUG("%s : %p", sg_host_get_name(hostB), hostB); /* Let's do something on it */ actionA = hostA->pimpl_cpu->execution_start(1000.0);