Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
450da2f618c50844f231810d2c06426aad254bb8
[simgrid.git] / src / msg_simix / msg_config.c
1
2 #include "private.h"
3 #include "xbt/sysdep.h"
4 #include "xbt/log.h"
5
6 /** \brief set a configuration variable
7  * 
8  * Currently existing configuation variable:
9  *   - surf_workstation_model (string): Model of workstation to use.  
10  *     Possible values (defaults to "KCCFLN05"):
11  *     - "CLM03": realistic TCP behavior + basic CPU model (see [CML03 at CCGrid03]) + support for parallel tasks
12  *     - "KCCFLN05": realistic TCP behavior + basic CPU model (see [CML03 at CCGrid03]) + failure handling + interference between communications and computations if precised in the platform file.
13  * 
14  * Example:
15  * MSG_config("surf_workstation_model","KCCFLN05");
16  */
17 void MSG_config(const char *name, ...) 
18 {
19   va_list pa;
20   /*  xbt_cfg_dump("msg_cfg_set","",_msg_cfg_set);*/
21   va_start(pa,name);
22         SIMIX_config(name,pa);
23   va_end(pa);
24         return;
25 }