X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/997eaf52ad0ae1eb34820b135c7ba884b2a17f3c..d740a86eb8bb0e5d729e0ad55db7395444dad131:/teshsuite/simdag/platforms/flatifier.c?ds=sidebyside diff --git a/teshsuite/simdag/platforms/flatifier.c b/teshsuite/simdag/platforms/flatifier.c index 7b3e375913..5695df80f2 100644 --- a/teshsuite/simdag/platforms/flatifier.c +++ b/teshsuite/simdag/platforms/flatifier.c @@ -133,10 +133,11 @@ int main(int argc, char **argv) { xbt_lib_foreach(host_lib, cursor_dst, dst, value) //to host { - printf(" \n " + printf(" \n " ,src ,dst); - xbt_dynar_t route = routing_get_route(src,dst); + xbt_dynar_t route=NULL; + routing_get_route_and_latency(src,dst,&route,NULL); for(i=0;i\n " + printf(" \n " ,src ,dst); - xbt_dynar_t route = routing_get_route(src,dst); + xbt_dynar_t route=NULL; + routing_get_route_and_latency(src,dst,&route,NULL); for(i=0;i\n " + printf(" \n " ,src ,dst); - xbt_dynar_t route = routing_get_route(src,dst); + xbt_dynar_t route=NULL; + routing_get_route_and_latency(src,dst,&route,NULL); for(i=0;i\n " - ,src - ,dst); - xbt_dynar_t route = routing_get_route(src,dst); + printf(" \n " + ,src, dst); + xbt_dynar_t route=NULL; + routing_get_route_and_latency(src,dst,&route, NULL); for(i=0;i