Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
3 years agorename tracing example
Frederic Suter [Mon, 16 May 2016 05:27:03 +0000 (07:27 +0200)]
rename tracing example

3 years agodone reformating the doc of MSG examples. Many examples remain undocumented
Martin Quinson [Mon, 16 May 2016 05:19:44 +0000 (07:19 +0200)]
done reformating the doc of MSG examples. Many examples remain undocumented

3 years agodoc example: actions and apps
Martin Quinson [Mon, 16 May 2016 05:07:37 +0000 (07:07 +0200)]
doc example: actions and apps

3 years agoDoc example: model-based ones + add many TODO
Martin Quinson [Mon, 16 May 2016 04:30:30 +0000 (06:30 +0200)]
Doc example: model-based ones + add many TODO

3 years agoRework the presentation of MSG tracing examples
Martin Quinson [Mon, 16 May 2016 03:46:54 +0000 (05:46 +0200)]
Rework the presentation of MSG tracing examples

3 years agokebab case
Martin Quinson [Sun, 15 May 2016 21:47:10 +0000 (23:47 +0200)]
kebab case

3 years agoFurther reorganize the MSG examples' documentation
Martin Quinson [Sun, 15 May 2016 08:55:29 +0000 (10:55 +0200)]
Further reorganize the MSG examples' documentation

3 years agotar xzf fails randomly on netbsd for now, try another method
degomme [Sat, 14 May 2016 00:29:38 +0000 (02:29 +0200)]
tar xzf fails randomly on netbsd for now, try another method

3 years agobetter presentation of the examples in the doc
Martin Quinson [Sat, 14 May 2016 00:03:32 +0000 (02:03 +0200)]
better presentation of the examples in the doc

3 years agodoxygen: Fix 3 out of 23235235235 small formating issues
Martin Quinson [Fri, 13 May 2016 22:25:08 +0000 (00:25 +0200)]
doxygen: Fix 3 out of 23235235235 small formating issues

3 years agoDoc: Kill formating pragma that are unused since 10 years
Martin Quinson [Fri, 13 May 2016 22:06:21 +0000 (00:06 +0200)]
Doc: Kill formating pragma that are unused since 10 years

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Sat, 14 May 2016 00:03:00 +0000 (02:03 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years agocosmetics
Frederic Suter [Sat, 14 May 2016 00:02:11 +0000 (02:02 +0200)]
cosmetics

3 years agorevise CMake doc
Frederic Suter [Sat, 14 May 2016 00:01:46 +0000 (02:01 +0200)]
revise CMake doc

3 years agosilence warnings from boost (only on netbsd..
degomme [Fri, 13 May 2016 21:50:26 +0000 (23:50 +0200)]
silence warnings from boost (only on netbsd..
this happens when we use  boost::intrusive::constant_time_size<false> for virtual machines
If anyone has any idea on how to remove this one... It does not pop on other systems

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 13 May 2016 21:43:17 +0000 (23:43 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years agosome more forgotten override markers
Martin Quinson [Fri, 13 May 2016 21:39:58 +0000 (23:39 +0200)]
some more forgotten override markers

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 13 May 2016 21:10:11 +0000 (23:10 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years agotweak the documentation rendering
Martin Quinson [Fri, 13 May 2016 09:48:19 +0000 (11:48 +0200)]
tweak the documentation rendering

3 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

3 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

3 years agoDoc improvment
Martin Quinson [Fri, 13 May 2016 04:44:50 +0000 (06:44 +0200)]
Doc improvment

3 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

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

3 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

3 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

3 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

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

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

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

3 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

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

3 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

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

3 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

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

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

3 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

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

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

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

3 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

3 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

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

3 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

3 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

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

3 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

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

3 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

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

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

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

3 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

3 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

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

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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

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

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

3 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

3 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

3 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

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

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

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

3 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

3 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

3 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

3 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

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

3 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

3 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

3 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

3 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

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

3 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

3 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

3 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

3 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

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

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

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

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

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

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

3 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

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

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

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