Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
8 years agoWe need include simgrid_config.h for function getline.
navarrop [Fri, 18 Feb 2011 15:02:53 +0000 (15:02 +0000)]
We need include simgrid_config.h for function getline.
In system Debian : implicit declaration of function getline

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9663 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoUpdate ChangeLog with new SIMIX flags and new MSG functions
thiery [Fri, 18 Feb 2011 14:35:07 +0000 (14:35 +0000)]
Update ChangeLog with new SIMIX flags and new MSG functions

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9662 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoRevert "Remove old style logging macros."
agiersch [Thu, 17 Feb 2011 21:16:55 +0000 (21:16 +0000)]
Revert "Remove old style logging macros."

Do not break backward compatibility.  Define XBT_USE_DEPRECATED to use
the old macros INOF1, INFO2, etc.

This reverts commit 8f12c0e9161fabfd7e0ab3f3688546ec7e237e51.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9661 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoDefine a SIMGRID_VERSION macro in simgrid_config.h
mquinson [Thu, 17 Feb 2011 21:01:51 +0000 (21:01 +0000)]
Define a SIMGRID_VERSION macro in simgrid_config.h

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9660 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoRemove old DEBUGx() for XBT_DEBUG
navarrop [Thu, 17 Feb 2011 17:50:33 +0000 (17:50 +0000)]
Remove old DEBUGx() for XBT_DEBUG

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9659 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoRemove unused include "simgrid_config.h"
navarrop [Thu, 17 Feb 2011 17:14:40 +0000 (17:14 +0000)]
Remove unused include "simgrid_config.h"
If need _XBT_WIN32 include gras_config.h"

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9658 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoRemove all xbt_assert.*(0,FALSE or NULL for xbt_die
navarrop [Thu, 17 Feb 2011 17:14:29 +0000 (17:14 +0000)]
Remove all xbt_assert.*(0,FALSE or NULL for xbt_die

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9657 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoMake PARSE_ERROR a variadic macro too.
agiersch [Thu, 17 Feb 2011 16:12:19 +0000 (16:12 +0000)]
Make PARSE_ERROR a variadic macro too.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9656 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoMake XBT_{IN,OUT,HERE} function-like macros.
agiersch [Thu, 17 Feb 2011 16:12:14 +0000 (16:12 +0000)]
Make XBT_{IN,OUT,HERE} function-like macros.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9655 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoRemove old style logging macros.
agiersch [Thu, 17 Feb 2011 16:12:08 +0000 (16:12 +0000)]
Remove old style logging macros.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9654 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoUse new style logging macros.
agiersch [Thu, 17 Feb 2011 16:11:56 +0000 (16:11 +0000)]
Use new style logging macros.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9653 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoDefine variadic logging macros.
agiersch [Thu, 17 Feb 2011 16:11:14 +0000 (16:11 +0000)]
Define variadic logging macros.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9652 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoRemove unused file.
agiersch [Thu, 17 Feb 2011 16:11:07 +0000 (16:11 +0000)]
Remove unused file.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9651 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoNow it compiles with NDEBUG flag
navarrop [Thu, 17 Feb 2011 14:47:17 +0000 (14:47 +0000)]
Now it compiles with NDEBUG flag

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9650 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoCompile with flag NDEBUG.
navarrop [Thu, 17 Feb 2011 14:00:39 +0000 (14:00 +0000)]
Compile with flag NDEBUG.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9649 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoRemove ; after SG_BEGIN_DECL().
agiersch [Thu, 17 Feb 2011 12:38:02 +0000 (12:38 +0000)]
Remove ; after SG_BEGIN_DECL().

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9648 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoRemove unused call to MSG_process_sleep(1).
navarrop [Thu, 17 Feb 2011 11:04:09 +0000 (11:04 +0000)]
Remove unused call to MSG_process_sleep(1).

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9647 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoCorrection of problems from commit 9644
navarrop [Thu, 17 Feb 2011 09:59:49 +0000 (09:59 +0000)]
Correction of problems from commit 9644

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9646 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoadd a misseing argument to xbt_assert1
coldpeace [Thu, 17 Feb 2011 09:54:41 +0000 (09:54 +0000)]
add a misseing argument to xbt_assert1

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9645 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoEvaluating the expression of xbt_assert must not have side effects.
thiery [Wed, 16 Feb 2011 17:14:57 +0000 (17:14 +0000)]
Evaluating the expression of xbt_assert must not have side effects.

The xbt_assert macros are disabled at compile time when NDEBUG is set.
There are a lot of other faulty xbt_assert calls, I haven't finished to
fix them.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9644 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoThis is not a tesh file
thiery [Wed, 16 Feb 2011 14:25:54 +0000 (14:25 +0000)]
This is not a tesh file

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9643 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoDon't need private files without this command line
navarrop [Wed, 16 Feb 2011 14:12:30 +0000 (14:12 +0000)]
Don't need private files without this command line

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9642 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoWe need cmake 2.8 to compile simgrid
navarrop [Wed, 16 Feb 2011 13:32:07 +0000 (13:32 +0000)]
We need cmake 2.8 to compile simgrid

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9639 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoAll tesh files have the .tesh extension now
thiery [Wed, 16 Feb 2011 12:14:22 +0000 (12:14 +0000)]
All tesh files have the .tesh extension now

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9638 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoUpdate .gitignore
thiery [Wed, 16 Feb 2011 12:14:15 +0000 (12:14 +0000)]
Update .gitignore

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9637 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agocheck HAVE_MC before calling MC_assert
coldpeace [Wed, 16 Feb 2011 09:37:06 +0000 (09:37 +0000)]
check HAVE_MC before calling MC_assert

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9636 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoCorrectely use xbt_str_varsubs
navarrop [Tue, 15 Feb 2011 16:43:24 +0000 (16:43 +0000)]
Correctely use xbt_str_varsubs

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9633 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoAdd another SMPI bugged example to test the MC.
cristianrosa [Tue, 15 Feb 2011 16:09:02 +0000 (16:09 +0000)]
Add another SMPI bugged example to test the MC.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9632 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoAlways show the MC statistics on exit.
cristianrosa [Tue, 15 Feb 2011 16:09:00 +0000 (16:09 +0000)]
Always show the MC statistics on exit.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9631 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoIf --cfg=model-check:2 was passed, use a DFS exploration.
cristianrosa [Tue, 15 Feb 2011 16:08:49 +0000 (16:08 +0000)]
If --cfg=model-check:2 was passed, use a DFS exploration.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9630 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoAdd SMPI bugged example to test the MC.
cristianrosa [Tue, 15 Feb 2011 16:08:48 +0000 (16:08 +0000)]
Add SMPI bugged example to test the MC.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9629 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoCount the context switches as user code also.
cristianrosa [Tue, 15 Feb 2011 16:08:37 +0000 (16:08 +0000)]
Count the context switches as user code also.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9628 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoCompute the real simulation time.
cristianrosa [Tue, 15 Feb 2011 16:08:35 +0000 (16:08 +0000)]
Compute the real simulation time.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9627 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoThis job is done two time.
navarrop [Tue, 15 Feb 2011 13:15:58 +0000 (13:15 +0000)]
This job is done two time.
Also in surf_parse_add_callback_config(void)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9626 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoFind simgrid version
navarrop [Tue, 15 Feb 2011 13:15:54 +0000 (13:15 +0000)]
Find simgrid version

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9625 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoConsider the value of the cfg=model-checker flag
thiery [Tue, 15 Feb 2011 10:01:50 +0000 (10:01 +0000)]
Consider the value of the cfg=model-checker flag

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9623 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoAdd sources for rngstreams
navarrop [Mon, 14 Feb 2011 16:25:20 +0000 (16:25 +0000)]
Add sources for rngstreams

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9621 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoAdd --log option to token_ring.tesh
navarrop [Mon, 14 Feb 2011 13:49:15 +0000 (13:49 +0000)]
Add --log option to token_ring.tesh

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9620 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoReimplement old tag random.
navarrop [Mon, 14 Feb 2011 13:30:32 +0000 (13:30 +0000)]
Reimplement old tag random.
Need to be rewrite (in progress)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9619 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoCosmetics
navarrop [Mon, 14 Feb 2011 13:30:31 +0000 (13:30 +0000)]
Cosmetics

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9618 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoAdd a gforge sync for simgrid.dtd
navarrop [Mon, 14 Feb 2011 13:30:30 +0000 (13:30 +0000)]
Add a gforge sync for simgrid.dtd

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9617 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoAdd an unused (for the moment) module file
navarrop [Mon, 14 Feb 2011 13:30:29 +0000 (13:30 +0000)]
Add an unused (for the moment) module file

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9616 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoDon't search for RngStream.h but specific file simulator.h
navarrop [Mon, 14 Feb 2011 13:30:28 +0000 (13:30 +0000)]
Don't search for RngStream.h but specific file simulator.h

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9615 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years ago[trace] fix bug on interconnections tracing
schnorr [Mon, 14 Feb 2011 13:19:48 +0000 (13:19 +0000)]
[trace] fix bug on interconnections tracing

details:
- this commit reduces the trace size (in the paje format)
of g5k platform from ~16M to ~404K without loss of information

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9614 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoReview const attribute for pointers..
agiersch [Fri, 11 Feb 2011 17:01:08 +0000 (17:01 +0000)]
Review const attribute for pointers..

The main goal for this patch is to remove the cast for the argument of
free() in MSG_action_runner().

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9613 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoUse xbt_dynar_free to destroy dynar.
agiersch [Fri, 11 Feb 2011 17:01:03 +0000 (17:01 +0000)]
Use xbt_dynar_free to destroy dynar.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9612 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoRemove useless cast.
agiersch [Fri, 11 Feb 2011 17:01:00 +0000 (17:01 +0000)]
Remove useless cast.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9611 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoCosmetics: fix indentation.
agiersch [Fri, 11 Feb 2011 17:00:57 +0000 (17:00 +0000)]
Cosmetics: fix indentation.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9610 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoRemove useless operation.
agiersch [Fri, 11 Feb 2011 17:00:53 +0000 (17:00 +0000)]
Remove useless operation.

dynar is free'd two lines below...

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9609 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoFix and cleanups for test msg-icomms-waitany.
agiersch [Fri, 11 Feb 2011 17:00:50 +0000 (17:00 +0000)]
Fix and cleanups for test msg-icomms-waitany.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9608 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoFree mallocator for SIMIX actions on exit.
agiersch [Fri, 11 Feb 2011 17:00:47 +0000 (17:00 +0000)]
Free mallocator for SIMIX actions on exit.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9607 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoAdd missing XBT_PUBLIC.
agiersch [Fri, 11 Feb 2011 17:00:44 +0000 (17:00 +0000)]
Add missing XBT_PUBLIC.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9606 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoRemove duplicated declaration.
agiersch [Fri, 11 Feb 2011 17:00:41 +0000 (17:00 +0000)]
Remove duplicated declaration.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9605 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoNeed to set DIR_IS_LINK for use pwd -P
navarrop [Fri, 11 Feb 2011 15:46:59 +0000 (15:46 +0000)]
Need to set DIR_IS_LINK for use pwd -P

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9604 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoUse verbose instead of debug-
cristianrosa [Thu, 10 Feb 2011 15:37:42 +0000 (15:37 +0000)]
Use verbose instead of debug-

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9602 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoCompute the user code execution time
cristianrosa [Thu, 10 Feb 2011 15:37:31 +0000 (15:37 +0000)]
Compute the user code execution time

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9601 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoShow also the sub-scheduling rounds.
cristianrosa [Thu, 10 Feb 2011 15:37:29 +0000 (15:37 +0000)]
Show also the sub-scheduling rounds.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9600 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoAdd a verification on gcc version.
navarrop [Thu, 10 Feb 2011 12:57:15 +0000 (12:57 +0000)]
Add a verification on gcc version.
On mac we must have gcc45.
Set by default to gcc40 for other.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9599 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agomake jedule compilable with all warning flags
sahu [Wed, 9 Feb 2011 11:40:17 +0000 (11:40 +0000)]
make jedule compilable with all warning flags

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9597 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agojed output written to simgrid.jed
sahu [Wed, 9 Feb 2011 11:40:16 +0000 (11:40 +0000)]
jed output written to simgrid.jed

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9596 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoadded jedule output to SimDAG
sahu [Wed, 9 Feb 2011 11:40:14 +0000 (11:40 +0000)]
added jedule output to SimDAG

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9595 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agojedule binding to SD started
sahu [Wed, 9 Feb 2011 11:40:11 +0000 (11:40 +0000)]
jedule binding to SD started

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9594 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoSimix: add requests to make isend+wait or irecv+wait in only one call
thiery [Tue, 8 Feb 2011 17:37:25 +0000 (17:37 +0000)]
Simix: add requests to make isend+wait or irecv+wait in only one call

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9593 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoChord: display the number of messages created
thiery [Tue, 8 Feb 2011 17:37:22 +0000 (17:37 +0000)]
Chord: display the number of messages created

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9592 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoIt does not work on apple to.
navarrop [Tue, 8 Feb 2011 16:18:45 +0000 (16:18 +0000)]
It does not work on apple to.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9591 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoThose lines are UNIX only.
navarrop [Tue, 8 Feb 2011 16:08:05 +0000 (16:08 +0000)]
Those lines are UNIX only.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9590 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoAdd tests for code covergae.
navarrop [Tue, 8 Feb 2011 16:08:04 +0000 (16:08 +0000)]
Add tests for code covergae.
Tests for :
get_network_element_type(key)
Model Dijkstra

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9589 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years ago[trace] process container creation must be before simix request
schnorr [Mon, 7 Feb 2011 15:26:59 +0000 (15:26 +0000)]
[trace] process container creation must be before simix request

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9588 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoRemoved unnecessary print on master process, tests now cope with this change.
velho [Mon, 7 Feb 2011 13:41:43 +0000 (13:41 +0000)]
Removed unnecessary print on master process, tests now cope with this change.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9587 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoRemoved master message to improve output readability.
velho [Mon, 7 Feb 2011 13:41:40 +0000 (13:41 +0000)]
Removed master message to improve output readability.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9586 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years ago[trace] updating tesh'es to consider the new event in tracefile
schnorr [Mon, 7 Feb 2011 13:36:40 +0000 (13:36 +0000)]
[trace] updating tesh'es to consider the new event in tracefile

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9585 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years ago[trace] only one id generator for tracing system
schnorr [Mon, 7 Feb 2011 13:36:38 +0000 (13:36 +0000)]
[trace] only one id generator for tracing system

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9584 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years ago[trace] free the type values
schnorr [Mon, 7 Feb 2011 13:36:38 +0000 (13:36 +0000)]
[trace] free the type values

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9583 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years ago[trace] new data structure to hold values of states, events and links
schnorr [Mon, 7 Feb 2011 13:36:37 +0000 (13:36 +0000)]
[trace] new data structure to hold values of states, events and links

details:
- we save some trace space with this, by using aliases to state values
- links is yet to be done

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9582 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years ago[trace] removing unused code
schnorr [Mon, 7 Feb 2011 13:36:36 +0000 (13:36 +0000)]
[trace] removing unused code

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9581 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years ago[trace] better way of getting references to types
schnorr [Mon, 7 Feb 2011 13:36:35 +0000 (13:36 +0000)]
[trace] better way of getting references to types

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9580 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoDefine CONTEXT_THREADS in simgrid_config.h.
agiersch [Fri, 4 Feb 2011 15:50:10 +0000 (15:50 +0000)]
Define CONTEXT_THREADS in simgrid_config.h.

It is needed by include/simix/context.h, but it cannot include
gras_config.h which is not installed.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9579 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoDoctype as changed.
agiersch [Fri, 4 Feb 2011 15:50:06 +0000 (15:50 +0000)]
Doctype as changed.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9578 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years ago[trace] cleaner instrumentation
schnorr [Fri, 4 Feb 2011 14:09:33 +0000 (14:09 +0000)]
[trace] cleaner instrumentation

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9577 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years ago[trace] categories are only used for characterized resource utilization tracing
schnorr [Fri, 4 Feb 2011 14:09:31 +0000 (14:09 +0000)]
[trace] categories are only used for characterized resource utilization tracing

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9576 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years ago[trace] return NULL instead of launching exception if a container does not exists
schnorr [Fri, 4 Feb 2011 12:49:32 +0000 (12:49 +0000)]
[trace] return NULL instead of launching exception if a container does not exists

details:
- it shouldn't be like this, but it is the easy way of ignoring updates
on links such as the __lookback__, not known by the tracing before-hand

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9575 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agomodel-check output more parsable
schnorr [Fri, 4 Feb 2011 09:52:41 +0000 (09:52 +0000)]
model-check output more parsable

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9574 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoChoose between parallel and serial dynamically only if needed
thiery [Thu, 3 Feb 2011 18:39:39 +0000 (18:39 +0000)]
Choose between parallel and serial dynamically only if needed

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9573 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoVarious optimizations
thiery [Thu, 3 Feb 2011 17:09:11 +0000 (17:09 +0000)]
Various optimizations

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9572 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoThis action name is not used
thiery [Thu, 3 Feb 2011 15:52:14 +0000 (15:52 +0000)]
This action name is not used

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9571 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoThe process list of MSG is now a swag instead of a fifo.
thiery [Thu, 3 Feb 2011 13:20:47 +0000 (13:20 +0000)]
The process list of MSG is now a swag instead of a fifo.

When a process finishes, MSG removes it from the list and this operation
was not efficient with a fifo.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9570 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoOptimization of the lmm_variable_t mallocator
thiery [Thu, 3 Feb 2011 09:30:39 +0000 (09:30 +0000)]
Optimization of the lmm_variable_t mallocator

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9569 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoLarge-scale simulations need bigger mallocators
thiery [Wed, 2 Feb 2011 17:13:35 +0000 (17:13 +0000)]
Large-scale simulations need bigger mallocators

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9568 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoUse a mallocator for SIMIX actions
thiery [Wed, 2 Feb 2011 16:50:16 +0000 (16:50 +0000)]
Use a mallocator for SIMIX actions

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9567 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoOptimize xbt heaps a little bit: xbt_heap_pop() is 18% faster now
thiery [Wed, 2 Feb 2011 16:50:14 +0000 (16:50 +0000)]
Optimize xbt heaps a little bit: xbt_heap_pop() is 18% faster now

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9566 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoC99 allows us to put %zu after all
thiery [Wed, 2 Feb 2011 16:50:10 +0000 (16:50 +0000)]
C99 allows us to put %zu after all

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9565 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years ago[trace] fixing tracing tesh'es due to changes in event order
schnorr [Wed, 2 Feb 2011 13:23:20 +0000 (13:23 +0000)]
[trace] fixing tracing tesh'es due to changes in event order

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9564 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years ago[trace] constant model is explicitly not traced
schnorr [Wed, 2 Feb 2011 10:53:29 +0000 (10:53 +0000)]
[trace] constant model is explicitly not traced

details:
- this resolves a segfault when network constant model is used
with --cfg=tracing:1

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9563 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoA cast is needed here to avoid warnings in both 32 bit and 64 bit
thiery [Wed, 2 Feb 2011 10:37:26 +0000 (10:37 +0000)]
A cast is needed here to avoid warnings in both 32 bit and 64 bit

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9562 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoFix a compilation warning introduced by r9557
thiery [Tue, 1 Feb 2011 17:39:47 +0000 (17:39 +0000)]
Fix a compilation warning introduced by r9557

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9561 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoAdd a flag --cfg=contexts/parallel_threshold:n
thiery [Tue, 1 Feb 2011 17:34:19 +0000 (17:34 +0000)]
Add a flag --cfg=contexts/parallel_threshold:n

At each scheduling rounding, the user contexts are run in
parallel if their number is greater than this threshold.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9560 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoAdd parallel contexts test binary to .gitignore
thiery [Tue, 1 Feb 2011 16:31:18 +0000 (16:31 +0000)]
Add parallel contexts test binary to .gitignore

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9559 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoRemove SIMIX requests that get src and dst buffers and their sizes
thiery [Tue, 1 Feb 2011 16:31:16 +0000 (16:31 +0000)]
Remove SIMIX requests that get src and dst buffers and their sizes

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9558 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoUse a mallocator for the Surf actions
thiery [Tue, 1 Feb 2011 16:31:14 +0000 (16:31 +0000)]
Use a mallocator for the Surf actions

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9557 48e7efb5-ca39-0410-a469-dd3cf9ba447f

8 years agoForgot void inside parenthesis
thiery [Tue, 1 Feb 2011 16:31:12 +0000 (16:31 +0000)]
Forgot void inside parenthesis

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9556 48e7efb5-ca39-0410-a469-dd3cf9ba447f