adrien gougeon [Wed, 21 Oct 2020 14:44:56 +0000 (16:44 +0200)]
added platform for ns3 wifi example
adrien gougeon [Wed, 21 Oct 2020 14:37:38 +0000 (16:37 +0200)]
added doc for wifi ns3
adrien gougeon [Wed, 21 Oct 2020 13:29:32 +0000 (15:29 +0200)]
switched wifi model ns3 from the one using wifi links to a model using wifi zones, much simpler and clearer
adrien gougeon [Wed, 21 Oct 2020 13:28:15 +0000 (15:28 +0200)]
removed unused class WifiZone
adrien gougeon [Wed, 21 Oct 2020 13:27:23 +0000 (15:27 +0200)]
differenciated signal on_route_creation depending if its for a route inside a zone or between two zones
adrien gougeon [Tue, 20 Oct 2020 11:37:06 +0000 (13:37 +0200)]
added circle placement for ns3 wifi nodes
adrien gougeon [Mon, 19 Oct 2020 08:29:38 +0000 (10:29 +0200)]
add WifiZone support for ns3 wifi
Martin Quinson [Sun, 18 Oct 2020 00:25:10 +0000 (02:25 +0200)]
Cosmetics in the ns3 teshsuite
Martin Quinson [Sun, 18 Oct 2020 00:04:00 +0000 (02:04 +0200)]
ns3: ensure that sending from an host to itself does not segfault
Also add a word in the doc about how we deal with this border case,
and a little test case.
Martin Quinson [Sat, 17 Oct 2020 23:59:50 +0000 (01:59 +0200)]
fix a memleak
Arnaud Giersch [Sat, 17 Oct 2020 21:17:11 +0000 (23:17 +0200)]
Sort entries.
Arnaud Giersch [Sat, 17 Oct 2020 21:10:36 +0000 (23:10 +0200)]
Try to reduce requirements about C++ standard for smpicxx.
Arnaud Giersch [Sat, 17 Oct 2020 20:51:07 +0000 (22:51 +0200)]
Avoid buffer overflow.
Arnaud Giersch [Sat, 17 Oct 2020 20:42:24 +0000 (22:42 +0200)]
Missing include.
Martin Quinson [Sat, 17 Oct 2020 20:36:44 +0000 (22:36 +0200)]
Fix another typo
Martin Quinson [Sat, 17 Oct 2020 20:34:16 +0000 (22:34 +0200)]
Document a recent change
Martin Quinson [Sat, 17 Oct 2020 20:27:56 +0000 (22:27 +0200)]
tiny cleanups in platform examples
Arnaud Giersch [Sat, 17 Oct 2020 19:34:15 +0000 (21:34 +0200)]
Don't include <xbt/functional.hpp> when it's not needed.
This aims to reduce the need for C++14 in user codes.
Arnaud Giersch [Sat, 17 Oct 2020 18:47:38 +0000 (20:47 +0200)]
Typo.
Reported in https://github.com/simgrid/simgrid/issues/348.
Arnaud Giersch [Sat, 17 Oct 2020 12:03:54 +0000 (14:03 +0200)]
Nested code block is useless.
Arnaud Giersch [Sat, 17 Oct 2020 11:54:41 +0000 (13:54 +0200)]
MANIFEST.in once again.
Augustin Degomme [Fri, 16 Oct 2020 23:13:45 +0000 (01:13 +0200)]
Merge branch 'test-condvar-wait_until' into 'master'
test condition variable wait_until+notify_all
See merge request simgrid/simgrid!44
Millian Poquet [Fri, 16 Oct 2020 23:01:28 +0000 (01:01 +0200)]
test condition variable wait_until+notify_all
Arnaud Giersch [Fri, 16 Oct 2020 21:11:41 +0000 (23:11 +0200)]
Keep the right definition for type_names[].
Arnaud Giersch [Fri, 16 Oct 2020 21:11:26 +0000 (23:11 +0200)]
Cosmetics.
Arnaud Giersch [Fri, 16 Oct 2020 20:02:10 +0000 (22:02 +0200)]
Use std::array and reduce scope for constant.
Arnaud Giersch [Fri, 16 Oct 2020 19:49:06 +0000 (21:49 +0200)]
Make static stuff member of class Replayer.
Arnaud Giersch [Fri, 16 Oct 2020 19:48:33 +0000 (21:48 +0200)]
Make global variables const.
Arnaud Giersch [Fri, 16 Oct 2020 08:32:56 +0000 (10:32 +0200)]
Fix indentation.
Arnaud Giersch [Fri, 16 Oct 2020 07:36:55 +0000 (09:36 +0200)]
Forgotten guard.
Arnaud Giersch [Fri, 16 Oct 2020 07:11:41 +0000 (09:11 +0200)]
Const.
Arnaud Giersch [Fri, 16 Oct 2020 06:52:20 +0000 (08:52 +0200)]
Move global variables to class Context.
Arnaud Giersch [Fri, 16 Oct 2020 06:30:28 +0000 (08:30 +0200)]
Move global variables to class Container.
Arnaud Giersch [Thu, 15 Oct 2020 13:54:35 +0000 (15:54 +0200)]
Plug memleak.
Arnaud Giersch [Thu, 15 Oct 2020 12:45:42 +0000 (14:45 +0200)]
Rewrite in a simpler manner.
Arnaud Giersch [Thu, 15 Oct 2020 12:18:54 +0000 (14:18 +0200)]
More char* -> std::string conversions.
Arnaud Giersch [Thu, 15 Oct 2020 12:02:14 +0000 (14:02 +0200)]
Definitely remove deprecated stuff in private area.
Arnaud Giersch [Thu, 15 Oct 2020 09:41:28 +0000 (11:41 +0200)]
Constify a parameter, fix name for another, and simplify code.
Arnaud Giersch [Wed, 14 Oct 2020 20:58:29 +0000 (22:58 +0200)]
[sonar] Replace some C-style arrays.
Martin Quinson [Thu, 15 Oct 2020 06:54:36 +0000 (08:54 +0200)]
mmalloc: cosmetics in an error message
Arnaud Giersch [Wed, 14 Oct 2020 15:29:56 +0000 (17:29 +0200)]
Cosmetics.
Better than: if ((variable == true) != false) ...
Arnaud Giersch [Wed, 14 Oct 2020 15:17:23 +0000 (17:17 +0200)]
Drop unused parameters.
Augustin Degomme [Tue, 13 Oct 2020 14:38:35 +0000 (16:38 +0200)]
Revert "move fort_args test to a "fort args" folder, with a space"
This reverts commit
3561c727ad711b8b1406e9f5a6f8d6390577f1e1.
Augustin Degomme [Tue, 13 Oct 2020 14:38:27 +0000 (16:38 +0200)]
Revert "try to help cmake on freebsd"
This reverts commit
b449054b620aa87a5157d5f7e68e986dab3a25a2.
Augustin Degomme [Tue, 13 Oct 2020 14:38:02 +0000 (16:38 +0200)]
Revert "Try to help for freebsd and paths. Thanks Matthieu Volat for the hints."
This reverts commit
754ac435fbfe7234c539b500f49bba18241fcdb5.
Arnaud Giersch [Tue, 13 Oct 2020 14:56:27 +0000 (16:56 +0200)]
Ensure type > 0.
Arnaud Giersch [Tue, 13 Oct 2020 14:51:16 +0000 (16:51 +0200)]
Reduce scope for variables.
Arnaud Giersch [Tue, 13 Oct 2020 14:48:49 +0000 (16:48 +0200)]
"s < 0" is always true here.
Arnaud Giersch [Tue, 13 Oct 2020 14:34:33 +0000 (16:34 +0200)]
Delete unused ctor.
If it were used, private variables may be uninitialized.
Augustin Degomme [Tue, 13 Oct 2020 12:05:22 +0000 (14:05 +0200)]
Try to help for freebsd and paths. Thanks Matthieu Volat for the hints.
This does not mean simgrid can be compiled/installed in a directory with spaces in the path (still a lot of things to fix in cmakelists.txt for that).
But user's codes might work when calling smpi** scripts from directories with spaces.
Arnaud Giersch [Tue, 13 Oct 2020 09:48:41 +0000 (11:48 +0200)]
popping_enum.h becomes an hpp.
Arnaud Giersch [Tue, 13 Oct 2020 09:22:48 +0000 (11:22 +0200)]
const again
Arnaud Giersch [Tue, 13 Oct 2020 09:22:29 +0000 (11:22 +0200)]
Remove useless type aliases.
Arnaud Giersch [Mon, 12 Oct 2020 07:39:54 +0000 (09:39 +0200)]
Fix MANIFEST.in.
Arnaud Giersch [Mon, 12 Oct 2020 07:37:58 +0000 (09:37 +0200)]
Protect spaces in path.
Arnaud Giersch [Mon, 12 Oct 2020 07:35:00 +0000 (09:35 +0200)]
[sonar] Make parameter a pointer-to-const.
Martin Quinson [Sun, 11 Oct 2020 23:25:19 +0000 (01:25 +0200)]
ns3: Improve a debug message [Mahesh Ketkar]
Martin Quinson [Sun, 11 Oct 2020 23:19:55 +0000 (01:19 +0200)]
ns3: live with the fact that sometimes finished_ becomes true with remains is still >0
Thanks to Mahesh C Ketkar.
Martin Quinson [Sun, 11 Oct 2020 23:06:58 +0000 (01:06 +0200)]
Don't display strings with %p [Mahesh Ketkar]
Augustin Degomme [Mon, 12 Oct 2020 06:19:09 +0000 (08:19 +0200)]
try to help cmake on freebsd
Augustin Degomme [Sun, 11 Oct 2020 23:14:10 +0000 (01:14 +0200)]
move fort_args test to a "fort args" folder, with a space
This is an attempt to see if https://gforge.inria.fr/tracker/index.php?func=detail&aid=16626&group_id=12&atid=165 is fixed or not.
Martin Quinson [Sun, 11 Oct 2020 22:35:28 +0000 (00:35 +0200)]
Finish this plugin rename to make the tests pass again
Martin Quinson [Sun, 11 Oct 2020 22:25:34 +0000 (00:25 +0200)]
Proposal for a NEWS file
Martin Quinson [Sun, 11 Oct 2020 22:15:19 +0000 (00:15 +0200)]
Another tiny improvement to the ChangeLog
Martin Quinson [Sun, 11 Oct 2020 22:12:15 +0000 (00:12 +0200)]
Document some plugins
Martin Quinson [Sun, 11 Oct 2020 22:07:06 +0000 (00:07 +0200)]
Rename that C example for consistency with C++
Martin Quinson [Sun, 11 Oct 2020 22:00:52 +0000 (00:00 +0200)]
Improve the ChangeLog
Arnaud Giersch [Sun, 11 Oct 2020 20:58:23 +0000 (22:58 +0200)]
More const.
Arnaud Giersch [Sun, 11 Oct 2020 20:14:36 +0000 (22:14 +0200)]
[sonar] Constructors of an "abstract" class should not be "public".
Arnaud Giersch [Sun, 11 Oct 2020 20:10:39 +0000 (22:10 +0200)]
Functions are currenlty not overridden.
Arnaud Giersch [Sun, 11 Oct 2020 20:06:54 +0000 (22:06 +0200)]
Const get_bandwidth() and get_latency().
Arnaud Giersch [Sun, 11 Oct 2020 19:54:24 +0000 (21:54 +0200)]
Define const is_used().
Arnaud Giersch [Sun, 11 Oct 2020 19:41:10 +0000 (21:41 +0200)]
Few more auto's.
Arnaud Giersch [Sun, 11 Oct 2020 19:37:12 +0000 (21:37 +0200)]
Const in network_wifi and link_energy_wifi.
Arnaud Giersch [Sun, 11 Oct 2020 19:15:12 +0000 (21:15 +0200)]
Define const get_sharing_policy().
Arnaud Giersch [Sun, 11 Oct 2020 19:12:14 +0000 (21:12 +0200)]
Define const get_iface().
Arnaud Giersch [Sun, 11 Oct 2020 19:25:53 +0000 (21:25 +0200)]
Route is not empty (already verified by xbt_assert).
Arnaud Giersch [Sun, 11 Oct 2020 19:05:51 +0000 (21:05 +0200)]
Don't lookup twice.
Arnaud Giersch [Sun, 11 Oct 2020 18:48:51 +0000 (20:48 +0200)]
Make expression clear.
Arnaud Giersch [Sun, 11 Oct 2020 08:52:19 +0000 (10:52 +0200)]
Unused parameter.
Arnaud Giersch [Sat, 10 Oct 2020 19:34:43 +0000 (21:34 +0200)]
.mailmap++
Arnaud Giersch [Sat, 10 Oct 2020 13:05:52 +0000 (15:05 +0200)]
Whitespace cleanup (for codefactor.io).
Arnaud Giersch [Sat, 10 Oct 2020 18:37:29 +0000 (20:37 +0200)]
Merge branch 'master' into 'master'
plugin link_load: fix name in SIMGRID_REGISTER_PLUGIN
See merge request simgrid/simgrid!43
Martin Quinson [Sat, 10 Oct 2020 16:12:40 +0000 (18:12 +0200)]
Better attempt at fixing 32bits
Julien EMMANUEL [Sat, 10 Oct 2020 15:41:35 +0000 (17:41 +0200)]
plugin link_load: fix name in SIMGRID_REGISTER_PLUGIN
Martin Quinson [Sat, 10 Oct 2020 15:12:18 +0000 (17:12 +0200)]
plugin link_load: tiny logic error (thanks clang for noticing)
Martin Quinson [Sat, 10 Oct 2020 15:10:34 +0000 (17:10 +0200)]
Fix build on 32bits
Martin Quinson [Sat, 10 Oct 2020 14:14:32 +0000 (16:14 +0200)]
Rename the link load plugin for decency (and consistency)
Martin Quinson [Sat, 10 Oct 2020 14:00:11 +0000 (16:00 +0200)]
Make it clear in the doc that this example was extended to demo malleable tasks
Martin Quinson [Sat, 10 Oct 2020 13:55:17 +0000 (15:55 +0200)]
Extend the example on ptasks to demo malleable tasks' reconfiguration
Martin Quinson [Sat, 10 Oct 2020 13:52:35 +0000 (15:52 +0200)]
fix a bug in an error message
Arnaud Giersch [Sat, 10 Oct 2020 12:14:53 +0000 (14:14 +0200)]
Update ChangeLog.
Arnaud Giersch [Sat, 10 Oct 2020 12:13:17 +0000 (14:13 +0200)]
Merge branch 'link-cumload-plugin' into 'master'
Link cumulated load plugin
See merge request simgrid/simgrid!42
Millian Poquet [Sat, 10 Oct 2020 11:45:16 +0000 (13:45 +0200)]
oops: missing files in MANIFEST.in
Millian Poquet [Fri, 9 Oct 2020 22:03:39 +0000 (00:03 +0200)]
basic test for plugin link_cumload
Millian Poquet [Fri, 9 Oct 2020 22:00:46 +0000 (00:00 +0200)]
introduce new plugin: link_cumload
This is the link cumulated load plugin.
It enables to monitor how links are used over time,
by cumulating the amount of bytes that go through the link.
The link's counters can be reset at any time by calling the proper function.
More information in the plugin's doxydoc (in src/plugins/link_cumload.cpp).
Arnaud Giersch [Sat, 10 Oct 2020 08:00:34 +0000 (10:00 +0200)]
Disable LTO on travis/osx (timeouts).
Arnaud Giersch [Fri, 9 Oct 2020 20:26:18 +0000 (22:26 +0200)]
Sonar smells.
Arnaud Giersch [Fri, 9 Oct 2020 19:49:06 +0000 (21:49 +0200)]
Update .mailmap.
Martin Quinson [Fri, 9 Oct 2020 20:23:01 +0000 (22:23 +0200)]
doc: broken import of this_actor::parallel_execute