X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/86a08ab9c895a99c7efb4ee38db24c3541deb6bd..fda00496f6a31c2f09ed65b91d6052c2e50686df:/src/msg/msg_config.c diff --git a/src/msg/msg_config.c b/src/msg/msg_config.c index 502a5c83a0..999e6cfb39 100644 --- a/src/msg/msg_config.c +++ b/src/msg/msg_config.c @@ -1,8 +1,5 @@ -/* $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. */ @@ -15,7 +12,7 @@ /** \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. @@ -25,7 +22,7 @@ * - "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, ...) { @@ -37,7 +34,7 @@ void MSG_config(const char *name, ...) abort(); } va_start(pa, name); - xbt_cfg_set_vargs(_surf_cfg_set,name,pa); + xbt_cfg_set_vargs(_surf_cfg_set, name, pa); va_end(pa); return; }