X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4a6b0a991a67e6f2f67c03fed43529e078da7115..abc179ad0abd38c45f0f7c4d63141d4548b77da8:/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 8aa09ec730..c05e66ba92 100644 --- a/teshsuite/surf/surf_usage/surf_usage.cpp +++ b/teshsuite/surf/surf_usage/surf_usage.cpp @@ -9,7 +9,6 @@ #include #include "simgrid/sg_config.h" #include "surf/surf.h" -#include "surf/surfxml_parse.h" // for reset callback #include "src/surf/surf_interface.hpp" #include "src/surf/cpu_interface.hpp" @@ -58,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);