Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
2 years agoMerge branch 'master' of github.com:simgrid/simgrid into s_type_cleanup
Takishipp [Wed, 16 Aug 2017 08:58:48 +0000 (10:58 +0200)]
Merge branch 'master' of github.com:simgrid/simgrid into s_type_cleanup

2 years agoFactorize s_type and value instr class
Takishipp [Wed, 16 Aug 2017 08:58:17 +0000 (10:58 +0200)]
Factorize s_type and value instr class

2 years agoRemove unused variable.
Arnaud Giersch [Tue, 15 Aug 2017 21:21:16 +0000 (23:21 +0200)]
Remove unused variable.

2 years agothis cannot be null.
Arnaud Giersch [Tue, 15 Aug 2017 20:20:19 +0000 (22:20 +0200)]
this cannot be null.

2 years agoValue is finally an integer. Change it to the smallest non-zero value.
Arnaud Giersch [Tue, 15 Aug 2017 14:00:01 +0000 (16:00 +0200)]
Value is finally an integer.  Change it to the smallest non-zero value.

2 years agoMark unused attribute as unused.
Arnaud Giersch [Mon, 14 Aug 2017 21:30:31 +0000 (23:30 +0200)]
Mark unused attribute as unused.

2 years agoAvoid short-lied temporary string.
Arnaud Giersch [Mon, 14 Aug 2017 21:18:06 +0000 (23:18 +0200)]
Avoid short-lied temporary string.

2 years agoRemove useless memset (causes segfault).
Arnaud Giersch [Mon, 14 Aug 2017 20:54:58 +0000 (22:54 +0200)]
Remove useless memset (causes segfault).

2 years agospelling
Martin Quinson [Fri, 11 Aug 2017 20:07:45 +0000 (22:07 +0200)]
spelling

2 years agokill kill simcall
Frederic Suter [Fri, 11 Aug 2017 13:26:07 +0000 (15:26 +0200)]
kill kill simcall

2 years agodamn lua
Frederic Suter [Fri, 11 Aug 2017 13:25:38 +0000 (15:25 +0200)]
damn lua

2 years agoanother fix for lua
Frederic Suter [Fri, 11 Aug 2017 12:34:19 +0000 (14:34 +0200)]
another fix for lua

2 years agotry to fix ns3 build
Frederic Suter [Fri, 11 Aug 2017 12:25:37 +0000 (14:25 +0200)]
try to fix ns3 build

2 years agominimal fix (hopefully) of lua bindings
Frederic Suter [Fri, 11 Aug 2017 10:08:37 +0000 (12:08 +0200)]
minimal fix (hopefully) of lua bindings

2 years agostringify cluster
Frederic Suter [Fri, 11 Aug 2017 10:06:14 +0000 (12:06 +0200)]
stringify cluster

2 years agostringify Host link creation
Frederic Suter [Fri, 11 Aug 2017 09:33:28 +0000 (11:33 +0200)]
stringify Host link creation

2 years agokill 2 sonar bugs
Frederic Suter [Fri, 11 Aug 2017 06:56:24 +0000 (08:56 +0200)]
kill 2 sonar bugs

2 years agocodacy and clang-format
Frederic Suter [Fri, 11 Aug 2017 06:36:13 +0000 (08:36 +0200)]
codacy and clang-format

2 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Thu, 10 Aug 2017 19:25:24 +0000 (21:25 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

2 years agostringify IO
Frederic Suter [Thu, 10 Aug 2017 13:08:10 +0000 (15:08 +0200)]
stringify IO

2 years agomore strings
Frederic Suter [Thu, 10 Aug 2017 12:47:40 +0000 (14:47 +0200)]
more strings

2 years agobprintf -> string
Frederic Suter [Thu, 10 Aug 2017 12:11:21 +0000 (14:11 +0200)]
bprintf -> string

2 years agoAS -> Zone. Mainly cosmetics and unused defined thing
Frederic Suter [Thu, 10 Aug 2017 12:04:05 +0000 (14:04 +0200)]
AS -> Zone. Mainly cosmetics and unused defined thing

2 years agoassume a dumb tracker (and please travis)
Frederic Suter [Thu, 10 Aug 2017 10:07:45 +0000 (12:07 +0200)]
assume a dumb tracker (and please travis)

2 years agocodacy
Martin Quinson [Wed, 9 Aug 2017 21:37:39 +0000 (23:37 +0200)]
codacy

2 years agoAS->Zone + stringification
Frederic Suter [Thu, 10 Aug 2017 08:56:36 +0000 (10:56 +0200)]
AS->Zone + stringification

2 years agostringification
Frederic Suter [Thu, 10 Aug 2017 07:45:40 +0000 (09:45 +0200)]
stringification

2 years agomaybe sort isn't portable
Frederic Suter [Wed, 9 Aug 2017 12:09:54 +0000 (14:09 +0200)]
maybe sort isn't portable

2 years agoattempt to fix daxload example
Frederic Suter [Wed, 9 Aug 2017 09:31:25 +0000 (11:31 +0200)]
attempt to fix daxload example

2 years agoless bprintf (some were completely useless)
Frederic Suter [Wed, 9 Aug 2017 09:17:56 +0000 (11:17 +0200)]
less bprintf (some were completely useless)

2 years agostringification
Frederic Suter [Wed, 9 Aug 2017 08:17:11 +0000 (10:17 +0200)]
stringification

2 years agofix MC. host names are not std::string damnit
Frederic Suter [Wed, 9 Aug 2017 08:02:38 +0000 (10:02 +0200)]
fix MC. host names are not std::string damnit

2 years agobprintf--
Frederic Suter [Wed, 9 Aug 2017 07:45:21 +0000 (09:45 +0200)]
bprintf--

2 years agomove VM start function to s4u
Frederic Suter [Wed, 9 Aug 2017 07:38:43 +0000 (09:38 +0200)]
move VM start function to s4u

2 years agoplug leak in msg_vm (by rmving bprintf)
Frederic Suter [Wed, 9 Aug 2017 07:19:44 +0000 (09:19 +0200)]
plug leak in msg_vm (by rmving bprintf)

2 years agoput back a leak (for now) to fix tests
Frederic Suter [Tue, 8 Aug 2017 08:15:57 +0000 (10:15 +0200)]
put back a leak (for now) to fix tests

2 years agoplug leaks
Frederic Suter [Tue, 8 Aug 2017 07:11:12 +0000 (09:11 +0200)]
plug leaks

2 years agocodacy
Frederic Suter [Mon, 7 Aug 2017 19:30:20 +0000 (21:30 +0200)]
codacy

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 7 Aug 2017 19:30:04 +0000 (21:30 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years agoMerge pull request #213 from bcamus/master
Martin Quinson [Mon, 7 Aug 2017 18:55:17 +0000 (20:55 +0200)]
Merge pull request #213 from bcamus/master

Fixing a bug in PMs energy consumptions when suspending and resuming VM

2 years agoconvert map to dynar at API level
Frederic Suter [Mon, 7 Aug 2017 14:25:20 +0000 (16:25 +0200)]
convert map to dynar at API level

2 years agojxbt_throw_null needs a string. no need to bprintf
Frederic Suter [Mon, 7 Aug 2017 13:43:47 +0000 (15:43 +0200)]
jxbt_throw_null needs a string. no need to bprintf

2 years agobprintf-- (try to use strings in cpp world
Frederic Suter [Mon, 7 Aug 2017 13:35:11 +0000 (15:35 +0200)]
bprintf-- (try to use strings in cpp world

2 years agono need for unused args
Frederic Suter [Mon, 7 Aug 2017 13:19:15 +0000 (15:19 +0200)]
no need for unused args

2 years agofixing codacy issue
bcamus [Mon, 7 Aug 2017 12:53:09 +0000 (14:53 +0200)]
fixing codacy issue

2 years agogetting rid of bprintf raises a potential bug :-/
Frederic Suter [Mon, 7 Aug 2017 11:07:20 +0000 (13:07 +0200)]
getting rid of bprintf raises a potential bug :-/

had to add a grace time on the master after sending the 'finalize'
order to all workers. Without it, master and Bourassa end at the same
time (last worker to be stopped). However, it seems the master
finishes first and let bourassa in a 'running' state :
Process 6 (worker@Bourassa): waiting for communication synchro 0x24bd6e0 () in state 0 to finish

Commenting line 54 triggers the issue.

2 years agostop using variadic functions for surf_parse messages
Frederic Suter [Mon, 7 Aug 2017 10:26:10 +0000 (12:26 +0200)]
stop using variadic functions for surf_parse messages

2 years agoMerge branch 'master' of https://github.com/simgrid/simgrid
bcamus [Mon, 7 Aug 2017 10:05:31 +0000 (12:05 +0200)]
Merge branch 'master' of https://github.com/simgrid/simgrid

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 7 Aug 2017 08:07:17 +0000 (10:07 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years agoplease codacy and sonar + factoring
Frederic Suter [Mon, 7 Aug 2017 07:58:44 +0000 (09:58 +0200)]
please codacy and sonar + factoring

2 years agoinclude <string> to help OSX's clang
Martin Quinson [Sun, 6 Aug 2017 21:08:45 +0000 (23:08 +0200)]
include <string> to help OSX's clang

2 years agomv MSG version of bittorrent to teshsuite
Frederic Suter [Sun, 6 Aug 2017 19:39:58 +0000 (21:39 +0200)]
mv MSG version of bittorrent to teshsuite

2 years agorewrite bittorrent example in s4u
Frederic Suter [Sun, 6 Aug 2017 13:57:31 +0000 (15:57 +0200)]
rewrite bittorrent example in s4u

2 years agosort the content of this file to make the test reproducible
Martin Quinson [Sat, 5 Aug 2017 23:06:51 +0000 (01:06 +0200)]
sort the content of this file to make the test reproducible

2 years agoDeprecate MSG_task_isend_with_matching()
Martin Quinson [Sat, 5 Aug 2017 09:05:32 +0000 (11:05 +0200)]
Deprecate MSG_task_isend_with_matching()

2 years agokill a broken deprecation macro: MSG_mailbox_front() does not exist either
Martin Quinson [Sat, 5 Aug 2017 08:45:44 +0000 (10:45 +0200)]
kill a broken deprecation macro: MSG_mailbox_front() does not exist either

2 years agoreindent
Martin Quinson [Fri, 4 Aug 2017 23:10:58 +0000 (01:10 +0200)]
reindent

2 years agofixing a bug in PMs energy consumptions when suspending and resuming VMs.
bcamus [Fri, 4 Aug 2017 16:16:00 +0000 (18:16 +0200)]
fixing a bug in PMs energy consumptions when suspending and resuming VMs.

2 years agosonar: remove unused type declaration
Martin Quinson [Fri, 4 Aug 2017 10:05:34 +0000 (12:05 +0200)]
sonar: remove unused type declaration

2 years agoMissing include.
Arnaud Giersch [Thu, 3 Aug 2017 21:15:24 +0000 (23:15 +0200)]
Missing include.

2 years agoWhitespace cleanup.
Arnaud Giersch [Thu, 3 Aug 2017 20:46:34 +0000 (22:46 +0200)]
Whitespace cleanup.

2 years agoRemove unused option: network/sender-gap.
Arnaud Giersch [Thu, 3 Aug 2017 20:46:05 +0000 (22:46 +0200)]
Remove unused option: network/sender-gap.

2 years agoKill dead code: haveGap_/senderGap_ are never used.
Arnaud Giersch [Thu, 3 Aug 2017 20:32:35 +0000 (22:32 +0200)]
Kill dead code: haveGap_/senderGap_ are never used.

2 years agoPlease codacy (operator !).
Arnaud Giersch [Thu, 3 Aug 2017 21:00:35 +0000 (23:00 +0200)]
Please codacy (operator !).

2 years agoPlease codacy (integer type consistency).
Arnaud Giersch [Thu, 3 Aug 2017 20:54:27 +0000 (22:54 +0200)]
Please codacy (integer type consistency).

2 years agoSilence codacy (initialize variable).
Arnaud Giersch [Thu, 3 Aug 2017 20:51:34 +0000 (22:51 +0200)]
Silence codacy (initialize variable).

2 years agoPlease codacy (avoid C-style pointer casting).
Arnaud Giersch [Thu, 3 Aug 2017 20:19:04 +0000 (22:19 +0200)]
Please codacy (avoid C-style pointer casting).

2 years agoPlease codacy (initialize member variables).
Arnaud Giersch [Thu, 3 Aug 2017 20:01:57 +0000 (22:01 +0200)]
Please codacy (initialize member variables).

2 years agoPlease codacy (delete copy constructor).
Arnaud Giersch [Thu, 3 Aug 2017 19:58:08 +0000 (21:58 +0200)]
Please codacy (delete copy constructor).

2 years agoPlease codacy (explicit constructor).
Arnaud Giersch [Thu, 3 Aug 2017 19:38:24 +0000 (21:38 +0200)]
Please codacy (explicit constructor).

2 years agoPlease codacy (operator precedence).
Arnaud Giersch [Thu, 3 Aug 2017 19:28:57 +0000 (21:28 +0200)]
Please codacy (operator precedence).

2 years agodict--
Frederic Suter [Thu, 3 Aug 2017 20:48:59 +0000 (22:48 +0200)]
dict--

2 years agomost dicts in instr were bare sets
Frederic Suter [Thu, 3 Aug 2017 16:08:01 +0000 (18:08 +0200)]
most dicts in instr were bare sets

2 years agoRemove legacy parmap functions.
Arnaud Giersch [Thu, 3 Aug 2017 11:56:50 +0000 (13:56 +0200)]
Remove legacy parmap functions.

2 years agoDelete now useless xbt_dynar_three_way_partition().
Arnaud Giersch [Thu, 3 Aug 2017 11:56:50 +0000 (13:56 +0200)]
Delete now useless xbt_dynar_three_way_partition().

2 years agoUse std::vector instead of dynar in simix_global (process_{to_run,that_ran}).
Arnaud Giersch [Thu, 3 Aug 2017 11:56:50 +0000 (13:56 +0200)]
Use std::vector instead of dynar in simix_global (process_{to_run,that_ran}).

2 years agoDefine simgrid::xbt::three_way_partition as a generic C++ function.
Arnaud Giersch [Thu, 3 Aug 2017 11:56:50 +0000 (13:56 +0200)]
Define simgrid::xbt::three_way_partition as a generic C++ function.

Replacement for the one in dynar.h.

2 years agoPort parmap_bench to C++.
Arnaud Giersch [Thu, 3 Aug 2017 11:56:50 +0000 (13:56 +0200)]
Port parmap_bench to C++.

2 years agoPort parmap_test to C++.
Arnaud Giersch [Thu, 3 Aug 2017 11:56:50 +0000 (13:56 +0200)]
Port parmap_test to C++.

2 years agoMake symbols public.
Arnaud Giersch [Thu, 3 Aug 2017 11:56:50 +0000 (13:56 +0200)]
Make symbols public.

It will be needed to build parmap_{bench,test} with simgrid::xbt::Parmap<...>,
since it's now a template compiled outside of libsimgrid.

2 years agoMake legacy xbt_parmap functions use the C++ code.
Arnaud Giersch [Thu, 3 Aug 2017 11:56:50 +0000 (13:56 +0200)]
Make legacy xbt_parmap functions use the C++ code.

2 years agoPort xbt_parmap to C++.
Arnaud Giersch [Thu, 3 Aug 2017 11:56:50 +0000 (13:56 +0200)]
Port xbt_parmap to C++.

2 years agoFix include.
Arnaud Giersch [Thu, 3 Aug 2017 11:56:50 +0000 (13:56 +0200)]
Fix include.

2 years ago4 functions and a callback for one dict... seriously?!
Frederic Suter [Thu, 3 Aug 2017 11:39:13 +0000 (13:39 +0200)]
4 functions and a callback for one dict... seriously?!

2 years agodict/dynar --
Frederic Suter [Thu, 3 Aug 2017 10:00:15 +0000 (12:00 +0200)]
dict/dynar --

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 3 Aug 2017 09:17:50 +0000 (11:17 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years agoremove some useless includes
Frederic Suter [Thu, 3 Aug 2017 09:17:33 +0000 (11:17 +0200)]
remove some useless includes

2 years agoMC doesn't like strings
Frederic Suter [Thu, 3 Aug 2017 09:17:16 +0000 (11:17 +0200)]
MC doesn't like strings

2 years agocodacy
Martin Quinson [Thu, 3 Aug 2017 01:45:09 +0000 (03:45 +0200)]
codacy

2 years agoreindent + clang-format
Frederic Suter [Thu, 3 Aug 2017 08:59:19 +0000 (10:59 +0200)]
reindent + clang-format

2 years agodict--
Frederic Suter [Thu, 3 Aug 2017 08:52:52 +0000 (10:52 +0200)]
dict--

2 years agodict --
Frederic Suter [Thu, 3 Aug 2017 08:36:18 +0000 (10:36 +0200)]
dict --

2 years agodict--
Frederic Suter [Thu, 3 Aug 2017 08:24:34 +0000 (10:24 +0200)]
dict--

2 years agosome dict related cleanups
Frederic Suter [Thu, 3 Aug 2017 08:03:35 +0000 (10:03 +0200)]
some dict related cleanups

2 years agoDon't try to get front() from an empty list.
Arnaud Giersch [Wed, 2 Aug 2017 20:15:28 +0000 (22:15 +0200)]
Don't try to get front() from an empty list.

2 years agoAvoid costly exceptions when looking into a map.
Arnaud Giersch [Wed, 2 Aug 2017 13:49:50 +0000 (15:49 +0200)]
Avoid costly exceptions when looking into a map.

2 years agoRemove now superfluous assert on critical path.
Arnaud Giersch [Wed, 2 Aug 2017 08:35:41 +0000 (10:35 +0200)]
Remove now superfluous assert on critical path.

2 years agoUnused code since commit 61a993d9efe970edcbb1cb3d947553b2f188b327.
Arnaud Giersch [Wed, 2 Aug 2017 08:35:41 +0000 (10:35 +0200)]
Unused code since commit 61a993d9efe970edcbb1cb3d947553b2f188b327.

2 years agoCosmetics: typo in include guard.
Arnaud Giersch [Wed, 2 Aug 2017 08:35:41 +0000 (10:35 +0200)]
Cosmetics: typo in include guard.

2 years agoUpdate .gitignore.
Arnaud Giersch [Wed, 2 Aug 2017 08:35:41 +0000 (10:35 +0200)]
Update .gitignore.