Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
5 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 13 May 2016 19:33:50 +0000 (21:33 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

5 years agomove text and add all cmake options
Frederic Suter [Fri, 13 May 2016 19:33:16 +0000 (21:33 +0200)]
move text and add all cmake options
 + a few are not explained though

5 years agoreword the doc of the switch feature
Martin Quinson [Fri, 13 May 2016 04:29:34 +0000 (06:29 +0200)]
reword the doc of the switch feature

5 years agodoc: improve section titles
Martin Quinson [Fri, 13 May 2016 04:10:39 +0000 (06:10 +0200)]
doc: improve section titles

5 years agoUse only the C++ dtor for Synchro::Raw
Martin Quinson [Fri, 13 May 2016 01:48:18 +0000 (03:48 +0200)]
Use only the C++ dtor for Synchro::Raw

5 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Thu, 12 May 2016 21:59:53 +0000 (23:59 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

5 years agomove some content to the SynchroRaw dtor
Martin Quinson [Thu, 12 May 2016 18:18:30 +0000 (20:18 +0200)]
move some content to the SynchroRaw dtor

5 years agoteshfile: dont sort output
Martin Quinson [Wed, 11 May 2016 18:13:54 +0000 (20:13 +0200)]
teshfile: dont sort output

5 years agoTry to avoid leaking detached comms.
degomme [Thu, 12 May 2016 12:56:38 +0000 (14:56 +0200)]
Try to avoid leaking detached comms.

5 years agokill useless code
Martin Quinson [Wed, 11 May 2016 17:23:31 +0000 (19:23 +0200)]
kill useless code

5 years agomake overring methods as so to please clang
Martin Quinson [Wed, 11 May 2016 16:34:47 +0000 (18:34 +0200)]
make overring methods as so to please clang

5 years ago[mc] Generalize AddressSpace::read<T>() to return a Remote<T>
Gabriel Corona [Tue, 10 May 2016 14:07:41 +0000 (16:07 +0200)]
[mc] Generalize AddressSpace::read<T>() to return a Remote<T>

5 years ago[mc] Fix MC with the class-hierarchification of simgrid::simix::Synchro
Gabriel Corona [Mon, 9 May 2016 10:49:00 +0000 (12:49 +0200)]
[mc] Fix MC with the class-hierarchification of simgrid::simix::Synchro

5 years agorename s4u Async to Activities
Martin Quinson [Wed, 11 May 2016 08:06:33 +0000 (10:06 +0200)]
rename s4u Async to Activities

5 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 10 May 2016 20:03:33 +0000 (22:03 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

5 years agoUse C++ to implement dynamic dispatch
Martin Quinson [Tue, 10 May 2016 10:12:19 +0000 (12:12 +0200)]
Use C++ to implement dynamic dispatch

Have a look at the code of SIMIX_simcall_exit() to understand what
this change is about.

5 years agocosmetics
Martin Quinson [Mon, 9 May 2016 20:25:57 +0000 (22:25 +0200)]
cosmetics

5 years agosimix::Synchro: Factorize the refcounting for child classes
Martin Quinson [Mon, 9 May 2016 20:18:37 +0000 (22:18 +0200)]
simix::Synchro: Factorize the refcounting for child classes

5 years agosimcall_execution_destroy() -> simgrid::simix::Exec::unref()
Martin Quinson [Mon, 9 May 2016 19:53:05 +0000 (21:53 +0200)]
simcall_execution_destroy() -> simgrid::simix::Exec::unref()

Plus cosmetics on my way.

5 years agoSIMIX_comm_destroy() -> simix::Comm::unref()
Martin Quinson [Mon, 9 May 2016 19:17:11 +0000 (21:17 +0200)]
SIMIX_comm_destroy() -> simix::Comm::unref()

5 years agokill 4 more getter simcalls
Martin Quinson [Mon, 9 May 2016 18:45:30 +0000 (20:45 +0200)]
kill 4 more getter simcalls

5 years agosimix::Comm: turn another function into a method
Martin Quinson [Mon, 9 May 2016 18:32:16 +0000 (20:32 +0200)]
simix::Comm: turn another function into a method

5 years agoSIMIX_mbox_get_head() -> simcall_mbox_front()
Martin Quinson [Mon, 9 May 2016 15:51:17 +0000 (17:51 +0200)]
SIMIX_mbox_get_head() -> simcall_mbox_front()

smx_mailbox should be objects. They should be merged into s4u::Mailbox

5 years agombox: kill a getter simcall
Martin Quinson [Mon, 9 May 2016 15:41:01 +0000 (17:41 +0200)]
mbox: kill a getter simcall

5 years agos4u: rename the private implementations as such
Martin Quinson [Mon, 9 May 2016 15:32:31 +0000 (17:32 +0200)]
s4u: rename the private implementations as such

5 years agosimix: change two more getter simcalls into methods
Martin Quinson [Mon, 9 May 2016 15:25:43 +0000 (17:25 +0200)]
simix: change two more getter simcalls into methods

5 years agoFix BoostContext #include
Gabriel Corona [Mon, 9 May 2016 09:05:57 +0000 (11:05 +0200)]
Fix BoostContext #include

5 years agoSIMIX_comm_get_remains() -> simgrid::simix::Comm::remains()
Martin Quinson [Sun, 8 May 2016 19:44:43 +0000 (21:44 +0200)]
SIMIX_comm_get_remains() -> simgrid::simix::Comm::remains()

+ kill that getter simcall, there is no need

5 years agoremove a useless call
Martin Quinson [Sun, 8 May 2016 17:19:19 +0000 (19:19 +0200)]
remove a useless call

5 years agoturn SIMIX_comm_new() into a proper constructor
Martin Quinson [Sun, 8 May 2016 14:01:20 +0000 (16:01 +0200)]
turn SIMIX_comm_new() into a proper constructor

5 years agoimprove an error message
Martin Quinson [Sat, 7 May 2016 21:00:16 +0000 (23:00 +0200)]
improve an error message

5 years agoSIMIX_comm_cancel() -> simix::Comm->cancel()
Martin Quinson [Sat, 7 May 2016 20:56:55 +0000 (22:56 +0200)]
SIMIX_comm_cancel() -> simix::Comm->cancel()

5 years agocosmetics
Martin Quinson [Fri, 6 May 2016 21:20:32 +0000 (23:20 +0200)]
cosmetics

5 years agokill smx_private.hpp We already have a smx_private.h
Martin Quinson [Fri, 6 May 2016 21:02:51 +0000 (23:02 +0200)]
kill smx_private.hpp We already have a smx_private.h

5 years agoinline a bunch of useless functions
Martin Quinson [Fri, 6 May 2016 20:40:21 +0000 (22:40 +0200)]
inline a bunch of useless functions

5 years agosort Context files
Martin Quinson [Fri, 6 May 2016 20:32:25 +0000 (22:32 +0200)]
sort Context files

5 years agokill a useless accessor
Martin Quinson [Fri, 6 May 2016 16:23:37 +0000 (18:23 +0200)]
kill a useless accessor

5 years agoPfff. These functions are actually not available from the high APIs
Martin Quinson [Fri, 6 May 2016 16:09:45 +0000 (18:09 +0200)]
Pfff. These functions are actually not available from the high APIs

5 years agosmx: synchro->suspend() and synchro->resume() as proper methods
Martin Quinson [Fri, 6 May 2016 16:04:43 +0000 (18:04 +0200)]
smx: synchro->suspend() and synchro->resume() as proper methods

5 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Fri, 6 May 2016 14:58:38 +0000 (16:58 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

5 years agoMC and NS3 are known to not work together
Martin Quinson [Fri, 6 May 2016 14:49:01 +0000 (16:49 +0200)]
MC and NS3 are known to not work together

5 years agosplit smx_synchro_t into a hierarchy of C++ classes
Martin Quinson [Fri, 6 May 2016 14:38:13 +0000 (16:38 +0200)]
split smx_synchro_t into a hierarchy of C++ classes

- The change is still rather crude since the code of these objects'
  methods is still spread around in the code (search for dynamic_cast
  in this patch to find the resulting horrors).
  I wanted to keep the patch small to have a chance to finish it
  without revert.

- This breaks MC (at least) because I dunno how to read an object in
  the remote process

5 years ago[mc] Use bool instead of int for match_pairs
Gabriel Corona [Fri, 6 May 2016 09:06:18 +0000 (11:06 +0200)]
[mc] Use bool instead of int for match_pairs

5 years ago[mc] Don't use new/delete for HeapLocationPairs
Gabriel Corona [Fri, 6 May 2016 09:05:05 +0000 (11:05 +0200)]
[mc] Don't use new/delete for HeapLocationPairs

5 years agoremove an useless pimple around exceptions
Martin Quinson [Fri, 6 May 2016 08:53:52 +0000 (10:53 +0200)]
remove an useless pimple around exceptions

5 years ago[mc] Use std::set for the list-of-heap-location-pairs
Gabriel Corona [Fri, 6 May 2016 08:38:01 +0000 (10:38 +0200)]
[mc] Use std::set for the list-of-heap-location-pairs

5 years agokill an unused simcall: comm_get_state
Martin Quinson [Thu, 5 May 2016 20:02:58 +0000 (22:02 +0200)]
kill an unused simcall: comm_get_state

5 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Thu, 5 May 2016 07:37:16 +0000 (09:37 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

5 years agoKill host simcalls (deprecated, unused)
Martin Quinson [Wed, 4 May 2016 20:48:16 +0000 (22:48 +0200)]
Kill host simcalls (deprecated, unused)

5 years ago[mc] Merge StateComparator with ComparisonState
Gabriel Corona [Wed, 4 May 2016 14:44:04 +0000 (16:44 +0200)]
[mc] Merge StateComparator with ComparisonState

and pass it explicitely between functions.

5 years ago[mc] Move s_heap_area in compare.cpp
Gabriel Corona [Wed, 4 May 2016 12:51:46 +0000 (14:51 +0200)]
[mc] Move s_heap_area in compare.cpp

5 years ago[mc] Remove useless bits in compare.cpp
Gabriel Corona [Wed, 4 May 2016 12:38:37 +0000 (14:38 +0200)]
[mc] Remove useless bits in compare.cpp

5 years ago[mc] Remove useless header file
Gabriel Corona [Wed, 4 May 2016 12:26:42 +0000 (14:26 +0200)]
[mc] Remove useless header file

5 years ago[mc] Merge mc_diff.cpp and mc_compare.cpp
Gabriel Corona [Wed, 4 May 2016 12:19:03 +0000 (14:19 +0200)]
[mc] Merge mc_diff.cpp and mc_compare.cpp

in order to ease refactoring.

5 years ago[mc] Remove __STDC_FORMAT_MACROS
Gabriel Corona [Wed, 4 May 2016 12:05:10 +0000 (14:05 +0200)]
[mc] Remove __STDC_FORMAT_MACROS

It is not needed in C++.

5 years ago[mc] Simplified control flow
Gabriel Corona [Wed, 4 May 2016 09:23:45 +0000 (11:23 +0200)]
[mc] Simplified control flow

5 years ago[mc] Move some functions as methods of StateComparator
Gabriel Corona [Wed, 4 May 2016 09:10:48 +0000 (11:10 +0200)]
[mc] Move some functions as methods of StateComparator

5 years ago[mc] Refactoring of the state comparison code
Gabriel Corona [Wed, 4 May 2016 09:04:20 +0000 (11:04 +0200)]
[mc] Refactoring of the state comparison code

5 years ago[mc] Better documentation of weird-DWARF-issue workaround
Gabriel Corona [Wed, 4 May 2016 07:56:20 +0000 (09:56 +0200)]
[mc] Better documentation of weird-DWARF-issue workaround

5 years agos4u: stick to the new naming conventions
Martin Quinson [Tue, 3 May 2016 19:00:35 +0000 (21:00 +0200)]
s4u: stick to the new naming conventions

5 years ago[config] Fix inconsistent noexcept in ~missing_key_error()
Gabriel Corona [Tue, 3 May 2016 12:22:11 +0000 (14:22 +0200)]
[config] Fix inconsistent noexcept in ~missing_key_error()

5 years ago[config] More general comparators for Flag
Gabriel Corona [Tue, 3 May 2016 10:08:50 +0000 (12:08 +0200)]
[config] More general comparators for Flag

Fix ambiguity in overload resolution

5 years ago[config] Mark ~missing_key_error() noexcept
Gabriel Corona [Tue, 3 May 2016 09:54:53 +0000 (11:54 +0200)]
[config] Mark ~missing_key_error() noexcept

5 years agoAvoid useless calls to abort() when throwing exceptions if the compiler is smart...
Gabriel Corona [Tue, 3 May 2016 09:39:34 +0000 (11:39 +0200)]
Avoid useless calls to abort() when throwing exceptions if the compiler is smart enough

5 years ago[config] Horrible mess to translate C++ exceptions to C exceptions
Gabriel Corona [Tue, 3 May 2016 08:51:34 +0000 (10:51 +0200)]
[config] Horrible mess to translate C++ exceptions to C exceptions

5 years agoRemove bogus XBT_PRIVATE
Gabriel Corona [Tue, 3 May 2016 08:23:24 +0000 (10:23 +0200)]
Remove bogus XBT_PRIVATE

5 years ago[config] Use the c++ API for some configuration flags
Gabriel Corona [Mon, 2 May 2016 14:30:21 +0000 (16:30 +0200)]
[config] Use the c++ API for some configuration flags

5 years ago[config] Some alias support in the C++ API
Gabriel Corona [Mon, 2 May 2016 14:27:43 +0000 (16:27 +0200)]
[config] Some alias support in the C++ API

5 years ago[config] Remove one bindFlag() overload which does not make sense/work anymore
Gabriel Corona [Mon, 2 May 2016 14:06:03 +0000 (16:06 +0200)]
[config] Remove one bindFlag() overload which does not make sense/work anymore

5 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Mon, 2 May 2016 17:28:30 +0000 (19:28 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

5 years ago[config] Rewrite the config core
Gabriel Corona [Mon, 2 May 2016 09:14:04 +0000 (11:14 +0200)]
[config] Rewrite the config core

* the core is written in C++ and has a to-be-deprecated C API;

* remove the type union (fix the problem where the C++-style flags
  were defined with with the string type;

* remove some advanced/unused C API.

5 years agosimix: inline a function
Martin Quinson [Mon, 2 May 2016 12:58:44 +0000 (14:58 +0200)]
simix: inline a function

5 years agokill more old cruft: adaptative threshold
Martin Quinson [Sun, 1 May 2016 20:32:45 +0000 (22:32 +0200)]
kill more old cruft: adaptative threshold

That's too bad, it'd be good to have this running. But the code is not
tested since a long time and I don't feel like fixing it before
changing everything to SG4.

5 years agokill deadcode (TIME_BENCH_AMDAHL)
Martin Quinson [Sun, 1 May 2016 20:28:27 +0000 (22:28 +0200)]
kill deadcode (TIME_BENCH_AMDAHL)

5 years agosmall cleanups
Martin Quinson [Sat, 30 Apr 2016 16:10:24 +0000 (18:10 +0200)]
small cleanups

5 years agoleaks --
degomme [Sat, 30 Apr 2016 11:14:56 +0000 (13:14 +0200)]
leaks --

5 years agoRemove valgrind empty files before feeding them to jenkins
degomme [Sat, 30 Apr 2016 10:53:40 +0000 (12:53 +0200)]
Remove valgrind empty files before feeding them to jenkins

5 years agoYet another batch of fixes
degomme [Sat, 30 Apr 2016 00:30:04 +0000 (02:30 +0200)]
Yet another batch of fixes

5 years agoOn last leak before holidays
degomme [Fri, 29 Apr 2016 20:42:56 +0000 (22:42 +0200)]
On last leak before holidays

5 years agooops
degomme [Fri, 29 Apr 2016 14:18:41 +0000 (16:18 +0200)]
oops

5 years agocomment++
Martin Quinson [Fri, 29 Apr 2016 10:05:22 +0000 (12:05 +0200)]
comment++

5 years agonote to self
Martin Quinson [Thu, 28 Apr 2016 09:05:20 +0000 (11:05 +0200)]
note to self

5 years agoRemove return type of xbt_cfg_set_as_string()
Gabriel Corona [Fri, 29 Apr 2016 14:39:50 +0000 (16:39 +0200)]
Remove return type of xbt_cfg_set_as_string()

It was not used and was not correctly set for the string type branch.

5 years ago[config] Remove/privatize unused APIs
Gabriel Corona [Fri, 29 Apr 2016 12:27:38 +0000 (14:27 +0200)]
[config] Remove/privatize unused APIs

The config type enum is now private to config.cpp.

5 years ago[config] Move aliases outside of the main option dict
Gabriel Corona [Fri, 29 Apr 2016 11:10:43 +0000 (13:10 +0200)]
[config] Move aliases outside of the main option dict

5 years ago[config] Remove multiple-value support in the config core engine
Gabriel Corona [Fri, 29 Apr 2016 10:30:28 +0000 (12:30 +0200)]
[config] Remove multiple-value support in the config core engine

The config core used to be able to manage multiple values for a given
flag.  This was removed some time ago but the code was still using a
dynar for storing the value.

5 years ago[config] Create a Config class
Gabriel Corona [Fri, 29 Apr 2016 09:29:02 +0000 (11:29 +0200)]
[config] Create a Config class

Currently, it does not do much more than its xbt_dict_t.

5 years ago[config] Rename s_xbt_cfgelm_t to simgrid::config::ConfigurationElement
Gabriel Corona [Fri, 29 Apr 2016 09:13:26 +0000 (11:13 +0200)]
[config] Rename s_xbt_cfgelm_t to simgrid::config::ConfigurationElement

5 years agosuppression++
degomme [Fri, 29 Apr 2016 13:28:20 +0000 (15:28 +0200)]
suppression++

5 years agoleaks --
degomme [Fri, 29 Apr 2016 13:25:37 +0000 (15:25 +0200)]
leaks --

5 years agoleak--
degomme [Fri, 29 Apr 2016 11:22:04 +0000 (13:22 +0200)]
leak--

5 years agobcast on one process is a no-op
degomme [Fri, 29 Apr 2016 09:23:43 +0000 (11:23 +0200)]
bcast on one process is a no-op

5 years agoleak --
degomme [Fri, 29 Apr 2016 09:23:28 +0000 (11:23 +0200)]
leak --

5 years agosegfaulting is not leaking - exclude this test from memcheck
degomme [Fri, 29 Apr 2016 08:55:32 +0000 (10:55 +0200)]
segfaulting is not leaking - exclude this test from memcheck

5 years agoEnsure that the dict subsystem is initialized when creating a dict
Gabriel Corona [Fri, 29 Apr 2016 08:47:46 +0000 (10:47 +0200)]
Ensure that the dict subsystem is initialized when creating a dict

5 years agothis test actually caused an overflow which led to strange things and leaks.
degomme [Fri, 29 Apr 2016 00:28:06 +0000 (02:28 +0200)]
this test actually caused an overflow which led to strange things and leaks.

5 years agoDon't create structures for 0 sized datatypes
degomme [Thu, 28 Apr 2016 23:44:24 +0000 (01:44 +0200)]
Don't create structures for 0 sized datatypes

5 years agoRemove spurious XBT_PUBLIC
Gabriel Corona [Thu, 28 Apr 2016 19:58:16 +0000 (21:58 +0200)]
Remove spurious XBT_PUBLIC

5 years agofix warning and build
degomme [Thu, 28 Apr 2016 15:01:07 +0000 (17:01 +0200)]
fix warning and build

5 years agoAvoid allocating 0 bytes (issue with mallocators only?)
degomme [Thu, 28 Apr 2016 14:59:18 +0000 (16:59 +0200)]
Avoid allocating 0 bytes (issue with mallocators only?)