--- /dev/null
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
+<platform version="3">
+
+<config id="General">
+ <prop id="maxmin/precision" value="0.000010"></prop>
+ <prop id="cpu/optim" value="TI"></prop>
+ <prop id="workstation/model" value="compound"></prop>
+ <prop id="network/model" value="SMPI"></prop>
+ <prop id="path" value="~/"></prop>
+ <prop id="smpi/bw_factor" value="65472:0.940694;15424:0.697866;9376:0.58729"></prop>
+</config>
+
+<AS id="AS0" routing="Full">
+ <host id="bob" power="1000000000"/>
+ <host id="alice" power="500000000"/>
+
+ <link id="link1" bandwidth="125000000" latency="5E-5"/>
+ <link id="link2" bandwidth="125000000" latency="5E-5"/>
+ <link id="link3" bandwidth="125000000" latency="5E-5"/>
+
+ <route src="bob" dst="alice" symmetrical="YES">
+ <link_ctn id="link1"/>
+ <link_ctn id="link2"/>
+ <link_ctn id="link3"/>
+ </route>
+</AS>
+</platform>
xbt_cfgelm_double, &default_threshold, 1, 1, NULL,
NULL);
+ //For smpi/bw_factor and smpi/lat_factor
+ //Default value have to be "threshold0:value0;threshold1:value1;...;thresholdN:valueN"
+ //test is if( size >= thresholdN ) return valueN;
+ //Values can be modified with command line --cfg=smpi/bw_factor:"threshold0:value0;threshold1:value1;...;thresholdN:valueN"
+ // or with tag config put line <prop id="smpi/bw_factor" value="threshold0:value0;threshold1:value1;...;thresholdN:valueN"></prop>
xbt_cfg_register(&_surf_cfg_set, "smpi/bw_factor",
"Bandwidth factors for smpi.",
xbt_cfgelm_string, NULL, 1, 1, NULL,