Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
2 years agoMerge branch 'clean_events' of github.com:Takishipp/simgrid into clean_events
Takishipp [Wed, 14 Jun 2017 07:40:20 +0000 (09:40 +0200)]
Merge branch 'clean_events' of github.com:Takishipp/simgrid into clean_events

2 years agoremove useless XBT_DEBUG
Takishipp [Wed, 14 Jun 2017 07:38:52 +0000 (09:38 +0200)]
remove useless XBT_DEBUG

2 years agoMerge branch 'master' into clean_events
Toufik Boubehziz [Wed, 14 Jun 2017 07:17:16 +0000 (09:17 +0200)]
Merge branch 'master' into clean_events

2 years agokill all trailling whitespaces
Martin Quinson [Tue, 13 Jun 2017 20:15:05 +0000 (22:15 +0200)]
kill all trailling whitespaces

This commit could have been called "VI VI VI, the editor of the beast"
:)

2 years agoplease codacy
Martin Quinson [Tue, 13 Jun 2017 20:06:10 +0000 (22:06 +0200)]
please codacy

2 years agoplease vera++: don't pass vectors by copy
Martin Quinson [Tue, 13 Jun 2017 19:58:34 +0000 (21:58 +0200)]
please vera++: don't pass vectors by copy

2 years agoUpdate changelog for SMPI before release, this time.
degomme [Tue, 13 Jun 2017 16:24:35 +0000 (18:24 +0200)]
Update changelog for SMPI before release, this time.

2 years agoplease sonar, damnit
Martin Quinson [Tue, 13 Jun 2017 16:03:57 +0000 (18:03 +0200)]
please sonar, damnit

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 13 Jun 2017 15:50:54 +0000 (17:50 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years agoplug leak
Frederic Suter [Tue, 13 Jun 2017 15:50:44 +0000 (17:50 +0200)]
plug leak

2 years agoEnergy: New function to update the consumption of all hosts at once
Martin Quinson [Tue, 13 Jun 2017 15:20:49 +0000 (17:20 +0200)]
Energy: New function to update the consumption of all hosts at once

2 years agoupdate requested changes
Takishipp [Tue, 13 Jun 2017 15:00:50 +0000 (17:00 +0200)]
update requested changes

2 years agoremove all the events that are called and destroyed one time
Takishipp [Tue, 13 Jun 2017 10:51:00 +0000 (12:51 +0200)]
remove all the events that are called and destroyed one time

2 years agoremove DefineVariableEvent
Takishipp [Tue, 13 Jun 2017 09:54:30 +0000 (11:54 +0200)]
remove DefineVariableEvent

2 years agoremove DefineContainerEvent
Takishipp [Tue, 13 Jun 2017 09:50:05 +0000 (11:50 +0200)]
remove DefineContainerEvent

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 13 Jun 2017 07:07:40 +0000 (09:07 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years agotry to please sonar in a new and innovative way
Martin Quinson [Mon, 12 Jun 2017 20:33:05 +0000 (22:33 +0200)]
try to please sonar in a new and innovative way

it's not quite happy about all our callbacks that don't use all their
parameters. Will see if commenting their names better fits its taste.

It may well find this disgusting too. Will see.

2 years agouse the current syntax in this doc snippet
Martin Quinson [Mon, 12 Jun 2017 20:24:40 +0000 (22:24 +0200)]
use the current syntax in this doc snippet

2 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Mon, 12 Jun 2017 20:23:57 +0000 (22:23 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

2 years agoa few smells less
Frederic Suter [Mon, 12 Jun 2017 12:35:36 +0000 (14:35 +0200)]
a few smells less

2 years agoremove some useless structures
Takishipp [Mon, 12 Jun 2017 11:57:04 +0000 (13:57 +0200)]
remove some useless structures

2 years agotry to reduce the ugliness of file management
Frederic Suter [Mon, 12 Jun 2017 11:27:13 +0000 (13:27 +0200)]
try to reduce the ugliness of file management
still a long way to go

2 years agothis is now useless
Frederic Suter [Mon, 12 Jun 2017 08:22:00 +0000 (10:22 +0200)]
this is now useless

2 years agoI'm at ns3.26 now
Martin Quinson [Sun, 11 Jun 2017 22:23:53 +0000 (00:23 +0200)]
I'm at ns3.26 now

2 years agoallow to declare an actor with parameter without going for a full class object
Martin Quinson [Sun, 11 Jun 2017 19:50:18 +0000 (21:50 +0200)]
allow to declare an actor with parameter without going for a full class object

2 years agoanother insider trick
Martin Quinson [Sun, 11 Jun 2017 09:45:42 +0000 (11:45 +0200)]
another insider trick

2 years agoNS3 probably don't like bandwidths in Bytes, so use bits
Martin Quinson [Sat, 10 Jun 2017 19:33:58 +0000 (21:33 +0200)]
NS3 probably don't like bandwidths in Bytes, so use bits

2 years agocosmetics
Martin Quinson [Fri, 9 Jun 2017 20:54:55 +0000 (22:54 +0200)]
cosmetics

2 years agomore doxygen fixes
Martin Quinson [Fri, 9 Jun 2017 13:17:08 +0000 (15:17 +0200)]
more doxygen fixes

2 years agofix a kind of parse error from doxygen
Martin Quinson [Fri, 9 Jun 2017 13:07:53 +0000 (15:07 +0200)]
fix a kind of parse error from doxygen

2 years agokill dead code and plug leak
Frederic Suter [Fri, 9 Jun 2017 04:31:32 +0000 (06:31 +0200)]
kill dead code and plug leak

2 years agowhy doesn't distcheck told me that !?!?
Frederic Suter [Thu, 8 Jun 2017 21:55:04 +0000 (23:55 +0200)]
why doesn't distcheck told me that !?!?

2 years agooops, another module was dropped
Frederic Suter [Thu, 8 Jun 2017 21:42:51 +0000 (23:42 +0200)]
oops, another module was dropped

2 years agoremove useless includes
Frederic Suter [Thu, 8 Jun 2017 21:33:33 +0000 (23:33 +0200)]
remove useless includes

2 years agofix by not using lib at all!
Frederic Suter [Thu, 8 Jun 2017 20:45:07 +0000 (22:45 +0200)]
fix by not using lib at all!

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 8 Jun 2017 20:00:13 +0000 (22:00 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years agotry to fix build
Frederic Suter [Thu, 8 Jun 2017 19:59:52 +0000 (21:59 +0200)]
try to fix build
still need this include

2 years agoMerge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Thu, 8 Jun 2017 19:27:18 +0000 (21:27 +0200)]
Merge branch 'master' of github.com:simgrid/simgrid

2 years agodistcheck cannot be trusted
Frederic Suter [Thu, 8 Jun 2017 19:10:11 +0000 (21:10 +0200)]
distcheck cannot be trusted

2 years agogetting closer: no more MSG_STORAGE_LEVEL
Frederic Suter [Thu, 8 Jun 2017 19:00:52 +0000 (21:00 +0200)]
getting closer: no more MSG_STORAGE_LEVEL
next step, stop using storage_lib in surf at all, now that it's a mere
map

2 years agoredefine sg_storage_t
Frederic Suter [Thu, 8 Jun 2017 16:49:43 +0000 (18:49 +0200)]
redefine sg_storage_t

2 years agoMerge pull request #184 from Takishipp/signals
Martin Quinson [Thu, 8 Jun 2017 15:29:00 +0000 (17:29 +0200)]
Merge pull request #184 from Takishipp/signals

getting sg_instr_AS_end through a signal structure

2 years agogetting sg_instr_AS_end through a signal structure
Takishipp [Thu, 8 Jun 2017 14:41:29 +0000 (16:41 +0200)]
getting sg_instr_AS_end through a signal structure

2 years agoMerge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Thu, 8 Jun 2017 12:58:25 +0000 (14:58 +0200)]
Merge branch 'master' of github.com:simgrid/simgrid

2 years agoMerge pull request #183 from Takishipp/leak_memory
Martin Quinson [Thu, 8 Jun 2017 12:56:05 +0000 (14:56 +0200)]
Merge pull request #183 from Takishipp/leak_memory

Correct the leak of memory that correspond to EndLinEvent

2 years agocorrect the leak of memory that correspond to EndLinEvent
Takishipp [Thu, 8 Jun 2017 12:22:35 +0000 (14:22 +0200)]
correct the leak of memory that correspond to EndLinEvent

2 years agouse ordered map when order is needed
Frederic Suter [Thu, 8 Jun 2017 06:45:03 +0000 (08:45 +0200)]
use ordered map when order is needed

2 years agouse pimpl/piface combo for s4u storage
Frederic Suter [Thu, 8 Jun 2017 05:34:16 +0000 (07:34 +0200)]
use pimpl/piface combo for s4u storage
not perfect but one more towards killing storage_lib (and xbt_lib)

2 years agoreindent
Frederic Suter [Wed, 7 Jun 2017 23:06:08 +0000 (01:06 +0200)]
reindent

2 years agokill dicts and unused code
Frederic Suter [Wed, 7 Jun 2017 22:07:25 +0000 (00:07 +0200)]
kill dicts and unused code

2 years agofix a race condition spotted by TSan
Martin Quinson [Wed, 7 Jun 2017 15:52:26 +0000 (17:52 +0200)]
fix a race condition spotted by TSan

I was hopping that it will help the msg-dht-parallel test that is
broken since a few days, but it's not sufficient. Will see what TSan
has to say next night.

2 years agodoc: move the option index to the top of page to make it visible
Martin Quinson [Wed, 7 Jun 2017 15:52:04 +0000 (17:52 +0200)]
doc: move the option index to the top of page to make it visible

2 years agosmall doc improvement
Martin Quinson [Wed, 7 Jun 2017 15:39:30 +0000 (17:39 +0200)]
small doc improvement

2 years agocreate a NetZone::onCreation signal and use it from instr
Martin Quinson [Wed, 7 Jun 2017 15:30:36 +0000 (17:30 +0200)]
create a NetZone::onCreation signal and use it from instr

2 years agoplug a memleak around instr
Martin Quinson [Wed, 7 Jun 2017 14:51:39 +0000 (16:51 +0200)]
plug a memleak around instr

3 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 6 Jun 2017 06:34:33 +0000 (08:34 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

3 years agotry to catch some leaks
Frederic Suter [Tue, 6 Jun 2017 06:30:31 +0000 (08:30 +0200)]
try to catch some leaks

3 years agofix S4U chord example \o/
Frederic Suter [Tue, 6 Jun 2017 01:46:51 +0000 (03:46 +0200)]
fix S4U chord example \o/

3 years agotiny stuff
Frederic Suter [Tue, 6 Jun 2017 01:02:02 +0000 (03:02 +0200)]
tiny stuff

3 years agoreindent
Martin Quinson [Mon, 5 Jun 2017 20:30:55 +0000 (22:30 +0200)]
reindent

3 years agomake it possible to return intrusive_ptr in simcalls
Martin Quinson [Sun, 4 Jun 2017 07:10:57 +0000 (09:10 +0200)]
make it possible to return intrusive_ptr in simcalls

3 years agoplease codacy a bit
Martin Quinson [Sat, 3 Jun 2017 20:09:37 +0000 (22:09 +0200)]
please codacy a bit

3 years agoMerge pull request #179 from Takishipp/signals
Martin Quinson [Fri, 2 Jun 2017 15:04:57 +0000 (17:04 +0200)]
Merge pull request #179 from Takishipp/signals

call sg_instr_new_host via signal call

3 years agorename a method
Martin Quinson [Fri, 2 Jun 2017 14:51:49 +0000 (16:51 +0200)]
rename a method

3 years agoremove the useless prototype of sg_instr_new_host
Takishipp [Fri, 2 Jun 2017 12:32:04 +0000 (14:32 +0200)]
remove the useless prototype of sg_instr_new_host

3 years agons3 routes are always symmetrical, don't dupplicate them
Martin Quinson [Fri, 2 Jun 2017 09:32:39 +0000 (11:32 +0200)]
ns3 routes are always symmetrical, don't dupplicate them

3 years agocleanups after PR #177
Martin Quinson [Fri, 2 Jun 2017 09:00:33 +0000 (11:00 +0200)]
cleanups after PR #177

3 years agocosmetics and reindent
Martin Quinson [Fri, 2 Jun 2017 08:47:05 +0000 (10:47 +0200)]
cosmetics and reindent

3 years agofurther cut the sorted diff to not overflow travis
Martin Quinson [Fri, 2 Jun 2017 08:16:56 +0000 (10:16 +0200)]
further cut the sorted diff to not overflow travis

3 years agoplease sonar a tiny bit
Martin Quinson [Fri, 2 Jun 2017 08:15:25 +0000 (10:15 +0200)]
please sonar a tiny bit

3 years agogit-format: don't fail if there is nothing to do
Martin Quinson [Fri, 2 Jun 2017 05:40:39 +0000 (07:40 +0200)]
git-format: don't fail if there is nothing to do

3 years agoDon't try to assist the eclipse parser here: it hurts the feeling of clang
Martin Quinson [Fri, 2 Jun 2017 05:38:49 +0000 (07:38 +0200)]
Don't try to assist the eclipse parser here: it hurts the feeling of clang

3 years agoMerge pull request #177 from Takishipp/sd_exit
Martin Quinson [Fri, 2 Jun 2017 08:56:33 +0000 (10:56 +0200)]
Merge pull request #177 from Takishipp/sd_exit

Use automated call to sd_exit

3 years agoadd nochecking for sd initialization
Takishipp [Fri, 2 Jun 2017 08:51:55 +0000 (10:51 +0200)]
add nochecking for sd initialization

3 years agoadd clean-atexit test
Takishipp [Fri, 2 Jun 2017 08:41:53 +0000 (10:41 +0200)]
add clean-atexit test

3 years agocall sg_instr_new_host via signal call
Takishipp [Fri, 2 Jun 2017 08:13:46 +0000 (10:13 +0200)]
call sg_instr_new_host via signal call

3 years agoadd checking version sd_init
Takishipp [Fri, 2 Jun 2017 07:54:40 +0000 (09:54 +0200)]
add checking version sd_init

3 years agoThe previous change actually (fix #178). Thanks @bcamus!!
Martin Quinson [Thu, 1 Jun 2017 18:03:19 +0000 (20:03 +0200)]
The previous change actually (fix #178). Thanks @bcamus!!

3 years agoAnother attempt at getting the simgrid.jar working on Mac OSX
Martin Quinson [Thu, 1 Jun 2017 15:11:24 +0000 (17:11 +0200)]
Another attempt at getting the simgrid.jar working on Mac OSX

Fix the @rpath of the copy that will land into the jarfile, not the
original one.
(this is about #178)

3 years agowhen fixing the rpath on Apple, search simgrid-java where it is
Martin Quinson [Thu, 1 Jun 2017 14:38:22 +0000 (16:38 +0200)]
when fixing the rpath on Apple, search simgrid-java where it is

3 years agosplit the java library packing thing, and try to do the right thing for apple
Martin Quinson [Thu, 1 Jun 2017 14:04:17 +0000 (16:04 +0200)]
split the java library packing thing, and try to do the right thing for apple

This may help for #178

3 years agoplease codacy: make a private field useful
Martin Quinson [Thu, 1 Jun 2017 04:02:25 +0000 (06:02 +0200)]
please codacy: make a private field useful

3 years agowanna be exhaustive test for the VM sharing
Martin Quinson [Thu, 1 Jun 2017 03:27:02 +0000 (05:27 +0200)]
wanna be exhaustive test for the VM sharing

3 years agoAllow multicore VMs, and take this into account in the sharing
Martin Quinson [Thu, 1 Jun 2017 02:54:07 +0000 (04:54 +0200)]
Allow multicore VMs, and take this into account in the sharing

This does not break any test, because it's not well tested yet. Yup,
the ChangeLog is a bit overselling so far. A new test torturing this
to make sure we get the right result in many sharing situation is
still to be written. examples/msg/cloud-simple will be taken as a
basis for that.

3 years agodestroying a VM that was not shutdown is OK
Martin Quinson [Wed, 31 May 2017 15:52:37 +0000 (17:52 +0200)]
destroying a VM that was not shutdown is OK

Even more because sometimes in Java, the VM is already half destroyed
when the garbage collector wants to finish it.

3 years agoadd the missing atexit call
Takshipp [Wed, 31 May 2017 16:09:01 +0000 (18:09 +0200)]
add the missing atexit call

3 years agomake it possible to destroy a VM that is already half-destroyed
Martin Quinson [Wed, 31 May 2017 15:39:48 +0000 (17:39 +0200)]
make it possible to destroy a VM that is already half-destroyed

3 years agoreindent and cosmetics
Martin Quinson [Wed, 31 May 2017 15:30:57 +0000 (17:30 +0200)]
reindent and cosmetics

3 years agoUse automated call to sd_exit
Takishipp [Wed, 31 May 2017 15:26:31 +0000 (17:26 +0200)]
Use automated call to sd_exit

3 years agoMake it somehow easier to debug NS3/SimGrid
Martin Quinson [Wed, 31 May 2017 15:05:24 +0000 (17:05 +0200)]
Make it somehow easier to debug NS3/SimGrid

3 years agocosmetics
Martin Quinson [Wed, 31 May 2017 08:50:47 +0000 (10:50 +0200)]
cosmetics

3 years agotry to sanitize the lib rpath on Apple
Martin Quinson [Wed, 31 May 2017 08:49:49 +0000 (10:49 +0200)]
try to sanitize the lib rpath on Apple

3 years agosonar treats
Martin Quinson [Wed, 31 May 2017 06:52:20 +0000 (08:52 +0200)]
sonar treats

3 years agofix MSG_task_listen_from() and add a test
Martin Quinson [Tue, 30 May 2017 20:10:14 +0000 (22:10 +0200)]
fix MSG_task_listen_from() and add a test

(fix #121) sorry for the delay.

3 years agofix energy consumption when the host is turned off (fix #171)
Martin Quinson [Tue, 30 May 2017 19:41:49 +0000 (21:41 +0200)]
fix energy consumption when the host is turned off (fix #171)

pstate and host state are changed before the signal, so we have to
save these information at the end of previous call. We cannot directly
save the instantaneous consumption because the load is only known at
the end ot the time interval.

3 years agoplease sonar
Martin Quinson [Tue, 30 May 2017 10:22:24 +0000 (12:22 +0200)]
please sonar

3 years agokill a redundent oldish API to the activity refcounting
Martin Quinson [Tue, 30 May 2017 09:36:53 +0000 (11:36 +0200)]
kill a redundent oldish API to the activity refcounting

3 years agovalgrind.supp: hide some java cruft
Martin Quinson [Tue, 30 May 2017 09:36:13 +0000 (11:36 +0200)]
valgrind.supp: hide some java cruft

3 years agohave only one refcounting system for the activities
Martin Quinson [Tue, 30 May 2017 09:04:15 +0000 (11:04 +0200)]
have only one refcounting system for the activities

3 years agoless black magic here
Martin Quinson [Tue, 30 May 2017 08:48:49 +0000 (10:48 +0200)]
less black magic here