Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
4 years agoreorganize examples/msg/energy
Frederic Suter [Thu, 24 Mar 2016 09:36:43 +0000 (10:36 +0100)]
reorganize examples/msg/energy

 Note the parallel_task_energy tests included the parallel_task test,
 then keep the energy one only and rename it.

4 years ago[INSTR] Fix broken build introduced in 592e914799a871f2b3fb043ff4f96dc0cb973562
Christian Heinrich [Wed, 23 Mar 2016 19:37:57 +0000 (20:37 +0100)]
[INSTR] Fix broken build introduced in 592e914799a871f2b3fb043ff4f96dc0cb973562

4 years ago[INSTR] Cleanup code by transitioning to C++ streams
Christian Heinrich [Wed, 23 Mar 2016 15:37:46 +0000 (16:37 +0100)]
[INSTR] Cleanup code by transitioning to C++ streams

4 years ago[mc] Move some MC_show_non_termination() in SafetyChecker.cpp
Gabriel Corona [Wed, 23 Mar 2016 15:40:22 +0000 (16:40 +0100)]
[mc] Move some MC_show_non_termination() in SafetyChecker.cpp

4 years ago[mc] Remove unused argument in MC_show_deadlock()
Gabriel Corona [Wed, 23 Mar 2016 15:30:04 +0000 (16:30 +0100)]
[mc] Remove unused argument in MC_show_deadlock()

4 years ago[mc] Remove the TODO about MC_dump_stacks()
Gabriel Corona [Wed, 23 Mar 2016 14:56:20 +0000 (15:56 +0100)]
[mc] Remove the TODO about MC_dump_stacks()

because I just did it.

4 years ago[mc] Fix MC_dump_stacks() to work cross-process
Gabriel Corona [Wed, 23 Mar 2016 14:46:39 +0000 (15:46 +0100)]
[mc] Fix MC_dump_stacks() to work cross-process

4 years ago[mc] Remove SafetyChecker::pre
Gabriel Corona [Wed, 23 Mar 2016 13:56:31 +0000 (14:56 +0100)]
[mc] Remove SafetyChecker::pre

4 years ago[mc] Fix process_time handling
Gabriel Corona [Wed, 23 Mar 2016 13:48:08 +0000 (14:48 +0100)]
[mc] Fix process_time handling

4 years ago[mc] Remove MC_exit()
Gabriel Corona [Wed, 23 Mar 2016 13:20:08 +0000 (14:20 +0100)]
[mc] Remove MC_exit()

4 years ago[mc] Fix a -Werror,-Wsign-compare
Gabriel Corona [Wed, 23 Mar 2016 13:04:16 +0000 (14:04 +0100)]
[mc] Fix a -Werror,-Wsign-compare

4 years ago[mc] Remove MC_init()
Gabriel Corona [Wed, 23 Mar 2016 12:37:41 +0000 (13:37 +0100)]
[mc] Remove MC_init()

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Wed, 23 Mar 2016 12:09:30 +0000 (13:09 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years ago[mc] Fix a leak in simgrid-mc
Gabriel Corona [Wed, 23 Mar 2016 12:08:29 +0000 (13:08 +0100)]
[mc] Fix a leak in simgrid-mc

4 years agokill useless test+simplifications
Frederic Suter [Wed, 23 Mar 2016 12:01:37 +0000 (13:01 +0100)]
kill useless test+simplifications

4 years ago[mc] Remove some globals from is_visted_state()
Gabriel Corona [Wed, 23 Mar 2016 11:29:49 +0000 (12:29 +0100)]
[mc] Remove some globals from is_visted_state()

4 years ago[mc] Extract prune_visited_states() out of is_visited_state()
Gabriel Corona [Wed, 23 Mar 2016 10:53:42 +0000 (11:53 +0100)]
[mc] Extract prune_visited_states() out of is_visited_state()

4 years agoall DHT examples are now called dht-<protocol>
Frederic Suter [Wed, 23 Mar 2016 11:15:08 +0000 (12:15 +0100)]
all DHT examples are now called dht-<protocol>

4 years ago[mc] Bring back DerefAndCompareByNbProcessesAndUsedHeap
Gabriel Corona [Wed, 23 Mar 2016 11:14:59 +0000 (12:14 +0100)]
[mc] Bring back DerefAndCompareByNbProcessesAndUsedHeap

4 years agorename a method to stick to our naming conventions
Martin Quinson [Wed, 23 Mar 2016 09:28:02 +0000 (10:28 +0100)]
rename a method to stick to our naming conventions

4 years agons3: typo and useless check
Martin Quinson [Wed, 23 Mar 2016 09:27:46 +0000 (10:27 +0100)]
ns3: typo and useless check

4 years agons3: inline some functions
Martin Quinson [Tue, 22 Mar 2016 21:22:43 +0000 (22:22 +0100)]
ns3: inline some functions

4 years agoone more refactored
Frederic Suter [Wed, 23 Mar 2016 10:49:13 +0000 (11:49 +0100)]
one more refactored

4 years ago[mc] Remove get_search_interval()
Gabriel Corona [Wed, 23 Mar 2016 10:16:10 +0000 (11:16 +0100)]
[mc] Remove get_search_interval()

4 years ago[mc] Use std::equal_range in is_visited_state()
Gabriel Corona [Wed, 23 Mar 2016 10:13:54 +0000 (11:13 +0100)]
[mc] Use std::equal_range in is_visited_state()

4 years ago[mc] Use std::equal_range in is_visited_pair()
Gabriel Corona [Wed, 23 Mar 2016 10:04:31 +0000 (11:04 +0100)]
[mc] Use std::equal_range in is_visited_pair()

4 years ago[xbt] Fix yet another memory leak in the promela parser
Gabriel Corona [Wed, 23 Mar 2016 09:29:01 +0000 (10:29 +0100)]
[xbt] Fix yet another memory leak in the promela parser

4 years ago[xbt] Fix a another memory leak in the promela parser
Gabriel Corona [Wed, 23 Mar 2016 09:27:28 +0000 (10:27 +0100)]
[xbt] Fix a another memory leak in the promela parser

4 years ago[xbt] Fix a memory leak in the promela parser
Gabriel Corona [Wed, 23 Mar 2016 09:24:11 +0000 (10:24 +0100)]
[xbt] Fix a memory leak in the promela parser

4 years ago[mc] Fix a leak in is_reached_acceptance_pair()
Gabriel Corona [Wed, 23 Mar 2016 09:15:28 +0000 (10:15 +0100)]
[mc] Fix a leak in is_reached_acceptance_pair()

4 years ago[mc] Use std::equal_range in is_reached_acceptance_pair()
Gabriel Corona [Wed, 23 Mar 2016 08:58:31 +0000 (09:58 +0100)]
[mc] Use std::equal_range in is_reached_acceptance_pair()

This simplifies the logic a lot.

4 years ago[mc] Use std::equal_range in get_search_range()
Gabriel Corona [Wed, 23 Mar 2016 08:30:48 +0000 (09:30 +0100)]
[mc] Use std::equal_range in get_search_range()

The semantic of this function chanegd slightly in order to have
simpler code in the callers.

4 years ago[mc] Use a single templated code for get_search_interval
Gabriel Corona [Tue, 22 Mar 2016 16:32:15 +0000 (17:32 +0100)]
[mc] Use a single templated code for get_search_interval

4 years ago[mc] Move some liveness code in the liveness file (private/static)
Gabriel Corona [Tue, 22 Mar 2016 14:42:02 +0000 (15:42 +0100)]
[mc] Move some liveness code in the liveness file (private/static)

4 years ago[mc] Do not use a dangerous guess-the-type logic in snapshot_compare()
Gabriel Corona [Tue, 22 Mar 2016 14:31:10 +0000 (15:31 +0100)]
[mc] Do not use a dangerous guess-the-type logic in snapshot_compare()

4 years ago[mc] Move MC_replay_liveness() as a static function of mc_liveness.c
Gabriel Corona [Mon, 21 Mar 2016 16:10:03 +0000 (17:10 +0100)]
[mc] Move MC_replay_liveness() as a static function of mc_liveness.c

4 years ago[mc] Move the (main) safety code as methods of SafetyChecker
Gabriel Corona [Mon, 21 Mar 2016 15:54:11 +0000 (16:54 +0100)]
[mc] Move the (main) safety code as methods of SafetyChecker

4 years ago[mc] Do not use reduction_mode outside of the safety algorithm
Gabriel Corona [Mon, 21 Mar 2016 15:45:52 +0000 (16:45 +0100)]
[mc] Do not use reduction_mode outside of the safety algorithm

4 years ago[mc] Dummy SafetyChecker class
Gabriel Corona [Mon, 21 Mar 2016 14:33:22 +0000 (15:33 +0100)]
[mc] Dummy SafetyChecker class

4 years ago[mc] Working on an interface between a model-checking session and a model-checking...
Gabriel Corona [Fri, 18 Mar 2016 16:00:55 +0000 (17:00 +0100)]
[mc] Working on an interface between a model-checking session and a model-checking algorithm

4 years agocouple more simplifications
Frederic Suter [Wed, 23 Mar 2016 09:58:36 +0000 (10:58 +0100)]
couple more simplifications

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 22 Mar 2016 21:40:41 +0000 (22:40 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agosome cleanups in examples/msg
Frederic Suter [Tue, 22 Mar 2016 20:51:12 +0000 (21:51 +0100)]
some cleanups in examples/msg

4 years agons3: kill useless C -> C++ interface remainings
Martin Quinson [Tue, 22 Mar 2016 21:10:23 +0000 (22:10 +0100)]
ns3: kill useless C -> C++ interface remainings

4 years agouseless cosmetics in NS3
Martin Quinson [Tue, 22 Mar 2016 09:53:48 +0000 (10:53 +0100)]
useless cosmetics in NS3

4 years agofactoring cmake
Frederic Suter [Tue, 22 Mar 2016 12:09:06 +0000 (13:09 +0100)]
factoring cmake

4 years agoreorganize cmake files to group ADD_TEST together
Frederic Suter [Tue, 22 Mar 2016 09:40:49 +0000 (10:40 +0100)]
reorganize cmake files to group ADD_TEST together
  might help to revive memcheck

4 years agoplug a i-am-everywhere leak
Frederic Suter [Mon, 21 Mar 2016 22:12:43 +0000 (23:12 +0100)]
plug a i-am-everywhere leak
 + delete pimpl_netcard when freeing a host
 + As the netcard of a physical host is shared by VMs running on it,
   it leads to double frees.
 + A solution is to explicity destroy the VMs when they are not needed
   anymore.
If one doesn't like it, feel free to simplify the VM stuff ;)

4 years agoreindent (while chasing leaks)
Frederic Suter [Mon, 21 Mar 2016 21:53:06 +0000 (22:53 +0100)]
reindent (while chasing leaks)

4 years agotry to fix test on OSX
Frederic Suter [Mon, 21 Mar 2016 20:44:28 +0000 (21:44 +0100)]
try to fix test on OSX

4 years agoRevert "Move this bit after the definition of the tests it relates to"
Frederic Suter [Mon, 21 Mar 2016 20:37:04 +0000 (21:37 +0100)]
Revert "Move this bit after the definition of the tests it relates to"

This reverts commit d417954d024c18377e7fb21d670e59f324ccfc36.

4 years agoeven better ;)
Frederic Suter [Mon, 21 Mar 2016 20:05:45 +0000 (21:05 +0100)]
even better ;)

4 years agoMove this bit after the definition of the tests it relates to
degomme [Mon, 21 Mar 2016 16:06:17 +0000 (17:06 +0100)]
Move this bit after the definition of the tests it relates to

4 years agoclang asks for override here ...
degomme [Mon, 21 Mar 2016 15:47:45 +0000 (16:47 +0100)]
clang asks for override here ...

4 years agoinitialize vars
degomme [Mon, 21 Mar 2016 15:43:37 +0000 (16:43 +0100)]
initialize vars

4 years agoplug two easy leaks
Frederic Suter [Mon, 21 Mar 2016 13:10:05 +0000 (14:10 +0100)]
plug two easy leaks

4 years agoreindent
Frederic Suter [Mon, 21 Mar 2016 13:09:54 +0000 (14:09 +0100)]
reindent

4 years agosimplify paths
Frederic Suter [Mon, 21 Mar 2016 10:07:53 +0000 (11:07 +0100)]
simplify paths

4 years agoone CMakeLists per module: achieved!
Frederic Suter [Mon, 21 Mar 2016 09:57:10 +0000 (10:57 +0100)]
one CMakeLists per module: achieved!

4 years agokill a couple of unused/redundant XML files
Frederic Suter [Mon, 21 Mar 2016 09:41:45 +0000 (10:41 +0100)]
kill a couple of unused/redundant XML files
 + cosmetics

4 years agomv tests where they belong
Frederic Suter [Mon, 21 Mar 2016 09:10:28 +0000 (10:10 +0100)]
mv tests where they belong

4 years agoget rid of teshsuite/simdag/CMakeLists.txt
Frederic Suter [Mon, 21 Mar 2016 09:03:38 +0000 (10:03 +0100)]
get rid of teshsuite/simdag/CMakeLists.txt

4 years agocontinue to emptty teshsuite/simdag/platforms/CMakeLists.txt
Frederic Suter [Mon, 21 Mar 2016 08:48:52 +0000 (09:48 +0100)]
continue to emptty teshsuite/simdag/platforms/CMakeLists.txt

4 years agofactor teshsuites/simix cmake files
Frederic Suter [Mon, 21 Mar 2016 08:21:56 +0000 (09:21 +0100)]
factor teshsuites/simix cmake files

4 years agoreindent, duplicate--, useless endif/if
Frederic Suter [Mon, 21 Mar 2016 08:21:25 +0000 (09:21 +0100)]
reindent, duplicate--, useless endif/if

4 years agons3: further cleanups
Martin Quinson [Mon, 21 Mar 2016 00:25:50 +0000 (01:25 +0100)]
ns3: further cleanups

4 years agoNS3: don't use the 'using namespace' construct
Martin Quinson [Sun, 20 Mar 2016 23:56:32 +0000 (00:56 +0100)]
NS3: don't use the 'using namespace' construct

4 years agoNS3: Remove content from NS3Sim(), to later kill it
Martin Quinson [Sun, 20 Mar 2016 23:51:18 +0000 (00:51 +0100)]
NS3: Remove content from NS3Sim(), to later kill it

4 years agons3: gosh this code is ugly
Martin Quinson [Sun, 20 Mar 2016 23:36:12 +0000 (00:36 +0100)]
ns3: gosh this code is ugly

4 years agons3: everything is in C++ now, no need for so many files
Martin Quinson [Sun, 20 Mar 2016 23:28:57 +0000 (00:28 +0100)]
ns3: everything is in C++ now, no need for so many files

4 years agons3: kill an unused void*, qualify another one
Martin Quinson [Sun, 20 Mar 2016 23:03:56 +0000 (00:03 +0100)]
ns3: kill an unused void*, qualify another one

4 years agons3: rename a type for consistency
Martin Quinson [Sun, 20 Mar 2016 23:00:59 +0000 (00:00 +0100)]
ns3: rename a type for consistency

4 years agokill some dead code in NS3
Martin Quinson [Sun, 20 Mar 2016 22:45:39 +0000 (23:45 +0100)]
kill some dead code in NS3

4 years agoobjectifies surf::Action::State
Martin Quinson [Sun, 20 Mar 2016 22:21:36 +0000 (23:21 +0100)]
objectifies surf::Action::State

4 years agokill some dead code
Martin Quinson [Sun, 20 Mar 2016 00:01:04 +0000 (01:01 +0100)]
kill some dead code

4 years agoobjectifies a C function
Martin Quinson [Sat, 19 Mar 2016 23:15:33 +0000 (00:15 +0100)]
objectifies a C function

4 years agorename some fields to match our coding standards
Martin Quinson [Sat, 19 Mar 2016 23:06:15 +0000 (00:06 +0100)]
rename some fields to match our coding standards

4 years agocleanups in (wanna be) surf::CpuImpl
Martin Quinson [Sat, 19 Mar 2016 22:38:05 +0000 (23:38 +0100)]
cleanups in (wanna be) surf::CpuImpl

4 years agoempty Cpu factories
Martin Quinson [Sat, 19 Mar 2016 22:29:32 +0000 (23:29 +0100)]
empty Cpu factories

4 years agoremove a redundant parameter to the Cpu constructor
Martin Quinson [Sat, 19 Mar 2016 22:23:50 +0000 (23:23 +0100)]
remove a redundant parameter to the Cpu constructor

4 years agoget a better name for the speedPerPstate attribute in CPU
Martin Quinson [Sat, 19 Mar 2016 22:14:06 +0000 (23:14 +0100)]
get a better name for the speedPerPstate attribute in CPU

4 years agoempty the link factories
Martin Quinson [Sat, 19 Mar 2016 21:58:16 +0000 (22:58 +0100)]
empty the link factories

4 years agoremove speedTrace from the CPU constructor
Martin Quinson [Sat, 19 Mar 2016 02:51:57 +0000 (03:51 +0100)]
remove speedTrace from the CPU constructor

4 years agouniformize how CpuTI creates SpeedTrace with other models
Martin Quinson [Sat, 19 Mar 2016 02:36:48 +0000 (03:36 +0100)]
uniformize how CpuTI creates SpeedTrace with other models

4 years agoremove StateTrace from the CPU constructor
Martin Quinson [Sat, 19 Mar 2016 02:17:39 +0000 (03:17 +0100)]
remove StateTrace from the CPU constructor

This only bloats the CPU interface. People wanting to attach a trace
can do that after creation with setStateTrace.

4 years agotry to fix mmalloc test on MC
Frederic Suter [Fri, 18 Mar 2016 21:40:56 +0000 (22:40 +0100)]
try to fix mmalloc test on MC

4 years agoeither I'm dumb or tired...
Frederic Suter [Fri, 18 Mar 2016 20:19:41 +0000 (21:19 +0100)]
either I'm dumb or tired...

4 years agogrrrrr
Frederic Suter [Fri, 18 Mar 2016 19:55:17 +0000 (20:55 +0100)]
grrrrr

4 years agodamn! so many mistakes ...
Frederic Suter [Fri, 18 Mar 2016 19:29:03 +0000 (20:29 +0100)]
damn! so many mistakes ...

4 years agosecond try to fix
Frederic Suter [Fri, 18 Mar 2016 18:57:24 +0000 (19:57 +0100)]
second try to fix

4 years agotry to blindly fix test
Frederic Suter [Fri, 18 Mar 2016 17:43:29 +0000 (18:43 +0100)]
try to blindly fix test

4 years agoreorg teshsuite/mc
Frederic Suter [Fri, 18 Mar 2016 15:44:46 +0000 (16:44 +0100)]
reorg teshsuite/mc

4 years ago[mc] Use C++ containers for visited_states
Gabriel Corona [Fri, 18 Mar 2016 08:54:05 +0000 (09:54 +0100)]
[mc] Use C++ containers for visited_states

4 years ago[mc] Fix VisitedState constructor
Gabriel Corona [Fri, 18 Mar 2016 08:18:12 +0000 (09:18 +0100)]
[mc] Fix VisitedState constructor

The snapshot was not taken anymore.

4 years agokill another avoidable XML
Frederic Suter [Fri, 18 Mar 2016 12:51:57 +0000 (13:51 +0100)]
kill another avoidable XML

4 years agokill avoidable XML
Frederic Suter [Fri, 18 Mar 2016 12:43:10 +0000 (13:43 +0100)]
kill avoidable XML

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 18 Mar 2016 12:15:34 +0000 (13:15 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agorefactor 2 more CMakeLists
Frederic Suter [Fri, 18 Mar 2016 09:57:17 +0000 (10:57 +0100)]
refactor 2 more CMakeLists

4 years agofix build with MC
Martin Quinson [Fri, 18 Mar 2016 07:27:48 +0000 (08:27 +0100)]
fix build with MC

4 years agostill messing around with cmake
Frederic Suter [Thu, 17 Mar 2016 17:02:52 +0000 (18:02 +0100)]
still messing around with cmake