X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dff9e15c44ab6340d27215957c56fa72fad246a2..34a382cec766ccc54c79cc6183632d7d55887111:/src/msg/msg_config.c diff --git a/src/msg/msg_config.c b/src/msg/msg_config.c index 77afd4c39e..d82888df0e 100644 --- a/src/msg/msg_config.c +++ b/src/msg/msg_config.c @@ -13,9 +13,9 @@ #include "simix/simix.h" /** \brief set a configuration variable - * + * * Currently existing configuation variable: - * - workstation_model (string): Model of workstation to use. + * - workstation/model (string): Model of workstation to use. * Possible values (defaults to "KCCFLN05"): * - "CLM03": realistic TCP behavior + basic CPU model (see [CML03 at CCGrid03]) + support for parallel tasks * - "KCCFLN05": realistic TCP behavior + basic CPU model (see [CML03 at CCGrid03]) + failure handling + interference between communications and computations if precised in the platform file. @@ -23,9 +23,9 @@ * - "KCCFLN05_proportional": realistic TCP behavior + basic CPU model (see [CML03 at CCGrid03]) + failure handling + interference between communications and computations if precised in the platform file. Uses the proportional approahc as described in the Corine Touati's PhD Thesis. * - "KCCFLN05_Vegas": realistic TCP behavior + basic CPU model (see [CML03 at CCGrid03]) + failure handling + interference between communications and computations if precised in the platform file. Uses the fairness adapted to the TCP Vegas flow control. * - "KCCFLN05_Reno": realistic TCP behavior + basic CPU model (see [CML03 at CCGrid03]) + failure handling + interference between communications and computations if precised in the platform file. Uses the fairness adapted to the TCP Reno flow control. - * + * * Example: - * MSG_config("workstation_model","KCCFLN05"); + * MSG_config("workstation/model","KCCFLN05"); */ void MSG_config(const char *name, ...) { @@ -36,14 +36,8 @@ void MSG_config(const char *name, ...) "ERROR: Please call MSG_init() before using MSG_config()\n"); abort(); } - - - - /* xbt_cfg_dump("msg_cfg_set","",_msg_cfg_set); */ va_start(pa, name); - - SIMIX_config(name, pa); - + xbt_cfg_set_vargs(_surf_cfg_set, name, pa); va_end(pa); return; }