Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
13 years ago[trace] simpler verifications to see what is enabled before tracing
schnorr [Wed, 29 Dec 2010 13:53:57 +0000 (13:53 +0000)]
[trace] simpler verifications to see what is enabled before tracing

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

13 years ago[trace] kill dictionary that is no longer necessary
schnorr [Wed, 29 Dec 2010 13:53:56 +0000 (13:53 +0000)]
[trace] kill dictionary that is no longer necessary

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

13 years ago[trace] updating tracing tesh files to compare trace files also (and debug messages...
schnorr [Wed, 29 Dec 2010 12:44:08 +0000 (12:44 +0000)]
[trace] updating tracing tesh files to compare trace files also (and debug messages for ms.tesh)

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

13 years ago[trace] debug messages for tracing data structures (creation and destruction)
schnorr [Wed, 29 Dec 2010 12:44:07 +0000 (12:44 +0000)]
[trace] debug messages for tracing data structures (creation and destruction)

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

13 years ago[trace] debug messages for event buffering and tracing
schnorr [Wed, 29 Dec 2010 12:44:06 +0000 (12:44 +0000)]
[trace] debug messages for event buffering and tracing

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

13 years ago[trace] removing unused code
schnorr [Wed, 29 Dec 2010 12:44:05 +0000 (12:44 +0000)]
[trace] removing unused code

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

13 years ago[trace] dump previous events because container is about to be destroyed
schnorr [Wed, 29 Dec 2010 11:38:04 +0000 (11:38 +0000)]
[trace] dump previous events because container is about to be destroyed

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

13 years ago[trace] cosmetics
schnorr [Wed, 29 Dec 2010 11:38:04 +0000 (11:38 +0000)]
[trace] cosmetics

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

13 years ago[trace] only CPU models control the last timestamp to be dumped to trace file
schnorr [Wed, 29 Dec 2010 11:38:03 +0000 (11:38 +0000)]
[trace] only CPU models control the last timestamp to be dumped to trace file

details:
- for CPU model Cas01_fullupdate, it is safe to set TRACE_last_timestamp_to_dump to now-delta
- for CPU model Cas01, the last timestamp to be dumped must be equal
to the smaller cpu->last_update among all cpu resources
- for now, network models depend on cpu models to dump their events
       => if a simulator is configured to have only a network model, without
       an instrumented cpu model (or without a cpu model at all), the
       dump will occur only in the end of simulation.

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

13 years ago[trace] dump the sorted buffer at the end of every simulation round
schnorr [Wed, 29 Dec 2010 11:38:02 +0000 (11:38 +0000)]
[trace] dump the sorted buffer at the end of every simulation round

details:
- remember that this dump might do nothing if
the TRACE_last_timestamp_to_dump was not updated previously

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

13 years ago[trace] at the end of tracing, dump everything up to last simulated time
schnorr [Wed, 29 Dec 2010 11:38:01 +0000 (11:38 +0000)]
[trace] at the end of tracing, dump everything up to last simulated time

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

13 years ago[trace] limiting the dumping of buffered events to a given timestamp
schnorr [Wed, 29 Dec 2010 11:38:00 +0000 (11:38 +0000)]
[trace] limiting the dumping of buffered events to a given timestamp

details:
- the given timestamp is the one of variable TRACE_last_timestamp_to_dump
- this allows a better control of the dumping, so the tracing system
can dump at the same time it assures a perfectly time-ordered trace file

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

13 years ago[trace] have to dump the buffer, trace events might use the container that is about...
schnorr [Tue, 28 Dec 2010 23:19:50 +0000 (23:19 +0000)]
[trace] have to dump the buffer, trace events might use the container that is about to be freed

details:
- this only affects simulators with process migration
- this might break the timestamps order in the trace file,
a better solution consists in cleaning out from the buffer
only the affected events

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

13 years ago[trace] removing old code
schnorr [Tue, 28 Dec 2010 23:19:49 +0000 (23:19 +0000)]
[trace] removing old code

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

13 years ago[trace] free memory after events are recorded in trace file
schnorr [Tue, 28 Dec 2010 23:19:47 +0000 (23:19 +0000)]
[trace] free memory after events are recorded in trace file

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

13 years ago[trace] same field order for all specific event structures
schnorr [Tue, 28 Dec 2010 23:19:46 +0000 (23:19 +0000)]
[trace] same field order for all specific event structures

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

13 years ago[trace] buffering all events except type hierarchy definition and create/destroy...
schnorr [Tue, 28 Dec 2010 23:19:44 +0000 (23:19 +0000)]
[trace] buffering all events except type hierarchy definition and create/destroy container

todo:
- leaking memory now, to be fixed in the next commits

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

13 years ago[trace] set of initial value of variables to any resource variable
schnorr [Tue, 28 Dec 2010 23:19:42 +0000 (23:19 +0000)]
[trace] set of initial value of variables to any resource variable

details:
- otherwise paje won't simulate add/sub variable events

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

13 years ago[trace] simpler event types handling, integer of enum is the event identifier
schnorr [Tue, 28 Dec 2010 23:19:40 +0000 (23:19 +0000)]
[trace] simpler event types handling, integer of enum is the event identifier

details:
- we have now 15 paje events on the trace header

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

13 years ago[trace] re-organizing structures for tracing events
schnorr [Tue, 28 Dec 2010 09:37:59 +0000 (09:37 +0000)]
[trace] re-organizing structures for tracing events

details:
- paje_event_t is allocated by all types, data field contains
specific information. it is possible to cast correctly following
the event_type value.

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

13 years ago[trace] removing unused fields on event structure
schnorr [Tue, 28 Dec 2010 09:37:58 +0000 (09:37 +0000)]
[trace] removing unused fields on event structure

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

13 years ago[trace] creation of a type also defines its own color, when appropriate
schnorr [Tue, 28 Dec 2010 09:37:57 +0000 (09:37 +0000)]
[trace] creation of a type also defines its own color, when appropriate

details:
- colors are significant only if type is variable or event, otherwise
the type color attribute is NULL.
- if no color is provided when a variable or event type is defined,
its color will be white.

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

13 years ago[trace] cosmetics, simpler code
schnorr [Tue, 28 Dec 2010 09:37:56 +0000 (09:37 +0000)]
[trace] cosmetics, simpler code

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

13 years ago[trace] changing the interface to write on the tracing file
schnorr [Mon, 27 Dec 2010 16:56:16 +0000 (16:56 +0000)]
[trace] changing the interface to write on the tracing file

details:
- this is a first step towards event buffering and friends

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

13 years ago[trace] updating the configuration generated for triva
schnorr [Wed, 22 Dec 2010 18:37:54 +0000 (18:37 +0000)]
[trace] updating the configuration generated for triva

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

13 years ago[trace] register of node and edge types that were defined during tracing
schnorr [Wed, 22 Dec 2010 18:37:52 +0000 (18:37 +0000)]
[trace] register of node and edge types that were defined during tracing

details:
- they are used to generate triva graph configurations

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

13 years ago[trace] keep tracing data structures until the very last moment before shutdown
schnorr [Wed, 22 Dec 2010 18:37:51 +0000 (18:37 +0000)]
[trace] keep tracing data structures until the very last moment before shutdown

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

13 years ago[trace] this problem is already fixed in a previous commit
schnorr [Wed, 22 Dec 2010 18:37:49 +0000 (18:37 +0000)]
[trace] this problem is already fixed in a previous commit

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

13 years ago[trace] cosmetics
schnorr [Wed, 22 Dec 2010 18:37:48 +0000 (18:37 +0000)]
[trace] cosmetics

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

13 years ago[trace] a source file to keep functions to deal with data structures for paje tracing
schnorr [Wed, 22 Dec 2010 18:37:46 +0000 (18:37 +0000)]
[trace] a source file to keep functions to deal with data structures for paje tracing

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

13 years ago[trace] renaming instrumentation source file
schnorr [Wed, 22 Dec 2010 18:37:45 +0000 (18:37 +0000)]
[trace] renaming instrumentation source file

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

13 years ago[trace] assertions to point out errors on tracing
schnorr [Wed, 22 Dec 2010 18:37:43 +0000 (18:37 +0000)]
[trace] assertions to point out errors on tracing

details:
- all char parameters of these functions must be non-NULL
and have at least one character

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

13 years agoNew way to install gtnets.
navarrop [Wed, 22 Dec 2010 14:55:34 +0000 (14:55 +0000)]
New way to install gtnets.

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

13 years agoUpdate tesh.pl
navarrop [Wed, 22 Dec 2010 14:55:33 +0000 (14:55 +0000)]
Update tesh.pl

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

13 years agoUpdate tesh file for gtnets.
navarrop [Wed, 22 Dec 2010 14:55:32 +0000 (14:55 +0000)]
Update tesh file for gtnets.

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

13 years ago[trace] fix on link type creation (was indexed by type name, but should consider...
schnorr [Wed, 22 Dec 2010 13:45:09 +0000 (13:45 +0000)]
[trace] fix on link type creation (was indexed by type name, but should consider source and dest)

details:
- small re-organization of the code, type declaration is made on get function
if the type the caller is looking for is not found

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

13 years ago[trace] fix on use of dynar, storing pointers in it, have to correctly cast when...
schnorr [Mon, 20 Dec 2010 16:50:11 +0000 (16:50 +0000)]
[trace] fix on use of dynar, storing pointers in it, have to correctly cast when getting them back

details:
- this fix a segfault when destroying containers and freeing memory

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

13 years ago[trace] category of a task without before dependencies equals the category of the...
schnorr [Mon, 20 Dec 2010 14:33:34 +0000 (14:33 +0000)]
[trace] category of a task without before dependencies equals the category of the task of after dependency

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

13 years ago[trace] fix segfault, only get category from depbefore if depbefore->src is different...
schnorr [Mon, 20 Dec 2010 14:33:33 +0000 (14:33 +0000)]
[trace] fix segfault, only get category from depbefore if depbefore->src is different of NULL

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

13 years agoBugfix: return after answering the request when running in MC mode.
cristianrosa [Mon, 20 Dec 2010 09:45:39 +0000 (09:45 +0000)]
Bugfix: return after answering the request when running in MC mode.
Othrewise it will answer the request twice.

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

13 years agoImprove debugging information
cristianrosa [Mon, 20 Dec 2010 09:45:36 +0000 (09:45 +0000)]
Improve debugging information

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

13 years agoProtect some host execute functions in the case that simix actions don't have a surf...
cristianrosa [Mon, 20 Dec 2010 09:45:32 +0000 (09:45 +0000)]
Protect some host execute functions in the case that simix actions don't have a surf action associated to it.
This is the case when running the MC

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

13 years agoLonger error messages taken into account
suter [Sat, 18 Dec 2010 13:56:27 +0000 (13:56 +0000)]
Longer error messages taken into account

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

13 years agoFix the fix that fixes parameter passing through makecontext.
pini [Sat, 18 Dec 2010 09:09:17 +0000 (09:09 +0000)]
Fix the fix that fixes parameter passing through makecontext.

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

13 years agoexplain clearly when things go wrong just because we broke the backward compatibility
mquinson [Fri, 17 Dec 2010 20:33:27 +0000 (20:33 +0000)]
explain clearly when things go wrong just because we broke the backward compatibility

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

13 years agoOnly evaluate the arguments needed.
pini [Fri, 17 Dec 2010 20:21:16 +0000 (20:21 +0000)]
Only evaluate the arguments needed.

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

13 years agofix a linking error in libgras. At least I hope since another issue prevents me from...
mquinson [Fri, 17 Dec 2010 19:54:40 +0000 (19:54 +0000)]
fix a linking error in libgras. At least I hope since another issue prevents me from even compiling...

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

13 years agoBugfix: assuming that arguments are pushed on the stack is just wrong at least on...
pini [Fri, 17 Dec 2010 14:45:19 +0000 (14:45 +0000)]
Bugfix: assuming that arguments are pushed on the stack is just wrong at least on some 64 bits machines.

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

13 years agoAdd include/xbt/parmap.h to install target.
navarrop [Fri, 17 Dec 2010 11:55:41 +0000 (11:55 +0000)]
Add include/xbt/parmap.h to install target.

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

13 years agoAdd bin graphicator to gitignore.
navarrop [Fri, 17 Dec 2010 11:55:40 +0000 (11:55 +0000)]
Add bin graphicator to gitignore.

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

13 years agoAdd functions to tesh.pl
navarrop [Fri, 17 Dec 2010 11:55:38 +0000 (11:55 +0000)]
Add functions to tesh.pl

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

13 years agoFix memory leaks
thiery [Fri, 17 Dec 2010 11:00:20 +0000 (11:00 +0000)]
Fix memory leaks

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

13 years agothis line is not only UGLY, but it exists a path where it could be dangerous. Good...
mquinson [Fri, 17 Dec 2010 09:22:44 +0000 (09:22 +0000)]
this line is not only UGLY, but it exists a path where it could be dangerous. Good catch cppcheck

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

13 years agoprivatize static globals so that supernovae works again
mquinson [Fri, 17 Dec 2010 08:47:07 +0000 (08:47 +0000)]
privatize static globals so that supernovae works again

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

13 years agokill pimples in SIMIX intended to make the stack-free context factory working: this...
mquinson [Fri, 17 Dec 2010 08:38:50 +0000 (08:38 +0000)]
kill pimples in SIMIX intended to make the stack-free context factory working: this attempt was abandoned

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

13 years agoload the right header to make sure that we have getline
mquinson [Fri, 17 Dec 2010 08:38:48 +0000 (08:38 +0000)]
load the right header to make sure that we have getline

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

13 years agoDocument lastest change from Midjy (since he doesn't do it himself ;)
mquinson [Fri, 17 Dec 2010 08:38:39 +0000 (08:38 +0000)]
Document lastest change from Midjy (since he doesn't do it himself ;)

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

13 years agoChord finally beats the deadlocks
thiery [Thu, 16 Dec 2010 18:16:34 +0000 (18:16 +0000)]
Chord finally beats the deadlocks

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

13 years agoThe term 'request' was misleading here
thiery [Thu, 16 Dec 2010 18:16:31 +0000 (18:16 +0000)]
The term 'request' was misleading here

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

13 years agoRemove generated file
thiery [Thu, 16 Dec 2010 16:20:34 +0000 (16:20 +0000)]
Remove generated file

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

13 years agoBugfix: deadlock detection was wrong. Reimplemented.
cristianrosa [Thu, 16 Dec 2010 16:16:11 +0000 (16:16 +0000)]
Bugfix: deadlock detection was wrong. Reimplemented.

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

13 years agoBugfix: correctly set/unset the raw memory when taking/restoring snapshots
cristianrosa [Thu, 16 Dec 2010 16:16:09 +0000 (16:16 +0000)]
Bugfix: correctly set/unset the raw memory when taking/restoring snapshots

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

13 years agoAdd deployment file for the bugged3 example.
cristianrosa [Thu, 16 Dec 2010 16:15:59 +0000 (16:15 +0000)]
Add deployment file for the bugged3 example.

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

13 years agoImprove the debugging information
cristianrosa [Thu, 16 Dec 2010 16:15:57 +0000 (16:15 +0000)]
Improve the debugging information

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

13 years agoBugfix: make sure we include the definition of HAVE_MC
cristianrosa [Thu, 16 Dec 2010 16:15:47 +0000 (16:15 +0000)]
Bugfix: make sure we include the definition of HAVE_MC

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

13 years agoBugfix: the example contained an non-intentional dead-lock.
cristianrosa [Thu, 16 Dec 2010 16:15:45 +0000 (16:15 +0000)]
Bugfix: the example contained an non-intentional dead-lock.

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

13 years agoHandle transfer failures in MSG_test, MSG_testany and MSG_waitany
thiery [Thu, 16 Dec 2010 13:29:29 +0000 (13:29 +0000)]
Handle transfer failures in MSG_test, MSG_testany and MSG_waitany

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

13 years agoChord: adding timeouts to avoid waiting forever
thiery [Thu, 16 Dec 2010 10:23:37 +0000 (10:23 +0000)]
Chord: adding timeouts to avoid waiting forever

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

13 years agoCompile fix: add a missing XBT_INLINE
thiery [Thu, 16 Dec 2010 09:43:33 +0000 (09:43 +0000)]
Compile fix: add a missing XBT_INLINE

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

13 years agoChord: implement the updated (and simpler) version of the paper
thiery [Wed, 15 Dec 2010 22:06:50 +0000 (22:06 +0000)]
Chord: implement the updated (and simpler) version of the paper

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

13 years agoAdd sort, buffer and mkfile to tesh.pl
navarrop [Wed, 15 Dec 2010 17:31:00 +0000 (17:31 +0000)]
Add sort, buffer and mkfile to tesh.pl

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

13 years agoAnswer the request as the last action on it (it will destroy it)
cristianrosa [Wed, 15 Dec 2010 17:14:59 +0000 (17:14 +0000)]
Answer the request as the last action on it (it will destroy it)

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

13 years agoFix the detection of the raw_heap when snapshoting
cristianrosa [Wed, 15 Dec 2010 17:14:57 +0000 (17:14 +0000)]
Fix the detection of the raw_heap when snapshoting

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

13 years agoMake the name of the tests more uniform
thiery [Wed, 15 Dec 2010 16:10:55 +0000 (16:10 +0000)]
Make the name of the tests more uniform

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

13 years agoImplementing concurrent join in Chord
thiery [Wed, 15 Dec 2010 16:10:53 +0000 (16:10 +0000)]
Implementing concurrent join in Chord

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

13 years agoFix race condition on task put/get
cristianrosa [Wed, 15 Dec 2010 16:05:22 +0000 (16:05 +0000)]
Fix race condition on task put/get

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

13 years agoDo not use the user data argument of isend.
cristianrosa [Wed, 15 Dec 2010 16:05:20 +0000 (16:05 +0000)]
Do not use the user data argument of isend.

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

13 years agoDo not use the data argument of isend anymore.
cristianrosa [Wed, 15 Dec 2010 16:05:18 +0000 (16:05 +0000)]
Do not use the data argument of isend anymore.

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

13 years agoImprove debugging information
cristianrosa [Wed, 15 Dec 2010 16:05:15 +0000 (16:05 +0000)]
Improve debugging information

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

13 years agoEliminated needless dictionary.
velho [Wed, 15 Dec 2010 16:02:11 +0000 (16:02 +0000)]
Eliminated needless dictionary.

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

13 years agoFixed the function that returns if a flows is limited by latency.
velho [Wed, 15 Dec 2010 15:55:38 +0000 (15:55 +0000)]
Fixed the function that returns if a flows is limited by latency.

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

13 years agoCope avec refurbished interface.
velho [Wed, 15 Dec 2010 15:55:36 +0000 (15:55 +0000)]
Cope avec refurbished interface.

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

13 years agoAdded the lazy management improvement for network models.
velho [Wed, 15 Dec 2010 15:55:33 +0000 (15:55 +0000)]
Added the lazy management improvement for network models.

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

13 years agoRedo a simple tesh.pl
navarrop [Wed, 15 Dec 2010 15:53:14 +0000 (15:53 +0000)]
Redo a simple tesh.pl

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

13 years agofix the logic of refcount in msg_task_t by ... killing it. It's now a boolean indicat...
mquinson [Wed, 15 Dec 2010 15:11:04 +0000 (15:11 +0000)]
fix the logic of refcount in msg_task_t by ... killing it. It's now a boolean indicating whether the task is used

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

13 years agoKill the braindead MSG_task_refcount_dec() function.
mquinson [Wed, 15 Dec 2010 15:11:01 +0000 (15:11 +0000)]
Kill the braindead MSG_task_refcount_dec() function.

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

13 years ago[trace] do not xbt_die if gtnets is traced
schnorr [Wed, 15 Dec 2010 14:35:49 +0000 (14:35 +0000)]
[trace] do not xbt_die if gtnets is traced

todo:
- gtnets network model currently is not working with the simulation tracing

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

13 years agoUpdate doc
alegrand [Wed, 15 Dec 2010 13:54:28 +0000 (13:54 +0000)]
Update doc

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

13 years agoFix another script.
navarrop [Wed, 15 Dec 2010 13:54:09 +0000 (13:54 +0000)]
Fix another script.

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

13 years agoFix code coverage on script.
navarrop [Wed, 15 Dec 2010 13:32:14 +0000 (13:32 +0000)]
Fix code coverage on script.

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

13 years agoCompile fix: typo in variable name.
cristianrosa [Wed, 15 Dec 2010 13:25:56 +0000 (13:25 +0000)]
Compile fix: typo in variable name.

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

13 years agoAdd a flag --cfg=simix/context to choose the context factory: ucontext,
thiery [Wed, 15 Dec 2010 13:15:11 +0000 (13:15 +0000)]
Add a flag --cfg=simix/context to choose the context factory: ucontext,
thread or raw

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

13 years agoFix script for pipol.
navarrop [Wed, 15 Dec 2010 13:06:36 +0000 (13:06 +0000)]
Fix script for pipol.

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

13 years ago[trace] bugfix, do not try to declare a NULL category
schnorr [Wed, 15 Dec 2010 09:11:48 +0000 (09:11 +0000)]
[trace] bugfix, do not try to declare a NULL category

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

13 years agoconvert msg/replay to modern replay things even in the tracing parts (sorry)
mquinson [Wed, 15 Dec 2010 09:00:12 +0000 (09:00 +0000)]
convert msg/replay to modern replay things even in the tracing parts (sorry)

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

13 years agoprotect this file against multiple inclusions to fix supernovae (oops)
mquinson [Wed, 15 Dec 2010 08:54:37 +0000 (08:54 +0000)]
protect this file against multiple inclusions to fix supernovae (oops)

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

13 years agoUse private futex commands
cristianrosa [Tue, 14 Dec 2010 17:05:54 +0000 (17:05 +0000)]
Use private futex commands

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

13 years agoReimplement parmap using futex based barriers.
cristianrosa [Tue, 14 Dec 2010 16:27:28 +0000 (16:27 +0000)]
Reimplement parmap using futex based barriers.
The fastest barrier implementation ever ;)

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

13 years agoFix problem with get_route in Dijkstra.
navarrop [Tue, 14 Dec 2010 16:16:34 +0000 (16:16 +0000)]
Fix problem with get_route in Dijkstra.

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

13 years agoFix bug when creating topology graph with model dijkstra.
navarrop [Tue, 14 Dec 2010 14:51:00 +0000 (14:51 +0000)]
Fix bug when creating topology graph with model dijkstra.

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