Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
3 years agocode simplifications in VMs
Martin Quinson [Sun, 16 Oct 2016 14:14:06 +0000 (16:14 +0200)]
code simplifications in VMs

3 years agouse static_cast to please sonar + reindent
Martin Quinson [Sun, 16 Oct 2016 13:37:21 +0000 (15:37 +0200)]
use static_cast to please sonar + reindent

3 years agodo standard C++
Martin Quinson [Sun, 16 Oct 2016 09:57:34 +0000 (11:57 +0200)]
do standard C++

Destroy the elements explicitly instead of having them destroyed when
they are removed from the dict container.

3 years agokill a stupid function. Let's do regular C++
Martin Quinson [Sun, 16 Oct 2016 00:01:22 +0000 (02:01 +0200)]
kill a stupid function. Let's do regular C++

3 years agocleanup in the Link field names
Martin Quinson [Sat, 15 Oct 2016 20:25:09 +0000 (22:25 +0200)]
cleanup in the Link field names

3 years agocleanups in NS3: it's on my way
Martin Quinson [Sat, 15 Oct 2016 19:59:39 +0000 (21:59 +0200)]
cleanups in NS3: it's on my way

I need to clean the platform creation stuff. This is blocking for more
interesting changes such as the fact that each cluster has its own
network model.

3 years agoNS3.25 is out now
Martin Quinson [Sat, 15 Oct 2016 19:52:59 +0000 (21:52 +0200)]
NS3.25 is out now

3 years agocleanups in the model initialization
Martin Quinson [Sat, 15 Oct 2016 19:03:05 +0000 (21:03 +0200)]
cleanups in the model initialization

3 years agofactorize some code between NS3 cluster creation and other clusters
Martin Quinson [Sat, 15 Oct 2016 18:50:07 +0000 (20:50 +0200)]
factorize some code between NS3 cluster creation and other clusters

3 years agocosmetics in the creation of NS3 clusters
Martin Quinson [Sat, 15 Oct 2016 15:41:17 +0000 (17:41 +0200)]
cosmetics in the creation of NS3 clusters

3 years agoone step further to sort out the spagetti plate of AS creation
Martin Quinson [Sat, 15 Oct 2016 15:31:43 +0000 (17:31 +0200)]
one step further to sort out the spagetti plate of AS creation

3 years agoreindent, no real change
Martin Quinson [Sat, 15 Oct 2016 15:21:04 +0000 (17:21 +0200)]
reindent, no real change

3 years agomove content from the sg_platf to the object hierarchy
Martin Quinson [Sat, 15 Oct 2016 15:18:35 +0000 (17:18 +0200)]
move content from the sg_platf to the object hierarchy

3 years agoremove one malloc
Martin Quinson [Sat, 15 Oct 2016 14:47:44 +0000 (16:47 +0200)]
remove one malloc

3 years agofix NS3 build
Martin Quinson [Sat, 15 Oct 2016 11:19:55 +0000 (13:19 +0200)]
fix NS3 build

3 years agomake some field private, to please sonar
Martin Quinson [Sat, 15 Oct 2016 08:52:20 +0000 (10:52 +0200)]
make some field private, to please sonar

Sonar rational is that protected fields are the sign of a logic that
spreads over all sub-classes. I tend to strongly agree with this point.

3 years agocosmetics in clang-format
Martin Quinson [Fri, 14 Oct 2016 22:21:32 +0000 (00:21 +0200)]
cosmetics in clang-format

3 years agomake As->father_ protected
Martin Quinson [Fri, 14 Oct 2016 22:20:12 +0000 (00:20 +0200)]
make As->father_ protected

3 years agocosmetics: kill some C type instances
Martin Quinson [Fri, 14 Oct 2016 21:32:55 +0000 (23:32 +0200)]
cosmetics: kill some C type instances

3 years agoSanitize the network_model->communicate() API
Martin Quinson [Fri, 14 Oct 2016 21:23:57 +0000 (23:23 +0200)]
Sanitize the network_model->communicate() API

- use s4u::Host instead of netcards in the API
- kill remaining C bits
- (+ clang-format in action)

3 years agokill commented code
Martin Quinson [Fri, 14 Oct 2016 20:35:52 +0000 (22:35 +0200)]
kill commented code

3 years agoplease sonar
Martin Quinson [Fri, 14 Oct 2016 20:32:07 +0000 (22:32 +0200)]
please sonar

3 years agoReduce the layering madness a bit
Martin Quinson [Fri, 14 Oct 2016 15:45:14 +0000 (17:45 +0200)]
Reduce the layering madness a bit

+ the changes requested by the clang-format hook

3 years agopoint to the MSG doc, not the XBT one on synchro. It's less awfull
Martin Quinson [Fri, 14 Oct 2016 10:39:27 +0000 (12:39 +0200)]
point to the MSG doc, not the XBT one on synchro. It's less awfull

3 years agorewrite a FAQ entry
Martin Quinson [Thu, 13 Oct 2016 21:41:17 +0000 (23:41 +0200)]
rewrite a FAQ entry

3 years agoAppVeyor: don't build the doc, it's windows
Martin Quinson [Wed, 12 Oct 2016 23:26:36 +0000 (01:26 +0200)]
AppVeyor: don't build the doc, it's windows

3 years agofix a Java tesh after Christian recent changes
Martin Quinson [Wed, 12 Oct 2016 23:02:18 +0000 (01:02 +0200)]
fix a Java tesh after Christian recent changes

3 years agomissing file
Martin Quinson [Wed, 12 Oct 2016 21:31:09 +0000 (23:31 +0200)]
missing file

3 years agoMake it easier to have clang-format as a git hook
Martin Quinson [Tue, 11 Oct 2016 14:47:56 +0000 (16:47 +0200)]
Make it easier to have clang-format as a git hook

Plus, document it.

3 years agolittle doc reorg: split a page in two
Martin Quinson [Mon, 10 Oct 2016 21:01:20 +0000 (23:01 +0200)]
little doc reorg: split a page in two

3 years agoRe-activate the compilation of the doc. When did it break??
Martin Quinson [Mon, 10 Oct 2016 21:00:15 +0000 (23:00 +0200)]
Re-activate the compilation of the doc. When did it break??

3 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Mon, 10 Oct 2016 15:09:46 +0000 (17:09 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

3 years ago[ENERGY] Fixed a bug (division of integers)
Christian Heinrich [Mon, 10 Oct 2016 14:08:00 +0000 (16:08 +0200)]
[ENERGY] Fixed a bug (division of integers)

Well, that should've been a division of doubles.
I also fixed the tesh tests.

3 years agoAPI format unification
Martin Quinson [Mon, 10 Oct 2016 13:24:07 +0000 (15:24 +0200)]
API format unification

3 years agoMerge branches, and adapt the new code to the new refactoring.
Martin Quinson [Mon, 10 Oct 2016 12:49:41 +0000 (14:49 +0200)]
Merge branches, and adapt the new code to the new refactoring.

3 years agounify the naming of that property
Martin Quinson [Mon, 10 Oct 2016 12:47:33 +0000 (14:47 +0200)]
unify the naming of that property

3 years ago[Energy] Fix the power_slope in the energy plugin
Christian Heinrich [Sun, 9 Oct 2016 21:39:30 +0000 (23:39 +0200)]
[Energy] Fix the power_slope in the energy plugin

Since the consumption for one core is now explicitly given,
the slope needs to be computed differently, since we must not add
energy for the first core again.

3 years agoremove an unused parameter
Martin Quinson [Sun, 9 Oct 2016 09:30:36 +0000 (11:30 +0200)]
remove an unused parameter

3 years agofix compilation on windows, bummer
Martin Quinson [Sun, 9 Oct 2016 09:17:17 +0000 (11:17 +0200)]
fix compilation on windows, bummer

3 years agodisable the maestro-set test on windows, nobody will ever use it there
Martin Quinson [Sat, 8 Oct 2016 21:37:40 +0000 (23:37 +0200)]
disable the maestro-set test on windows, nobody will ever use it there

3 years agodrop xbt_os_sem_get_value: unused internally, deprecated on OS X El Capitan
Martin Quinson [Fri, 7 Oct 2016 21:59:00 +0000 (23:59 +0200)]
drop xbt_os_sem_get_value: unused internally, deprecated on OS X El Capitan

3 years agoOS X El Capitan deprecates the sem_init() function
Martin Quinson [Fri, 7 Oct 2016 21:28:01 +0000 (23:28 +0200)]
OS X El Capitan deprecates the sem_init() function

3 years agocosmetics in CMakeFile.txt
Martin Quinson [Fri, 7 Oct 2016 21:20:43 +0000 (23:20 +0200)]
cosmetics in CMakeFile.txt

3 years agosome old linkers (as on Mac) don't like --version
Martin Quinson [Fri, 7 Oct 2016 21:11:47 +0000 (23:11 +0200)]
some old linkers (as on Mac) don't like --version

3 years agoplease sonar by using every parameters (+cosmetics)
Martin Quinson [Fri, 7 Oct 2016 19:37:31 +0000 (21:37 +0200)]
please sonar by using every parameters (+cosmetics)

3 years agodon't test equality to 0.
Martin Quinson [Thu, 6 Oct 2016 23:01:06 +0000 (01:01 +0200)]
don't test equality to 0.

3 years agorevalidate a tesh file after Christian recent changes
Martin Quinson [Thu, 6 Oct 2016 22:51:09 +0000 (00:51 +0200)]
revalidate a tesh file after Christian recent changes

3 years agoUh? I cannot write explicit here??
Martin Quinson [Thu, 6 Oct 2016 21:24:07 +0000 (23:24 +0200)]
Uh? I cannot write explicit here??

3 years agoplease sonar
Martin Quinson [Thu, 6 Oct 2016 20:41:18 +0000 (22:41 +0200)]
please sonar

3 years ago[ENERGY] Introduce idle/1core/maxCore energy consumption
Christian Heinrich [Thu, 6 Oct 2016 09:31:53 +0000 (11:31 +0200)]
[ENERGY] Introduce idle/1core/maxCore energy consumption

Up until now, we only supported idle and max_core consumption.
We then used a linear model to compute the energy that we used.

This is not an accurate model, since the difference between idle and 1 core
and 1 core and 2 cores is not equal. We hence need the first core.

But even that is not 100% accurate; for the moment it will have to suffice, though.

3 years ago[ChangeLog] Correct many -> much
Christian Heinrich [Thu, 8 Sep 2016 12:29:30 +0000 (14:29 +0200)]
[ChangeLog] Correct many -> much

3 years agolet storage use lazy updates, and kill dead code
Martin Quinson [Sun, 2 Oct 2016 19:25:37 +0000 (21:25 +0200)]
let storage use lazy updates, and kill dead code

3 years agorename next_occuring_event_isIdempotent() into nextOccuringEventIsIdempotent() (...
Martin Quinson [Sun, 2 Oct 2016 16:42:34 +0000 (18:42 +0200)]
rename next_occuring_event_isIdempotent() into nextOccuringEventIsIdempotent() (+sort bits around)

3 years agocosmetics: rename object fields
Martin Quinson [Sun, 2 Oct 2016 16:27:23 +0000 (18:27 +0200)]
cosmetics: rename object fields

3 years agokill more dead code
Martin Quinson [Sun, 2 Oct 2016 16:24:46 +0000 (18:24 +0200)]
kill more dead code

3 years agotiny code simplification
Martin Quinson [Sun, 2 Oct 2016 16:22:02 +0000 (18:22 +0200)]
tiny code simplification

3 years agoselectiveUpdate is a bool
Martin Quinson [Sun, 2 Oct 2016 16:17:03 +0000 (18:17 +0200)]
selectiveUpdate is a bool

3 years agocompile one more surf example with cpp
Martin Quinson [Sun, 2 Oct 2016 16:16:40 +0000 (18:16 +0200)]
compile one more surf example with cpp

3 years agorename next_occuring_event() into nextOccuringEvent()
Martin Quinson [Sun, 2 Oct 2016 16:03:29 +0000 (18:03 +0200)]
rename next_occuring_event() into nextOccuringEvent()

3 years agobetter use of inherency around Model::next_occuring_event_full()
Martin Quinson [Sun, 2 Oct 2016 15:59:52 +0000 (17:59 +0200)]
better use of inherency around Model::next_occuring_event_full()

3 years agoadd a solve() fun pointer to maxmin datatype (+minor cleanups)
Martin Quinson [Sun, 2 Oct 2016 15:39:34 +0000 (17:39 +0200)]
add a solve() fun pointer to maxmin datatype (+minor cleanups)

3 years agofurther cleanups to all our next_occuring_event functions
Martin Quinson [Sun, 2 Oct 2016 14:50:45 +0000 (16:50 +0200)]
further cleanups to all our next_occuring_event functions

3 years agomore dupplicated code ritual sacrifice and cleanups
Martin Quinson [Sun, 2 Oct 2016 14:36:56 +0000 (16:36 +0200)]
more dupplicated code ritual sacrifice and cleanups

3 years agodon't make a pure function an object member
Martin Quinson [Sun, 2 Oct 2016 14:32:04 +0000 (16:32 +0200)]
don't make a pure function an object member

3 years agoso much dupplicated code, this is disgusting.
Martin Quinson [Sun, 2 Oct 2016 14:20:01 +0000 (16:20 +0200)]
so much dupplicated code, this is disgusting.

The existing code was dealing specifically with the first matching
action to initialize the minimum. I just update the value
inconditionnaly when it's still at its initial value.

We should use numeric_limits<double>::max() instead of -1 as an
initial value, but we return it when no action can be found, and I
don't feel like fixing the expectations of all calling code here.

3 years agokill (hopefully) dead code
Martin Quinson [Sun, 2 Oct 2016 13:25:43 +0000 (15:25 +0200)]
kill (hopefully) dead code

3 years agopreparatory cleanups in model share computations
Martin Quinson [Sun, 2 Oct 2016 11:31:51 +0000 (13:31 +0200)]
preparatory cleanups in model share computations

3 years agostd::unordered_map are sufficient, no need for boost here
Martin Quinson [Sun, 2 Oct 2016 11:04:39 +0000 (13:04 +0200)]
std::unordered_map are sufficient, no need for boost here

+ cosmetics in Floyd

3 years agonice error message when SD_dotload() is called without graphviz installed
Martin Quinson [Fri, 30 Sep 2016 23:21:38 +0000 (01:21 +0200)]
nice error message when SD_dotload() is called without graphviz installed

3 years agotypo and cosmetics
Martin Quinson [Fri, 30 Sep 2016 09:21:58 +0000 (11:21 +0200)]
typo and cosmetics

3 years agoRevert "killing time"
Martin Quinson [Tue, 27 Sep 2016 20:17:18 +0000 (22:17 +0200)]
Revert "killing time"

Old gcc versions do not allow adding std::string fields to plain old
structures. We could fix the commit, but our time is sparse these days.

This reverts commit 23141ea49d9f51ecda69abe8cd02736b92254726.

3 years agosleep disorder treatment
Martin Quinson [Sun, 25 Sep 2016 23:41:46 +0000 (01:41 +0200)]
sleep disorder treatment

3 years agoReduce the casting madness to please sonar
Martin Quinson [Sun, 25 Sep 2016 23:20:00 +0000 (01:20 +0200)]
Reduce the casting madness to please sonar

3 years agomerge a collapsible if statement to please sonar
Martin Quinson [Sun, 25 Sep 2016 23:17:59 +0000 (01:17 +0200)]
merge a collapsible if statement to please sonar

3 years agoappveyor: only run Java tests
Martin Quinson [Sun, 25 Sep 2016 23:08:30 +0000 (01:08 +0200)]
appveyor: only run Java tests

3 years agoappveyor: cleanups now that ctest works
Martin Quinson [Sun, 25 Sep 2016 22:57:57 +0000 (00:57 +0200)]
appveyor: cleanups now that ctest works

3 years agoinline functions should not be dllexported
Martin Quinson [Sun, 25 Sep 2016 22:53:51 +0000 (00:53 +0200)]
inline functions should not be dllexported

3 years agodo not display a warning when running on AppVeyor -- sorry
Martin Quinson [Sun, 25 Sep 2016 22:43:47 +0000 (00:43 +0200)]
do not display a warning when running on AppVeyor -- sorry

3 years agoDon't use stderr to nicely interleave with outputs on stdout
Martin Quinson [Sun, 25 Sep 2016 22:29:53 +0000 (00:29 +0200)]
Don't use stderr to nicely interleave with outputs on stdout

3 years agoappveyor: cosmetics and remove old cruft
Martin Quinson [Sun, 25 Sep 2016 22:13:12 +0000 (00:13 +0200)]
appveyor: cosmetics and remove old cruft

3 years agoappveyor now accepts to hide its config file as travis does
Martin Quinson [Sun, 25 Sep 2016 22:04:41 +0000 (00:04 +0200)]
appveyor now accepts to hide its config file as travis does

3 years agotesh: fix the regexp to ignore windows+java cruft
Martin Quinson [Sun, 25 Sep 2016 22:04:12 +0000 (00:04 +0200)]
tesh: fix the regexp to ignore windows+java cruft

3 years agoappveyor: Various fixes
Martin Quinson [Sun, 25 Sep 2016 20:27:01 +0000 (22:27 +0200)]
appveyor: Various fixes

- don't install cmake since it's already there on appveyor
- use boost 1.60
- fix a typo when installing perl
- do cache the choco downloads

3 years agocosmetics
Martin Quinson [Thu, 22 Sep 2016 08:35:50 +0000 (10:35 +0200)]
cosmetics

3 years agohide a global data container
Martin Quinson [Thu, 15 Sep 2016 16:24:54 +0000 (18:24 +0200)]
hide a global data container

3 years agokilling time
Frederic Suter [Fri, 16 Sep 2016 17:21:57 +0000 (19:21 +0200)]
killing time

3 years agosimplify and fix cycle detection
Frederic Suter [Fri, 16 Sep 2016 12:03:19 +0000 (14:03 +0200)]
simplify and fix cycle detection
updating tesh as some tasks outside a detected cycle were listed in the output.

3 years agodon't convert host to name to host. Perl epoch is over.
Martin Quinson [Thu, 15 Sep 2016 07:29:42 +0000 (09:29 +0200)]
don't convert host to name to host. Perl epoch is over.

3 years agoanother dynar dies
Martin Quinson [Wed, 14 Sep 2016 19:43:42 +0000 (21:43 +0200)]
another dynar dies

3 years agoashaming spell checking
Martin Quinson [Tue, 13 Sep 2016 19:34:28 +0000 (21:34 +0200)]
ashaming spell checking

3 years agoconvert a dynar into a vector
Martin Quinson [Mon, 12 Sep 2016 20:50:58 +0000 (22:50 +0200)]
convert a dynar into a vector

3 years agoMerge pull request #114 from adfaure/master
Martin Quinson [Mon, 12 Sep 2016 20:41:13 +0000 (22:41 +0200)]
Merge pull request #114 from adfaure/master

fix segmentation fault when process try to unlock a not locked mutex

3 years agofix segmentation fault when process try to unlock a not locked mutex
adfaure [Mon, 12 Sep 2016 09:54:24 +0000 (11:54 +0200)]
fix segmentation fault when process try to unlock a not locked mutex

3 years agokill dead code that annoys sonar
Martin Quinson [Sun, 11 Sep 2016 15:33:40 +0000 (17:33 +0200)]
kill dead code that annoys sonar

- I guess that these names were intended to help debugging
- but there is no way it can be directly used, as we are filling
  strings where surf usually provides resources. So, nothing of the
  logging or whatsoever can use them.
- Sonar don't like them because we have to cast the constness
- so wipe that out and forget about this file for now.

3 years agokeep this readable, even if sonar don't like it this way
Martin Quinson [Sun, 11 Sep 2016 15:03:15 +0000 (17:03 +0200)]
keep this readable, even if sonar don't like it this way

3 years agocosmetics, somehow to please sonar
Martin Quinson [Sun, 11 Sep 2016 15:00:56 +0000 (17:00 +0200)]
cosmetics, somehow to please sonar

3 years agoI should try to compile before comiting. Sorry.
Martin Quinson [Sat, 10 Sep 2016 12:06:08 +0000 (14:06 +0200)]
I should try to compile before comiting. Sorry.

3 years agorestore a warning when doing weird assumptions about the system
Martin Quinson [Fri, 9 Sep 2016 22:58:26 +0000 (00:58 +0200)]
restore a warning when doing weird assumptions about the system

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 8 Sep 2016 15:34:37 +0000 (17:34 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years agomore objects
Frederic Suter [Thu, 8 Sep 2016 15:31:29 +0000 (17:31 +0200)]
more objects