X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8a47028116925fea959f95bfe881618489658231..bea71eb0cdea9abd9b6476bdaaecd26179d58cd8:/src/surf/surf_config.c diff --git a/src/surf/surf_config.c b/src/surf/surf_config.c index c8641fb619..4eb17cfad1 100644 --- a/src/surf/surf_config.c +++ b/src/surf/surf_config.c @@ -534,6 +534,11 @@ void surf_config_init(int *argc, char **argv) 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 xbt_cfg_register(&_surf_cfg_set, "smpi/bw_factor", "Bandwidth factors for smpi.", xbt_cfgelm_string, NULL, 1, 1, NULL,