Martin Quinson [Wed, 11 May 2016 17:23:31 +0000 (19:23 +0200)]
kill useless code
Martin Quinson [Wed, 11 May 2016 16:34:47 +0000 (18:34 +0200)]
make overring methods as so to please clang
Martin Quinson [Wed, 11 May 2016 08:06:33 +0000 (10:06 +0200)]
rename s4u Async to Activities
Martin Quinson [Tue, 10 May 2016 20:03:33 +0000 (22:03 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
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.
Martin Quinson [Mon, 9 May 2016 20:25:57 +0000 (22:25 +0200)]
cosmetics
Martin Quinson [Mon, 9 May 2016 20:18:37 +0000 (22:18 +0200)]
simix::Synchro: Factorize the refcounting for child classes
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.
Martin Quinson [Mon, 9 May 2016 19:17:11 +0000 (21:17 +0200)]
SIMIX_comm_destroy() -> simix::Comm::unref()
Martin Quinson [Mon, 9 May 2016 18:45:30 +0000 (20:45 +0200)]
kill 4 more getter simcalls
Martin Quinson [Mon, 9 May 2016 18:32:16 +0000 (20:32 +0200)]
simix::Comm: turn another function into a method
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
Martin Quinson [Mon, 9 May 2016 15:41:01 +0000 (17:41 +0200)]
mbox: kill a getter simcall
Martin Quinson [Mon, 9 May 2016 15:32:31 +0000 (17:32 +0200)]
s4u: rename the private implementations as such
Martin Quinson [Mon, 9 May 2016 15:25:43 +0000 (17:25 +0200)]
simix: change two more getter simcalls into methods
Gabriel Corona [Mon, 9 May 2016 09:05:57 +0000 (11:05 +0200)]
Fix BoostContext #include
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
Martin Quinson [Sun, 8 May 2016 17:19:19 +0000 (19:19 +0200)]
remove a useless call
Martin Quinson [Sun, 8 May 2016 14:01:20 +0000 (16:01 +0200)]
turn SIMIX_comm_new() into a proper constructor
Martin Quinson [Sat, 7 May 2016 21:00:16 +0000 (23:00 +0200)]
improve an error message
Martin Quinson [Sat, 7 May 2016 20:56:55 +0000 (22:56 +0200)]
SIMIX_comm_cancel() -> simix::Comm->cancel()
Martin Quinson [Fri, 6 May 2016 21:20:32 +0000 (23:20 +0200)]
cosmetics
Martin Quinson [Fri, 6 May 2016 21:02:51 +0000 (23:02 +0200)]
kill smx_private.hpp We already have a smx_private.h
Martin Quinson [Fri, 6 May 2016 20:40:21 +0000 (22:40 +0200)]
inline a bunch of useless functions
Martin Quinson [Fri, 6 May 2016 20:32:25 +0000 (22:32 +0200)]
sort Context files
Martin Quinson [Fri, 6 May 2016 16:23:37 +0000 (18:23 +0200)]
kill a useless accessor
Martin Quinson [Fri, 6 May 2016 16:09:45 +0000 (18:09 +0200)]
Pfff. These functions are actually not available from the high APIs
Martin Quinson [Fri, 6 May 2016 16:04:43 +0000 (18:04 +0200)]
smx: synchro->suspend() and synchro->resume() as proper methods
Martin Quinson [Fri, 6 May 2016 14:58:38 +0000 (16:58 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Fri, 6 May 2016 14:49:01 +0000 (16:49 +0200)]
MC and NS3 are known to not work together
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
Gabriel Corona [Fri, 6 May 2016 09:06:18 +0000 (11:06 +0200)]
[mc] Use bool instead of int for match_pairs
Gabriel Corona [Fri, 6 May 2016 09:05:05 +0000 (11:05 +0200)]
[mc] Don't use new/delete for HeapLocationPairs
Martin Quinson [Fri, 6 May 2016 08:53:52 +0000 (10:53 +0200)]
remove an useless pimple around exceptions
Gabriel Corona [Fri, 6 May 2016 08:38:01 +0000 (10:38 +0200)]
[mc] Use std::set for the list-of-heap-location-pairs
Martin Quinson [Thu, 5 May 2016 20:02:58 +0000 (22:02 +0200)]
kill an unused simcall: comm_get_state
Martin Quinson [Thu, 5 May 2016 07:37:16 +0000 (09:37 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Wed, 4 May 2016 20:48:16 +0000 (22:48 +0200)]
Kill host simcalls (deprecated, unused)
Gabriel Corona [Wed, 4 May 2016 14:44:04 +0000 (16:44 +0200)]
[mc] Merge StateComparator with ComparisonState
and pass it explicitely between functions.
Gabriel Corona [Wed, 4 May 2016 12:51:46 +0000 (14:51 +0200)]
[mc] Move s_heap_area in compare.cpp
Gabriel Corona [Wed, 4 May 2016 12:38:37 +0000 (14:38 +0200)]
[mc] Remove useless bits in compare.cpp
Gabriel Corona [Wed, 4 May 2016 12:26:42 +0000 (14:26 +0200)]
[mc] Remove useless header file
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.
Gabriel Corona [Wed, 4 May 2016 12:05:10 +0000 (14:05 +0200)]
[mc] Remove __STDC_FORMAT_MACROS
It is not needed in C++.
Gabriel Corona [Wed, 4 May 2016 09:23:45 +0000 (11:23 +0200)]
[mc] Simplified control flow
Gabriel Corona [Wed, 4 May 2016 09:10:48 +0000 (11:10 +0200)]
[mc] Move some functions as methods of StateComparator
Gabriel Corona [Wed, 4 May 2016 09:04:20 +0000 (11:04 +0200)]
[mc] Refactoring of the state comparison code
Gabriel Corona [Wed, 4 May 2016 07:56:20 +0000 (09:56 +0200)]
[mc] Better documentation of weird-DWARF-issue workaround
Martin Quinson [Tue, 3 May 2016 19:00:35 +0000 (21:00 +0200)]
s4u: stick to the new naming conventions
Gabriel Corona [Tue, 3 May 2016 12:22:11 +0000 (14:22 +0200)]
[config] Fix inconsistent noexcept in ~missing_key_error()
Gabriel Corona [Tue, 3 May 2016 10:08:50 +0000 (12:08 +0200)]
[config] More general comparators for Flag
Fix ambiguity in overload resolution
Gabriel Corona [Tue, 3 May 2016 09:54:53 +0000 (11:54 +0200)]
[config] Mark ~missing_key_error() noexcept
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
Gabriel Corona [Tue, 3 May 2016 08:51:34 +0000 (10:51 +0200)]
[config] Horrible mess to translate C++ exceptions to C exceptions
Gabriel Corona [Tue, 3 May 2016 08:23:24 +0000 (10:23 +0200)]
Remove bogus XBT_PRIVATE
Gabriel Corona [Mon, 2 May 2016 14:30:21 +0000 (16:30 +0200)]
[config] Use the c++ API for some configuration flags
Gabriel Corona [Mon, 2 May 2016 14:27:43 +0000 (16:27 +0200)]
[config] Some alias support in the C++ API
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
Martin Quinson [Mon, 2 May 2016 17:28:30 +0000 (19:28 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
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.
Martin Quinson [Mon, 2 May 2016 12:58:44 +0000 (14:58 +0200)]
simix: inline a function
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.
Martin Quinson [Sun, 1 May 2016 20:28:27 +0000 (22:28 +0200)]
kill deadcode (TIME_BENCH_AMDAHL)
Martin Quinson [Sat, 30 Apr 2016 16:10:24 +0000 (18:10 +0200)]
small cleanups
degomme [Sat, 30 Apr 2016 11:14:56 +0000 (13:14 +0200)]
leaks --
degomme [Sat, 30 Apr 2016 10:53:40 +0000 (12:53 +0200)]
Remove valgrind empty files before feeding them to jenkins
degomme [Sat, 30 Apr 2016 00:30:04 +0000 (02:30 +0200)]
Yet another batch of fixes
degomme [Fri, 29 Apr 2016 20:42:56 +0000 (22:42 +0200)]
On last leak before holidays
degomme [Fri, 29 Apr 2016 14:18:41 +0000 (16:18 +0200)]
oops
Martin Quinson [Fri, 29 Apr 2016 10:05:22 +0000 (12:05 +0200)]
comment++
Martin Quinson [Thu, 28 Apr 2016 09:05:20 +0000 (11:05 +0200)]
note to self
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.
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.
Gabriel Corona [Fri, 29 Apr 2016 11:10:43 +0000 (13:10 +0200)]
[config] Move aliases outside of the main option dict
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.
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.
Gabriel Corona [Fri, 29 Apr 2016 09:13:26 +0000 (11:13 +0200)]
[config] Rename s_xbt_cfgelm_t to simgrid::config::ConfigurationElement
degomme [Fri, 29 Apr 2016 13:28:20 +0000 (15:28 +0200)]
suppression++
degomme [Fri, 29 Apr 2016 13:25:37 +0000 (15:25 +0200)]
leaks --
degomme [Fri, 29 Apr 2016 11:22:04 +0000 (13:22 +0200)]
leak--
degomme [Fri, 29 Apr 2016 09:23:43 +0000 (11:23 +0200)]
bcast on one process is a no-op
degomme [Fri, 29 Apr 2016 09:23:28 +0000 (11:23 +0200)]
leak --
degomme [Fri, 29 Apr 2016 08:55:32 +0000 (10:55 +0200)]
segfaulting is not leaking - exclude this test from memcheck
Gabriel Corona [Fri, 29 Apr 2016 08:47:46 +0000 (10:47 +0200)]
Ensure that the dict subsystem is initialized when creating a dict
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.
degomme [Thu, 28 Apr 2016 23:44:24 +0000 (01:44 +0200)]
Don't create structures for 0 sized datatypes
Gabriel Corona [Thu, 28 Apr 2016 19:58:16 +0000 (21:58 +0200)]
Remove spurious XBT_PUBLIC
degomme [Thu, 28 Apr 2016 15:01:07 +0000 (17:01 +0200)]
fix warning and build
degomme [Thu, 28 Apr 2016 14:59:18 +0000 (16:59 +0200)]
Avoid allocating 0 bytes (issue with mallocators only?)
degomme [Thu, 28 Apr 2016 14:30:23 +0000 (16:30 +0200)]
Some more cleanups in datatypes end of life
degomme [Thu, 28 Apr 2016 13:37:09 +0000 (15:37 +0200)]
leak-- (duplicate of a predefined datatype can be released)
Gabriel Corona [Thu, 28 Apr 2016 13:36:08 +0000 (15:36 +0200)]
Remove useless boost #includes
Gabriel Corona [Thu, 28 Apr 2016 13:21:06 +0000 (15:21 +0200)]
Use C++ Flag for context factory selection
Gabriel Corona [Thu, 28 Apr 2016 13:20:46 +0000 (15:20 +0200)]
[config] Add a template declareFlag<T>(...)
degomme [Thu, 28 Apr 2016 12:39:57 +0000 (14:39 +0200)]
fix The leak
Gabriel Corona [Thu, 28 Apr 2016 10:38:52 +0000 (12:38 +0200)]
[mc] Fix compilation when MC id disabled
Gabriel Corona [Thu, 28 Apr 2016 09:54:31 +0000 (11:54 +0200)]
[mc] Remove redundant 'mc_mode' global variable
Martin Quinson [Thu, 28 Apr 2016 08:44:08 +0000 (10:44 +0200)]
start the development of 3.14 right away
Martin Quinson [Thu, 28 Apr 2016 08:42:10 +0000 (10:42 +0200)]
note to self
Martin Quinson [Wed, 27 Apr 2016 23:18:29 +0000 (01:18 +0200)]
gosh, that logo is awful