Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
7 years agoteshfile: dont sort output
Martin Quinson [Wed, 11 May 2016 18:13:54 +0000 (20:13 +0200)]
teshfile: dont sort output

7 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.

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

7 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

7 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>

7 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

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

7 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

7 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.

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

7 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

7 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.

7 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()

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

7 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

7 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

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

7 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

7 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

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

7 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

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

7 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

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

7 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()

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

7 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

7 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

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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

7 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.

7 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

7 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

7 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

7 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.

7 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++.

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

7 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

7 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

7 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

7 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

7 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()

7 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

7 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

7 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

7 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

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

7 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

7 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

7 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

7 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

7 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.

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

7 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.

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

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

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

7 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

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

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

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

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

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

7 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.

7 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.

7 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

7 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.

7 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.

7 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

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

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

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

7 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

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

7 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

7 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

7 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.

7 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

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

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

7 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?)

7 years agoSome more cleanups in datatypes end of life
degomme [Thu, 28 Apr 2016 14:30:23 +0000 (16:30 +0200)]
Some more cleanups in datatypes end of life

7 years agoleak-- (duplicate of a predefined datatype can be released)
degomme [Thu, 28 Apr 2016 13:37:09 +0000 (15:37 +0200)]
leak-- (duplicate of a predefined datatype can be released)

7 years agoRemove useless boost #includes
Gabriel Corona [Thu, 28 Apr 2016 13:36:08 +0000 (15:36 +0200)]
Remove useless boost #includes

7 years agoUse C++ Flag for context factory selection
Gabriel Corona [Thu, 28 Apr 2016 13:21:06 +0000 (15:21 +0200)]
Use C++ Flag for context factory selection

7 years ago[config] Add a template declareFlag<T>(...)
Gabriel Corona [Thu, 28 Apr 2016 13:20:46 +0000 (15:20 +0200)]
[config] Add a template declareFlag<T>(...)

7 years agofix The leak
degomme [Thu, 28 Apr 2016 12:39:57 +0000 (14:39 +0200)]
fix The leak

7 years ago[mc] Fix compilation when MC id disabled
Gabriel Corona [Thu, 28 Apr 2016 10:38:52 +0000 (12:38 +0200)]
[mc] Fix compilation when MC id disabled