Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
811d1b59315efa1bacba7851ed6b1b6cd136a35a
[simgrid.git] / src / msg / msg_config.c
1 /*     $Id$      */
2   
3 /* Copyright (c) 2002-2007 Arnaud Legrand.                                  */
4 /* Copyright (c) 2007 Bruno Donassolo.                                      */
5 /* All rights reserved.                                                     */
6
7 /* This program is free software; you can redistribute it and/or modify it
8  * under the terms of the license (GNU LGPL) which comes with this package. */
9   
10 #include "msg/private.h"
11 #include "xbt/sysdep.h"
12 #include "xbt/log.h"
13 #include "simix/simix.h"
14
15 /** \brief set a configuration variable
16  * 
17  * Currently existing configuation variable:
18  *   - surf_workstation_model (string): Model of workstation to use.  
19  *     Possible values (defaults to "KCCFLN05"):
20  *     - "CLM03": realistic TCP behavior + basic CPU model (see [CML03 at CCGrid03]) + support for parallel tasks
21  *     - "KCCFLN05": realistic TCP behavior + basic CPU model (see [CML03 at CCGrid03]) + failure handling + interference between communications and computations if precised in the platform file.
22  * 
23  * Example:
24  * MSG_config("surf_workstation_model","KCCFLN05");
25  */
26 void MSG_config(const char *name, ...) 
27 {
28   va_list pa;
29   /*  xbt_cfg_dump("msg_cfg_set","",_msg_cfg_set);*/
30   va_start(pa,name);
31         SIMIX_config(name,pa);
32   va_end(pa);
33         return;
34 }