X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/865f97c868ce92518b1cf4f23e23bd1b16b7917c..faefbf1df4c06fd86d785d0a376356cd2375b81e:/src/msg/msg_config.c diff --git a/src/msg/msg_config.c b/src/msg/msg_config.c index 11cbc29c73..31bed567c6 100644 --- a/src/msg/msg_config.c +++ b/src/msg/msg_config.c @@ -1,31 +1,20 @@ -/* $Id$ */ - -/* Copyright (c) 2002-2007 Arnaud Legrand. */ -/* Copyright (c) 2007 Bruno Donassolo. */ -/* All rights reserved. */ +/* Copyright (c) 2005, 2006, 2007, 2009, 2010. The SimGrid Team. + * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ -#include "msg/private.h" +#include "msg_private.h" #include "xbt/sysdep.h" #include "xbt/log.h" -#include "simix/simix.h" +#include "simgrid/simix.h" /** \brief set a configuration variable * - * Currently existing configuation variable: - * - 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. - * - "KCCFLN05": realistic TCP behavior + basic CPU model (see [CML03 at CCGrid03]) + failure handling + interference between communications and computations if precised in the platform file. Use maxmin for the network. - * - "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. + * Do --help on any simgrid binary to see the list of currently existing configuration variables * * Example: - * MSG_config("workstation_model","KCCFLN05"); + * MSG_config("workstation/model","KCCFLN05"); */ void MSG_config(const char *name, ...) { @@ -34,7 +23,7 @@ void MSG_config(const char *name, ...) if (!msg_global) { fprintf(stderr, "ERROR: Please call MSG_init() before using MSG_config()\n"); - abort(); + xbt_abort(); } va_start(pa, name); xbt_cfg_set_vargs(_surf_cfg_set, name, pa);