From: degomme Date: Sat, 18 Jun 2016 15:16:44 +0000 (+0200) Subject: Fix bug : limiter_link was not read as a bandwidth for clusters (125MBps became 125) X-Git-Tag: v3_14~952 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b51004a1b6559821ea6d48b96add107baec51576?hp=9cbd27ca165f3248a0a4b204d1eb93e320a0e3ec Fix bug : limiter_link was not read as a bandwidth for clusters (125MBps became 125) --- diff --git a/src/surf/xml/surfxml_sax_cb.cpp b/src/surf/xml/surfxml_sax_cb.cpp index d42e4297b3..0bb09f10b6 100644 --- a/src/surf/xml/surfxml_sax_cb.cpp +++ b/src/surf/xml/surfxml_sax_cb.cpp @@ -511,7 +511,7 @@ void ETag_surfxml_cluster(void){ if(strcmp(A_surfxml_cluster_bb___lat,"")) cluster.bb_lat = surf_parse_get_time(A_surfxml_cluster_bb___lat, "bb_lat of cluster", cluster.id); if(strcmp(A_surfxml_cluster_limiter___link,"")) - cluster.limiter_link = surf_parse_get_double(A_surfxml_cluster_limiter___link); + cluster.limiter_link = surf_parse_get_bandwidth(A_surfxml_cluster_limiter___link, "limiter_link of cluster", cluster.id); if(strcmp(A_surfxml_cluster_loopback___bw,"")) cluster.loopback_bw = surf_parse_get_bandwidth(A_surfxml_cluster_loopback___bw, "loopback_bw of cluster", cluster.id); if(strcmp(A_surfxml_cluster_loopback___lat,""))