Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
print the right walue here
authordegomme <augustin.degomme@unibas.ch>
Sat, 18 Jun 2016 15:24:28 +0000 (17:24 +0200)
committerdegomme <augustin.degomme@unibas.ch>
Sat, 18 Jun 2016 15:24:28 +0000 (17:24 +0200)
src/surf/sg_platf.cpp

index f67e1a6..2dd9f68 100644 (file)
@@ -317,7 +317,7 @@ void sg_platf_new_cluster(sg_platf_cluster_cbarg_t cluster)
     //add a loopback link
     if(cluster->loopback_bw!=0 || cluster->loopback_lat!=0){
       char *tmp_link = bprintf("%s_loopback", link_id);
     //add a loopback link
     if(cluster->loopback_bw!=0 || cluster->loopback_lat!=0){
       char *tmp_link = bprintf("%s_loopback", link_id);
-      XBT_DEBUG("<loopback\tid=\"%s\"\tbw=\"%f\"/>", tmp_link, cluster->limiter_link);
+      XBT_DEBUG("<loopback\tid=\"%s\"\tbw=\"%f\"/>", tmp_link, cluster->loopback_bw);
 
       memset(&link, 0, sizeof(link));
       link.id        = tmp_link;
 
       memset(&link, 0, sizeof(link));
       link.id        = tmp_link;