Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
15 years agoPlug a memleak.
alegrand [Tue, 17 Jun 2008 13:55:23 +0000 (13:55 +0000)]
Plug a memleak.

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

15 years agofix teshfiles accordingly
alegrand [Tue, 17 Jun 2008 13:55:18 +0000 (13:55 +0000)]
fix teshfiles accordingly

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

15 years agoPlug some memleaks by a cleaner management of surfxml_bufferstack.
alegrand [Tue, 17 Jun 2008 13:55:14 +0000 (13:55 +0000)]
Plug some memleaks by a cleaner management of surfxml_bufferstack.

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

15 years agoPlug a memleak.
alegrand [Tue, 17 Jun 2008 13:55:05 +0000 (13:55 +0000)]
Plug a memleak.

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

15 years agoPlug a memleak.
alegrand [Tue, 17 Jun 2008 13:54:54 +0000 (13:54 +0000)]
Plug a memleak.

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

15 years agoPlug a memleak.
alegrand [Tue, 17 Jun 2008 13:54:49 +0000 (13:54 +0000)]
Plug a memleak.

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

15 years agomove set_list initialization to where initializations are done
alegrand [Tue, 17 Jun 2008 13:54:43 +0000 (13:54 +0000)]
move set_list initialization to where initializations are done

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

15 years agoFinally kill the memleak in the route parsing (I hope).
alegrand [Mon, 16 Jun 2008 21:05:34 +0000 (21:05 +0000)]
Finally kill the memleak in the route parsing (I hope).

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

15 years agoUggly and naughty memleak that caused a lots of performance problems !
alegrand [Mon, 16 Jun 2008 12:54:12 +0000 (12:54 +0000)]
Uggly and naughty memleak that caused a lots of performance problems !

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

15 years agoCosmetics
alegrand [Mon, 16 Jun 2008 12:54:05 +0000 (12:54 +0000)]
Cosmetics

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

15 years agoclean treatment of timeouts and cond_free.
alegrand [Mon, 16 Jun 2008 12:53:58 +0000 (12:53 +0000)]
clean treatment of timeouts and cond_free.

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

15 years agoYet another harmless optimizations
alegrand [Mon, 16 Jun 2008 12:53:50 +0000 (12:53 +0000)]
Yet another harmless optimizations

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

15 years agoHarmless optimization
alegrand [Mon, 16 Jun 2008 12:53:41 +0000 (12:53 +0000)]
Harmless optimization

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

15 years agoPotential bug fix.
alegrand [Thu, 12 Jun 2008 09:39:10 +0000 (09:39 +0000)]
Potential bug fix.

It may have happened that this cleanup is not done.

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

15 years agoBug fix
alegrand [Thu, 12 Jun 2008 09:39:07 +0000 (09:39 +0000)]
Bug fix

This check failed when selecting messages from a given host. It had to
be done even before entering this loop.

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

15 years agoAdd convenient debug function on conditions and use it in simix.
alegrand [Thu, 12 Jun 2008 09:38:58 +0000 (09:38 +0000)]
Add convenient debug function on conditions and use it in simix.

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

15 years agoindent -i2 -kr
alegrand [Thu, 12 Jun 2008 09:38:53 +0000 (09:38 +0000)]
indent -i2 -kr

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

15 years agodos2unix
alegrand [Thu, 12 Jun 2008 09:38:48 +0000 (09:38 +0000)]
dos2unix

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

15 years agoFactor most callback definitions.
alegrand [Thu, 12 Jun 2008 08:36:20 +0000 (08:36 +0000)]
Factor most callback definitions.

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

15 years agoAllow reinitialization after Martin's last memleak plug.
alegrand [Thu, 12 Jun 2008 08:07:36 +0000 (08:07 +0000)]
Allow reinitialization after Martin's last memleak plug.

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

15 years agoPlug a memleak.
alegrand [Wed, 11 Jun 2008 16:02:53 +0000 (16:02 +0000)]
Plug a memleak.

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

15 years agoMake cunit memory clean
mquinson [Tue, 10 Jun 2008 15:40:58 +0000 (15:40 +0000)]
Make cunit memory clean

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

15 years agoplug some little memleaks
mquinson [Tue, 10 Jun 2008 15:40:10 +0000 (15:40 +0000)]
plug some little memleaks

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

15 years agoMinor optimization.
alegrand [Tue, 10 Jun 2008 14:00:34 +0000 (14:00 +0000)]
Minor optimization.

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

15 years agoGet the debug output more verbose
mquinson [Tue, 10 Jun 2008 14:00:20 +0000 (14:00 +0000)]
Get the debug output more verbose

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

15 years agoClean and reorganize: move some frees to the right locations...
alegrand [Tue, 10 Jun 2008 13:23:35 +0000 (13:23 +0000)]
Clean and reorganize: move some frees to the right locations...

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

15 years agoFactorize some code in the parser, hide some functions and variables, avoid useless...
alegrand [Tue, 10 Jun 2008 12:59:38 +0000 (12:59 +0000)]
Factorize some code in the parser, hide some functions and variables, avoid useless calls, plug some memleaks.

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

15 years agoPlug a memleak
alegrand [Tue, 10 Jun 2008 12:59:32 +0000 (12:59 +0000)]
Plug a memleak

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

15 years agoPlug memleak.
alegrand [Tue, 10 Jun 2008 12:59:26 +0000 (12:59 +0000)]
Plug memleak.

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

15 years agoSome more debug output
mquinson [Tue, 10 Jun 2008 12:00:48 +0000 (12:00 +0000)]
Some more debug output

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

15 years agoplug memleaks
mquinson [Tue, 10 Jun 2008 11:57:57 +0000 (11:57 +0000)]
plug memleaks

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

15 years agoOups, I changed the prototype of these functions
mquinson [Tue, 10 Jun 2008 10:04:51 +0000 (10:04 +0000)]
Oups, I changed the prototype of these functions

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

15 years agouseless cleanup
mquinson [Tue, 10 Jun 2008 09:55:31 +0000 (09:55 +0000)]
useless cleanup

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

15 years agoallow to attribute a rank to slaves in peer groups. This allow to make tests with...
mquinson [Tue, 10 Jun 2008 09:08:32 +0000 (09:08 +0000)]
allow to attribute a rank to slaves in peer groups. This allow to make tests with more predicatable outputs. Also change the example outputs, also to make them more predictable.

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

15 years agono need to dupplicate the work of svn blame
mquinson [Tue, 10 Jun 2008 07:49:13 +0000 (07:49 +0000)]
no need to dupplicate the work of svn blame

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

15 years agouseless cleanup
mquinson [Tue, 10 Jun 2008 07:45:05 +0000 (07:45 +0000)]
useless cleanup

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

15 years agoCut a now useless dependency of surf.h to portable.h which would have caused the...
mquinson [Tue, 10 Jun 2008 07:39:49 +0000 (07:39 +0000)]
Cut a now useless dependency of surf.h to portable.h which would have caused the whole simulation world to be recompiled each time we reconfigure the source

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

15 years agoRemove the surf_*_model_description_size constants. They were hard to compute when...
mquinson [Tue, 10 Jun 2008 07:31:22 +0000 (07:31 +0000)]
Remove the surf_*_model_description_size constants. They were hard to compute when we add a new model, and we can go without them by using NULL terminated arrays

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

15 years agoPropagate recent modifications of change_host function to java.
alegrand [Mon, 9 Jun 2008 21:56:41 +0000 (21:56 +0000)]
Propagate recent modifications of change_host function to java.

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

15 years agolast changes of tesh2
cherierm [Mon, 9 Jun 2008 15:36:05 +0000 (15:36 +0000)]
last changes of tesh2

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

15 years agoRemoved duplicated declaration of surf_network_model_init_GTNETS in network_gtnets.c .
velho [Mon, 9 Jun 2008 11:26:46 +0000 (11:26 +0000)]
Removed duplicated declaration of surf_network_model_init_GTNETS in network_gtnets.c .

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

15 years agoAdded a properties field to struct network_card_GTNETS.
velho [Mon, 9 Jun 2008 11:26:42 +0000 (11:26 +0000)]
Added a properties field to struct network_card_GTNETS.

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

15 years agoMoving init_GTNETS function to the right place.
velho [Mon, 9 Jun 2008 11:26:39 +0000 (11:26 +0000)]
Moving init_GTNETS function to the right place.

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

15 years agoSDP compiling now, added header portable.h to header file and sdp.
velho [Mon, 9 Jun 2008 11:26:34 +0000 (11:26 +0000)]
SDP compiling now, added header portable.h to header file and sdp.

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

15 years agoReno2 now compatible with the new and more appropriated name for define_callbacks...
velho [Mon, 9 Jun 2008 11:26:29 +0000 (11:26 +0000)]
Reno2 now compatible with the new and more appropriated name for define_callbacks (old named parse_file).

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

15 years agoCorrect the network_model_description_size in order to include Reno2.
velho [Mon, 9 Jun 2008 11:26:26 +0000 (11:26 +0000)]
Correct the network_model_description_size in order to include Reno2.

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

15 years agoAdded Reno2, a model that takes 2W/RTT as the utility parameter in the Low proposed...
velho [Mon, 9 Jun 2008 11:26:22 +0000 (11:26 +0000)]
Added Reno2, a model that takes 2W/RTT as the utility parameter in the Low proposed Reno bandwidth sharing model.

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

15 years agoAdded a function and the bound to the variable structure.
velho [Mon, 9 Jun 2008 11:26:18 +0000 (11:26 +0000)]
Added a function and the bound to the variable structure.

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

15 years agoAdded the feature of getting remaining communication from gtnets flows.
velho [Mon, 9 Jun 2008 11:26:14 +0000 (11:26 +0000)]
Added the feature of getting remaining communication from gtnets flows.

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

15 years agoFixed small bug when running_actions were empty.
velho [Mon, 9 Jun 2008 11:26:10 +0000 (11:26 +0000)]
Fixed small bug when running_actions were empty.

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

15 years agoMake GTNETS compatible with new parsing and variable name convention.
velho [Mon, 9 Jun 2008 11:26:07 +0000 (11:26 +0000)]
Make GTNETS compatible with new parsing and variable name convention.

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

15 years agoUse the same type name (network_link_GTNETS_t) as in the private header.
velho [Mon, 9 Jun 2008 11:26:04 +0000 (11:26 +0000)]
Use the same type name (network_link_GTNETS_t) as in the private header.

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

15 years agoBetter management of additionnal network models
velho [Mon, 9 Jun 2008 11:26:01 +0000 (11:26 +0000)]
Better management of additionnal network models

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

15 years agoClean up the mess. Now the GTNETS and SDP detection are clean.
velho [Mon, 9 Jun 2008 11:25:57 +0000 (11:25 +0000)]
Clean up the mess. Now the GTNETS and SDP detection are clean.

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

15 years agoAfter extensible reading in automake info files the AC_DEFINE is not used for definin...
velho [Mon, 9 Jun 2008 11:25:53 +0000 (11:25 +0000)]
After extensible reading in automake info files the AC_DEFINE is not used for defining a macro directly it only creates a config.in.h to autoheaders or to the temporary tests. For the moment the best opition is to put this -D... flag for all compilations.

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

15 years agoEnsure that the random generator respects the provided mean and standard deviation...
mquinson [Mon, 9 Jun 2008 09:04:32 +0000 (09:04 +0000)]
Ensure that the random generator respects the provided mean and standard deviation. Based on a patch from Louis-Claude Canon, thanks

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

15 years agoRodrigo Righi patch to enable migration.
alegrand [Sat, 7 Jun 2008 14:09:22 +0000 (14:09 +0000)]
Rodrigo Righi patch to enable migration.

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

15 years agoRevalidate "output" avec Benjamin Depardon's bug correction.
alegrand [Sat, 7 Jun 2008 13:59:21 +0000 (13:59 +0000)]
Revalidate "output" avec Benjamin Depardon's bug correction.

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

15 years agoFix the bug raised by Benjamin Depardon.
alegrand [Sat, 7 Jun 2008 13:45:22 +0000 (13:45 +0000)]
Fix the bug raised by Benjamin Depardon.

  The usage of this changed_state attribute was "premature
  optimization". The use of FIFO mode complicates the call path and
  makes things more complicated. That is why I've finally decide to
  use a clean dynar...

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

15 years agoa win32 auto.tesh (because echo test and pwd do not exist on Windows)
cherierm [Fri, 6 Jun 2008 15:58:32 +0000 (15:58 +0000)]
a win32 auto.tesh (because echo test and pwd do not exist on Windows)

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

15 years agolast change of Tesh2
cherierm [Fri, 6 Jun 2008 15:55:38 +0000 (15:55 +0000)]
last change of Tesh2

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

15 years agoCorrected small bug in network model host_number is used instead of card_number.
velho [Fri, 6 Jun 2008 10:27:48 +0000 (10:27 +0000)]
Corrected small bug in network model host_number is used instead of card_number.

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

15 years agoSome extra check to ensure portability
mquinson [Thu, 5 Jun 2008 14:34:18 +0000 (14:34 +0000)]
Some extra check to ensure portability

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

15 years agomalloc(0) fails on AIX
mquinson [Thu, 5 Jun 2008 14:25:22 +0000 (14:25 +0000)]
malloc(0) fails on AIX

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

15 years agodamn ANSI C
mquinson [Thu, 5 Jun 2008 10:03:14 +0000 (10:03 +0000)]
damn ANSI C

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

15 years agoOps, sorry windows. I'll stick to ANSI
mquinson [Wed, 4 Jun 2008 19:30:36 +0000 (19:30 +0000)]
Ops, sorry windows. I'll stick to ANSI

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

15 years agonot needed (use Cat.c instead)
cherierm [Wed, 4 Jun 2008 17:54:32 +0000 (17:54 +0000)]
not needed (use Cat.c instead)

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

15 years agoa example of Tesh variables
cherierm [Wed, 4 Jun 2008 17:50:44 +0000 (17:50 +0000)]
a example of Tesh variables

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

15 years agonot needed
cherierm [Wed, 4 Jun 2008 17:48:52 +0000 (17:48 +0000)]
not needed

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

15 years agosource code to manage the Windows Unix and Mac file formats.
cherierm [Wed, 4 Jun 2008 17:47:23 +0000 (17:47 +0000)]
source code to manage the Windows Unix and Mac file formats.

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

15 years agosource code used to check if a specified command exists (if the command checking...
cherierm [Wed, 4 Jun 2008 17:45:41 +0000 (17:45 +0000)]
source code used to check if a specified command exists (if the command checking is enabled)

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

15 years agoa text file which contains the list of sh built-ins.
cherierm [Wed, 4 Jun 2008 17:43:42 +0000 (17:43 +0000)]
a text file which contains the list of sh built-ins.

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

15 years agosome new files used to check Tesh
cherierm [Wed, 4 Jun 2008 17:41:51 +0000 (17:41 +0000)]
some new files used to check Tesh

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

15 years agoLast corrections of Tesh tool.
cherierm [Wed, 4 Jun 2008 17:39:00 +0000 (17:39 +0000)]
Last corrections of Tesh tool.

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

15 years agokill dead code
mquinson [Wed, 4 Jun 2008 16:15:44 +0000 (16:15 +0000)]
kill dead code

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

15 years agoplug a memleak on thread cancelation (gras listener are always canceled)
mquinson [Wed, 4 Jun 2008 16:11:13 +0000 (16:11 +0000)]
plug a memleak on thread cancelation (gras listener are always canceled)

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

15 years agofix expected output
mquinson [Wed, 4 Jun 2008 16:09:54 +0000 (16:09 +0000)]
fix expected output

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

15 years agoSolve the empty_main bug: simply yield main gras thread right after the listener...
mquinson [Wed, 4 Jun 2008 16:05:55 +0000 (16:05 +0000)]
Solve the empty_main bug: simply yield main gras thread right after the listener creation so that it gets a chance to finish its initialization before we cancel it right away if the main is empty

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

15 years agoSome more debug output to understand the gras/empty_main bug
mquinson [Wed, 4 Jun 2008 16:04:24 +0000 (16:04 +0000)]
Some more debug output to understand the gras/empty_main bug

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

15 years agoMake sure all the source files have an reference of the copyright and of the licence
mquinson [Wed, 4 Jun 2008 15:16:26 +0000 (15:16 +0000)]
Make sure all the source files have an reference of the copyright and of the licence

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

15 years agoInform valgrind about ucontextes [Sékou Diakite]
mquinson [Tue, 3 Jun 2008 20:56:06 +0000 (20:56 +0000)]
Inform valgrind about ucontextes [Sékou Diakite]

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

15 years agoWell. Some of the tests do not fail
mquinson [Tue, 3 Jun 2008 20:53:20 +0000 (20:53 +0000)]
Well. Some of the tests do not fail

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

15 years agoOk, amok tests do fail. I know that, but I'm sick of delaying the release for that...
mquinson [Tue, 3 Jun 2008 20:36:52 +0000 (20:36 +0000)]
Ok, amok tests do fail. I know that, but I'm sick of delaying the release for that piece of code that nobody uses (beside Lionel of course)

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

15 years agoWell, actually, yes, top_srcdir is supposed to be a relative path. But since it's...
mquinson [Tue, 3 Jun 2008 16:04:43 +0000 (16:04 +0000)]
Well, actually, yes, top_srcdir is supposed to be a relative path. But since it's not in eclipse, let's go for abs_top_srcdir instead of crude hacks around the directory when calling a command from a subdir

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

15 years agotop_srcdir is not supposed to be a relative path
mquinson [Tue, 3 Jun 2008 15:56:24 +0000 (15:56 +0000)]
top_srcdir is not supposed to be a relative path

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

15 years agotop_srcdir is not supposed to be a relative path
mquinson [Tue, 3 Jun 2008 15:53:43 +0000 (15:53 +0000)]
top_srcdir is not supposed to be a relative path

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

15 years agodos2unix + indent
mquinson [Tue, 27 May 2008 10:13:00 +0000 (10:13 +0000)]
dos2unix + indent

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

15 years agothe makefile used on bob
cherierm [Thu, 22 May 2008 12:06:20 +0000 (12:06 +0000)]
the makefile used on bob

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

15 years agonot needed
cherierm [Thu, 22 May 2008 12:04:26 +0000 (12:04 +0000)]
not needed

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

15 years agoDisplay any possible format sequence when the user provided an invalid one
mquinson [Wed, 21 May 2008 18:28:29 +0000 (18:28 +0000)]
Display any possible format sequence when the user provided an invalid one

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

15 years agoThese files are missing from the archive sometimes
mquinson [Wed, 21 May 2008 15:48:07 +0000 (15:48 +0000)]
These files are missing from the archive sometimes

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

15 years agoBecause of numerical stability issues (once again), the timings are not exactly the...
mquinson [Wed, 21 May 2008 15:35:48 +0000 (15:35 +0000)]
Because of numerical stability issues (once again), the timings are not exactly the same on 32bits and 64bits for the small_sleep test case

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

15 years agoDamn. The order of events changed again in surf. Revalidate once again
mquinson [Wed, 21 May 2008 15:29:47 +0000 (15:29 +0000)]
Damn. The order of events changed again in surf. Revalidate once again

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

15 years agoDamn. The order of events changed again in surf. Revalidate once again
mquinson [Wed, 21 May 2008 15:28:38 +0000 (15:28 +0000)]
Damn. The order of events changed again in surf. Revalidate once again

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

15 years agoRefactoring of code and documentation.
cherierm [Wed, 21 May 2008 15:11:47 +0000 (15:11 +0000)]
Refactoring of code and documentation.

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

15 years agoAdd a class of exception for file not found and Msg files containing the declarations...
cherierm [Wed, 21 May 2008 15:11:19 +0000 (15:11 +0000)]
Add a class of exception for file not found and Msg files containing the declarations and implementation of the function connected to MSG.

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

15 years agoalso capture the output of the tests (which all write to stderr)
mquinson [Wed, 21 May 2008 15:00:43 +0000 (15:00 +0000)]
also capture the output of the tests (which all write to stderr)

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

15 years agokill all free_string functions declared locally to cleanup dynars afterward, and...
mquinson [Wed, 21 May 2008 14:58:52 +0000 (14:58 +0000)]
kill all free_string functions declared locally to cleanup dynars afterward, and use xbt_free_ref consitantly for that (plus plug two memleaks on the way in surf parser)

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

15 years agoSpeed up update_action_state AND generic_maxmin_share for sleep actions with no maxim...
alegrand [Wed, 21 May 2008 13:48:56 +0000 (13:48 +0000)]
Speed up update_action_state AND generic_maxmin_share for sleep actions with no maximum duration.

These sleep actions are not put in the running_action swag but in
another private one. Thus, they're somehow hiden from the surf kernel
but it does not need to see them anyway. The cpu module takes care of
them as the only thing that might happen to them (from the surf kernel
perspective) would be to fail, which is now done through the
update_resource function.

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

15 years agoWell the output of printf("%p",NULL) might depend on the system. So let's use a more...
alegrand [Wed, 21 May 2008 09:53:01 +0000 (09:53 +0000)]
Well the output of printf("%p",NULL) might depend on the system. So let's use a more stable convetion and revalidate the output.

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