Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
7 years ago[xbt] Update comment on xbt::fulfillPromise
Gabriel Corona [Fri, 3 Jun 2016 14:51:06 +0000 (16:51 +0200)]
[xbt] Update comment on xbt::fulfillPromise

7 years ago[xbt] Fix s/nullptr_t/std::nullptr_t/
Gabriel Corona [Fri, 3 Jun 2016 11:55:54 +0000 (13:55 +0200)]
[xbt] Fix s/nullptr_t/std::nullptr_t/

7 years ago[xbt] Add missing const in Result::is_valid
Gabriel Corona [Fri, 3 Jun 2016 11:17:31 +0000 (13:17 +0200)]
[xbt] Add missing const in Result::is_valid

7 years ago[xbt] Fix indentation
Gabriel Corona [Fri, 3 Jun 2016 11:17:07 +0000 (13:17 +0200)]
[xbt] Fix indentation

7 years ago[xbt] Fix 'control reaches end of non-void function' in Result::get()
Gabriel Corona [Fri, 3 Jun 2016 11:16:54 +0000 (13:16 +0200)]
[xbt] Fix 'control reaches end of non-void function' in Result::get()

7 years ago[simix] Pass the code by reference in simcall_run_kernel
Gabriel Corona [Fri, 3 Jun 2016 11:00:48 +0000 (13:00 +0200)]
[simix] Pass the code by reference in simcall_run_kernel

Avoid heap-allocating code for std::function.

7 years agoUse a custom Result<T> value for simgrid::smix::kernel()
Gabriel Corona [Fri, 3 Jun 2016 10:20:56 +0000 (12:20 +0200)]
Use a custom Result<T> value for simgrid::smix::kernel()

This avoids allocating a shared state (by std::promise) on the heap
for each such call.

7 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 2 Jun 2016 15:52:55 +0000 (17:52 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

7 years agotry to make TestHostOnOff do something
Frederic Suter [Thu, 2 Jun 2016 15:47:49 +0000 (17:47 +0200)]
try to make TestHostOnOff do something
  + kill a redundant platform
  + adapt another one
  + update other tests (including broken ones)
  + ... still not functional

7 years agosmells --
Frederic Suter [Thu, 2 Jun 2016 15:47:39 +0000 (17:47 +0200)]
smells --

7 years ago[SMPI] Introduce new config option 'smpi/init'
Christian Heinrich [Thu, 2 Jun 2016 14:41:15 +0000 (16:41 +0200)]
[SMPI] Introduce new config option 'smpi/init'

This option allows the user to calibrate the time
that SMPI accounts for a call to SMPI. Although these timings
are normally miniscule with just a fraction of a second, they
may be of interest to someone, especially since they come at almost
no cost. (And almost no code needs to be maintained.)

7 years ago[SMPI] Cosmetics in smpi_base.cpp
Christian Heinrich [Thu, 2 Jun 2016 14:23:22 +0000 (16:23 +0200)]
[SMPI] Cosmetics in smpi_base.cpp

7 years agowoops
Martin Quinson [Wed, 1 Jun 2016 14:38:33 +0000 (16:38 +0200)]
woops

7 years agosome manual reindent of XML to please sonar
Martin Quinson [Wed, 1 Jun 2016 14:08:06 +0000 (16:08 +0200)]
some manual reindent of XML to please sonar

7 years agocosmetics from patch review
Martin Quinson [Wed, 1 Jun 2016 13:59:43 +0000 (15:59 +0200)]
cosmetics from patch review

7 years agocosmetics from patch review
Martin Quinson [Wed, 1 Jun 2016 13:27:33 +0000 (15:27 +0200)]
cosmetics from patch review

7 years agofix a 'Conditional jump or move depends on uninitialised value' (on strlen)
Martin Quinson [Wed, 1 Jun 2016 13:26:56 +0000 (15:26 +0200)]
fix a 'Conditional jump or move depends on uninitialised value' (on strlen)

7 years agodoxygen fixups
Martin Quinson [Wed, 1 Jun 2016 13:16:19 +0000 (15:16 +0200)]
doxygen fixups

7 years agoyet another bunch of critical
Frederic Suter [Wed, 1 Jun 2016 10:34:56 +0000 (12:34 +0200)]
yet another bunch of critical

7 years agosimplify this example
Frederic Suter [Wed, 1 Jun 2016 10:19:56 +0000 (12:19 +0200)]
simplify this example

7 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Wed, 1 Jun 2016 09:28:33 +0000 (11:28 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

7 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Wed, 1 Jun 2016 09:28:17 +0000 (11:28 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

7 years agoblockers--
Frederic Suter [Wed, 1 Jun 2016 09:23:41 +0000 (11:23 +0200)]
blockers--

7 years agouse strbuff instead of a big mess of reallocs
Martin Quinson [Wed, 1 Jun 2016 09:16:58 +0000 (11:16 +0200)]
use strbuff instead of a big mess of reallocs

7 years agorename xbt_strbuff_empty() to xbt_strbuff_clear()
Martin Quinson [Wed, 1 Jun 2016 09:14:18 +0000 (11:14 +0200)]
rename xbt_strbuff_empty() to xbt_strbuff_clear()

7 years agonew function: xbt_strbuff_printf()
Martin Quinson [Wed, 1 Jun 2016 09:12:26 +0000 (11:12 +0200)]
new function: xbt_strbuff_printf()

7 years agodocument the strbuf
Martin Quinson [Wed, 1 Jun 2016 08:50:06 +0000 (10:50 +0200)]
document the strbuf

7 years agolet's be a little bit cleaner here.
degomme [Wed, 1 Jun 2016 08:47:55 +0000 (10:47 +0200)]
let's be a little bit cleaner here.

7 years agoproperly avoid buff overflows when displaying the model description
Martin Quinson [Wed, 1 Jun 2016 08:31:17 +0000 (10:31 +0200)]
properly avoid buff overflows when displaying the model description

7 years agocode simplification thanks to bprintf
Martin Quinson [Wed, 1 Jun 2016 08:22:47 +0000 (10:22 +0200)]
code simplification thanks to bprintf

7 years agofix the fix: compute the real buffer size
Martin Quinson [Wed, 1 Jun 2016 08:18:19 +0000 (10:18 +0200)]
fix the fix: compute the real buffer size

7 years agooops
degomme [Wed, 1 Jun 2016 06:26:57 +0000 (08:26 +0200)]
oops

7 years agostrcpy->strncpy
degomme [Wed, 1 Jun 2016 00:16:20 +0000 (02:16 +0200)]
strcpy->strncpy

7 years ago.. and of strcat, replaced by strncat
degomme [Tue, 31 May 2016 23:32:50 +0000 (01:32 +0200)]
.. and of strcat, replaced by strncat

7 years agoReplace sprintf by snprintf.
degomme [Tue, 31 May 2016 23:25:32 +0000 (01:25 +0200)]
Replace sprintf by snprintf.

7 years agotry to stabilize output of trace call location test
degomme [Tue, 31 May 2016 21:54:14 +0000 (23:54 +0200)]
try to stabilize output of trace call location test

7 years agokurgan said "there can be only one"
Frederic Suter [Tue, 31 May 2016 21:09:14 +0000 (23:09 +0200)]
kurgan said "there can be only one"
it works for "2-clusters platforms" too

7 years agoRevert "avoid assert in the middle of the code"
Frederic Suter [Tue, 31 May 2016 19:48:59 +0000 (21:48 +0200)]
Revert "avoid assert in the middle of the code"

This reverts commit b8f11e6f72fd3bba9a694d9a32cd155a7878f43c.

7 years agoremove a couple of ugly things from DT.c
Frederic Suter [Tue, 31 May 2016 14:01:13 +0000 (16:01 +0200)]
remove a couple of ugly things from DT.c

a lot remains ...

7 years agodo not catch Throwable
Martin Quinson [Tue, 31 May 2016 18:25:38 +0000 (20:25 +0200)]
do not catch Throwable

7 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 31 May 2016 11:40:19 +0000 (13:40 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

7 years agoavoid assert in the middle of the code
Frederic Suter [Tue, 31 May 2016 11:40:00 +0000 (13:40 +0200)]
avoid assert in the middle of the code

7 years agoFix compilation when enable_smpi=OFF
Gabriel Corona [Tue, 31 May 2016 10:48:27 +0000 (12:48 +0200)]
Fix compilation when enable_smpi=OFF

7 years agoremove blocker in kademlia
Frederic Suter [Tue, 31 May 2016 10:45:08 +0000 (12:45 +0200)]
remove blocker in kademlia

7 years agoClearer indentation/nesting
Gabriel Corona [Tue, 31 May 2016 10:15:23 +0000 (12:15 +0200)]
Clearer indentation/nesting

7 years agoUse boost::range algorithms
Gabriel Corona [Tue, 31 May 2016 09:58:59 +0000 (11:58 +0200)]
Use boost::range algorithms

7 years agoUse boost::range algorithms
Gabriel Corona [Tue, 31 May 2016 09:29:58 +0000 (11:29 +0200)]
Use boost::range algorithms

7 years ago[simix] Remove Synchro::category, nobody's using it
Gabriel Corona [Tue, 31 May 2016 09:10:01 +0000 (11:10 +0200)]
[simix] Remove Synchro::category, nobody's using it

7 years ago[simix] DeXFTification of Synchro: use std::list<> instead of xbt_fifo_t
Gabriel Corona [Tue, 31 May 2016 08:09:27 +0000 (10:09 +0200)]
[simix] DeXFTification of Synchro: use std::list<> instead of xbt_fifo_t

7 years agoCannot let GC destroy VM itself ...
Frederic Suter [Tue, 31 May 2016 08:48:31 +0000 (10:48 +0200)]
Cannot let GC destroy VM itself ...

AFAIU, VMs are special hosts, surf_exit try to free them before GC
kicks in. After many tries, decide to rename finalize as destroy and
call this method explicitly as before.

7 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 31 May 2016 08:31:47 +0000 (10:31 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

7 years agocosmetics
Frederic Suter [Tue, 31 May 2016 07:43:44 +0000 (09:43 +0200)]
cosmetics

7 years agoNormalize virtual/override usage
Gabriel Corona [Tue, 31 May 2016 07:57:31 +0000 (09:57 +0200)]
Normalize virtual/override usage

7 years ago[simix] Fix std:string construction from nullptr
Gabriel Corona [Tue, 31 May 2016 07:21:26 +0000 (09:21 +0200)]
[simix] Fix std:string construction from nullptr

7 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 30 May 2016 21:03:09 +0000 (23:03 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

7 years agokeep playing
Frederic Suter [Mon, 30 May 2016 21:02:56 +0000 (23:02 +0200)]
keep playing

7 years agopopulate the manual section on logging
Martin Quinson [Mon, 30 May 2016 20:14:31 +0000 (22:14 +0200)]
populate the manual section on logging

7 years agoJava comes with data structures, use them.
Frederic Suter [Mon, 30 May 2016 20:01:38 +0000 (22:01 +0200)]
Java comes with data structures, use them.

7 years agosome are picky with extraneous parentheses
Frederic Suter [Mon, 30 May 2016 19:59:13 +0000 (21:59 +0200)]
some are picky with extraneous parentheses

7 years agoblocker --?
Frederic Suter [Mon, 30 May 2016 19:17:40 +0000 (21:17 +0200)]
blocker --?

7 years agoremove soner bugs in async examples
Frederic Suter [Mon, 30 May 2016 18:59:58 +0000 (20:59 +0200)]
remove soner bugs in async examples

7 years agoboolify bittorrent
Frederic Suter [Mon, 30 May 2016 18:53:29 +0000 (20:53 +0200)]
boolify bittorrent

7 years ago[SMPI Examples] Set path for tracefile correctly
Christian Heinrich [Mon, 30 May 2016 14:34:29 +0000 (16:34 +0200)]
[SMPI Examples] Set path for tracefile correctly

7 years ago[surf] Fix NetCard leak
Gabriel Corona [Mon, 30 May 2016 14:29:08 +0000 (16:29 +0200)]
[surf] Fix NetCard leak

7 years agoMake some constructors explicit
Gabriel Corona [Mon, 30 May 2016 14:09:24 +0000 (16:09 +0200)]
Make some constructors explicit

7 years agoAvoid multiple declaration on the same line/statement
Gabriel Corona [Mon, 30 May 2016 10:18:13 +0000 (12:18 +0200)]
Avoid multiple declaration on the same line/statement

7 years ago[xbt] xbt_assert(level >= 0) in xbt_lib
Gabriel Corona [Mon, 30 May 2016 13:59:48 +0000 (15:59 +0200)]
[xbt] xbt_assert(level >= 0) in xbt_lib

7 years agoSet the levels to -1 by default
Gabriel Corona [Mon, 30 May 2016 13:46:51 +0000 (15:46 +0200)]
Set the levels to -1 by default

This should help us detect uninitalized levels.

7 years ago[surf] Init ROUTING_ASR_LEVEL
Gabriel Corona [Mon, 30 May 2016 13:46:34 +0000 (15:46 +0200)]
[surf] Init ROUTING_ASR_LEVEL

7 years ago[s4u] Add member initializers
Gabriel Corona [Mon, 30 May 2016 12:45:56 +0000 (14:45 +0200)]
[s4u] Add member initializers

7 years agoUse std::string for Synchro instead of char*
Gabriel Corona [Mon, 30 May 2016 12:31:43 +0000 (14:31 +0200)]
Use std::string for Synchro instead of char*

7 years agoMake Synchro PUBLIC
Gabriel Corona [Mon, 30 May 2016 12:23:49 +0000 (14:23 +0200)]
Make Synchro PUBLIC

7 years ago[SMPI Examples] srcdir should become bindir
Christian Heinrich [Mon, 30 May 2016 12:44:27 +0000 (14:44 +0200)]
[SMPI Examples] srcdir should become bindir

7 years agoDon't include inside extern C {}
Gabriel Corona [Mon, 30 May 2016 12:07:19 +0000 (14:07 +0200)]
Don't include inside extern C {}

7 years agoFix a leak in XML parsing
Gabriel Corona [Mon, 30 May 2016 12:06:57 +0000 (14:06 +0200)]
Fix a leak in XML parsing

7 years agoComment overloaded method in HostImpl for covariant return type
Gabriel Corona [Mon, 30 May 2016 10:52:22 +0000 (12:52 +0200)]
Comment overloaded method in HostImpl for covariant return type

7 years agoReally override resume() in BoostParallelContext
Gabriel Corona [Mon, 30 May 2016 10:47:53 +0000 (12:47 +0200)]
Really override resume() in BoostParallelContext

7 years ago[simix] Match delete with new for the maestro Process
Gabriel Corona [Mon, 30 May 2016 09:19:00 +0000 (11:19 +0200)]
[simix] Match delete with new for the maestro Process

7 years agotravis: don't try to launch the tests if the compilation failed
Martin Quinson [Mon, 30 May 2016 09:45:08 +0000 (11:45 +0200)]
travis: don't try to launch the tests if the compilation failed

7 years agowoopsy, forgot to commit that file
Martin Quinson [Mon, 30 May 2016 08:14:30 +0000 (10:14 +0200)]
woopsy, forgot to commit that file

7 years agoadditional doc resulting from discussions with kenenbek
Martin Quinson [Sun, 29 May 2016 23:58:26 +0000 (01:58 +0200)]
additional doc resulting from discussions with kenenbek

7 years agoFix compilation
Gabriel Corona [Mon, 30 May 2016 08:34:17 +0000 (10:34 +0200)]
Fix compilation

7 years ago[s4u] Group fields at the end of the class
Gabriel Corona [Mon, 30 May 2016 08:21:59 +0000 (10:21 +0200)]
[s4u] Group fields at the end of the class

7 years ago[msg] Give name to parameters in declarations
Gabriel Corona [Mon, 30 May 2016 08:18:07 +0000 (10:18 +0200)]
[msg] Give name to parameters in declarations

7 years agoLimit scope of variables
Gabriel Corona [Mon, 30 May 2016 08:01:12 +0000 (10:01 +0200)]
Limit scope of variables

7 years agoUse verbose cast
Gabriel Corona [Mon, 30 May 2016 07:57:56 +0000 (09:57 +0200)]
Use verbose cast

7 years agosome more "fixes" for sonar
degomme [Sun, 29 May 2016 20:59:10 +0000 (22:59 +0200)]
some more "fixes" for sonar

7 years agomake sonarqube happy
Martin Quinson [Sun, 29 May 2016 18:58:54 +0000 (20:58 +0200)]
make sonarqube happy

- Merge similar switch cases
- Use snprintf instead of sprintf. The change is a bit more intrusive
  for homogeneity with the other P2P tests

7 years agofix stupid mistake, and stop inserting thousands of sleep(0.0).
degomme [Sun, 29 May 2016 15:50:59 +0000 (17:50 +0200)]
fix stupid mistake, and stop inserting thousands of sleep(0.0).

7 years agosome more files for sonar
degomme [Sun, 29 May 2016 13:50:55 +0000 (15:50 +0200)]
some more files for sonar

7 years agocleanups in XML so that sonarqube manages to parse them
Martin Quinson [Sat, 28 May 2016 21:53:44 +0000 (23:53 +0200)]
cleanups in XML so that sonarqube manages to parse them

- without them, the travis logs were full of sonarqube backtraces

7 years agotravis: Switch to Trusty, and cleanup old workarounds
Martin Quinson [Sat, 28 May 2016 21:41:25 +0000 (23:41 +0200)]
travis: Switch to Trusty, and cleanup old workarounds

7 years agochange some sprintf into snprintf
Martin Quinson [Sat, 28 May 2016 21:09:57 +0000 (23:09 +0200)]
change some sprintf into snprintf

7 years agotry to make our travis-sonarqube.sh useful to others too
Martin Quinson [Sat, 28 May 2016 20:07:24 +0000 (22:07 +0200)]
try to make our travis-sonarqube.sh useful to others too

7 years agomy g++ refuses -Wmissing-prototypes
Martin Quinson [Sat, 28 May 2016 19:54:59 +0000 (21:54 +0200)]
my g++ refuses -Wmissing-prototypes

7 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Sat, 28 May 2016 19:50:05 +0000 (21:50 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

7 years agouse snprintf instead of sprintf
Martin Quinson [Sat, 28 May 2016 19:40:03 +0000 (21:40 +0200)]
use snprintf instead of sprintf

7 years agoActually sonar did find an actual (tiny) bug. Requalify two teshes.
degomme [Fri, 27 May 2016 23:15:19 +0000 (01:15 +0200)]
Actually sonar did find an actual (tiny) bug. Requalify two teshes.

7 years agoint -> bool for replay control
degomme [Fri, 27 May 2016 22:54:29 +0000 (00:54 +0200)]
int -> bool for replay control

7 years agomake sonar happier with smpi_base.cpp
degomme [Fri, 27 May 2016 22:51:54 +0000 (00:51 +0200)]
make sonar happier with smpi_base.cpp