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
Martin Quinson [Thu, 8 Oct 2020 22:18:16 +0000 (00:18 +0200)]
We do have wireless networks now
Martin Quinson [Fri, 9 Oct 2020 15:08:50 +0000 (17:08 +0200)]
Merge branch 'master' into 'master'
Documentation for the Wifi energy example
See merge request simgrid/simgrid!41
Clément Courageux [Fri, 9 Oct 2020 13:49:48 +0000 (15:49 +0200)]
Documentation for the Wifi energy example
Martin Quinson [Thu, 8 Oct 2020 20:42:47 +0000 (22:42 +0200)]
new option ns3/seed to seed the ns-3 random generator
Arnaud Giersch [Thu, 8 Oct 2020 14:25:58 +0000 (16:25 +0200)]
Use vector of strings for args.
Arnaud Giersch [Thu, 8 Oct 2020 14:25:21 +0000 (16:25 +0200)]
Use C++ types instead of c-style arrays.
Arnaud Giersch [Thu, 8 Oct 2020 14:10:06 +0000 (16:10 +0200)]
Use meaningful names for dragonfly coords.
Arnaud Giersch [Thu, 8 Oct 2020 13:26:16 +0000 (15:26 +0200)]
Prefer std::string for C++ API.
Arnaud Giersch [Thu, 8 Oct 2020 09:44:08 +0000 (11:44 +0200)]
Minor sonar issues.
Martin Quinson [Thu, 8 Oct 2020 10:26:49 +0000 (12:26 +0200)]
Document recent changes
Martin Quinson [Thu, 8 Oct 2020 10:18:07 +0000 (12:18 +0200)]
Adapt the wifi_energy platform to the new wifi routing
Martin Quinson [Thu, 8 Oct 2020 08:08:33 +0000 (10:08 +0200)]
Merge branch 'klement/simgrid-klement' into master
Arnaud Giersch [Wed, 7 Oct 2020 11:12:27 +0000 (13:12 +0200)]
Revert "Check C++ standard in xbt/base.h."
There is no reason to enforce C++14 when it's not absolutely needed.
This reverts commit
5004e62b0038cf93f205c6eacb0d46c17258ce89.
Augustin Degomme [Wed, 7 Oct 2020 07:51:07 +0000 (09:51 +0200)]
bump C++ to 14 in smpicxx as well
Arnaud Giersch [Tue, 6 Oct 2020 21:16:58 +0000 (23:16 +0200)]
Black magic.
Aims to fix MC+smpi on FreeBSD with Clang.
Arnaud Giersch [Tue, 6 Oct 2020 13:32:23 +0000 (15:32 +0200)]
Check C++ standard in xbt/base.h.
Arnaud Giersch [Tue, 6 Oct 2020 10:13:49 +0000 (12:13 +0200)]
Travis/win: python has been upgraded to 3.9.
Arnaud Giersch [Tue, 6 Oct 2020 08:55:29 +0000 (10:55 +0200)]
Fix build with older clang (e.g. 3.8.1).
Arnaud Giersch [Mon, 5 Oct 2020 21:05:56 +0000 (23:05 +0200)]
Modernize method declarations.
Clang-tidy enabled checks:
modernize-use-equals-default
modernize-use-equals-delete
modernize-use-override
modernize-use-transparent-functors
Arnaud Giersch [Mon, 5 Oct 2020 21:03:27 +0000 (23:03 +0200)]
Prefer to use emplace_back.
Clang-tidy enabled checks:
modernize-use-emplace
Arnaud Giersch [Mon, 5 Oct 2020 20:59:22 +0000 (22:59 +0200)]
Modern C++ use "auto".
Clang-tidy enabled checks:
modernize-use-auto
Arnaud Giersch [Mon, 5 Oct 2020 20:47:37 +0000 (22:47 +0200)]
Prefer nullptr and bool literals.
Clang-tidy enabled checks:
modernize-use-bool-literals
modernize-use-nullptr
Arnaud Giersch [Mon, 5 Oct 2020 19:54:35 +0000 (21:54 +0200)]
Prefer C++ headers, and C++-style void-arg declarations.
Clang-tidy enabled checks:
modernize-deprecated-headers
modernize-redundant-void-arg
Arnaud Giersch [Mon, 5 Oct 2020 19:53:43 +0000 (21:53 +0200)]
More uses of std::make_unique.
Clang-tidy enabled checks:
modernize-make-shared
modernize-make-unique
Arnaud Giersch [Mon, 5 Oct 2020 19:57:16 +0000 (21:57 +0200)]
Modernize loop.
Arnaud Giersch [Mon, 5 Oct 2020 11:55:03 +0000 (13:55 +0200)]
Fix lua_platf.
Martin Quinson [Mon, 5 Oct 2020 15:00:46 +0000 (17:00 +0200)]
Fix a name conflict in Zones. No idea why gcc didn't complain about it
Martin Quinson [Mon, 5 Oct 2020 09:57:21 +0000 (11:57 +0200)]
New 'WiFi' routing, that makes it easier to specify WiFi network zones
Martin Quinson [Sun, 4 Oct 2020 20:04:29 +0000 (22:04 +0200)]
Don't list the possible routings in DTD. We want to add more w/o changing the DTD
Martin Quinson [Sun, 4 Oct 2020 19:42:49 +0000 (21:42 +0200)]
Recompile the XML parser, and alleviate an ambiguity in a platform file
Martin Quinson [Sun, 4 Oct 2020 14:25:39 +0000 (16:25 +0200)]
Let netzones know about the links created in their realm
Martin Quinson [Sat, 3 Oct 2020 10:33:11 +0000 (12:33 +0200)]
useless cosmetics
Arnaud Giersch [Sun, 4 Oct 2020 20:28:50 +0000 (22:28 +0200)]
[sonar] Extract the assignment from sub-expression.
Arnaud Giersch [Sun, 4 Oct 2020 19:44:56 +0000 (21:44 +0200)]
Useless cast to int.
Arnaud Giersch [Sun, 4 Oct 2020 19:20:32 +0000 (21:20 +0200)]
Slight simplification.
Arnaud Giersch [Sun, 4 Oct 2020 19:10:32 +0000 (21:10 +0200)]
Correctly print dots between elements.
Arnaud Giersch [Sun, 4 Oct 2020 12:23:25 +0000 (14:23 +0200)]
[sonar] Replace redundant type with "auto" (src/smpi/).
Arnaud Giersch [Sat, 3 Oct 2020 20:34:45 +0000 (22:34 +0200)]
[sonar] Replace redundant type with "auto" (src/mc/).
Arnaud Giersch [Sat, 3 Oct 2020 19:53:46 +0000 (21:53 +0200)]
[sonar] Replace redundant type with "auto" (include/ and src/).
Arnaud Giersch [Sun, 4 Oct 2020 16:08:38 +0000 (18:08 +0200)]
[sonar] Replace redundant type with "auto" (teshsuite/).
Arnaud Giersch [Sat, 3 Oct 2020 19:48:41 +0000 (21:48 +0200)]
[sonar] Replace redundant type with "auto" (examples/).
Arnaud Giersch [Sat, 3 Oct 2020 08:08:58 +0000 (10:08 +0200)]
Mention xxHash in COPYING.
Arnaud Giersch [Sat, 3 Oct 2020 08:02:27 +0000 (10:02 +0200)]
xxHash is not ours, exclude from analysis.
Arnaud Giersch [Fri, 2 Oct 2020 22:30:19 +0000 (00:30 +0200)]
More s/c++11/c++14/.
Arnaud Giersch [Fri, 2 Oct 2020 21:44:42 +0000 (23:44 +0200)]
[sonar] Use "std::make_unique" to construct "std::unique_ptr".
Arnaud Giersch [Fri, 2 Oct 2020 21:39:42 +0000 (23:39 +0200)]
[sonar] Use "std::make_shared" to construct "std::shared_ptr".
Arnaud Giersch [Fri, 2 Oct 2020 20:04:16 +0000 (22:04 +0200)]
[sonar] Don't take shared_ptr by rvalue reference.
Arnaud Giersch [Fri, 2 Oct 2020 20:04:16 +0000 (22:04 +0200)]
Const qualifier is useless.
Arnaud Giersch [Fri, 2 Oct 2020 20:04:16 +0000 (22:04 +0200)]
Use empty() to check whether the container is empty or not.
Arnaud Giersch [Fri, 2 Oct 2020 20:04:16 +0000 (22:04 +0200)]
Reduce scope for loop variables.
Arnaud Giersch [Fri, 2 Oct 2020 19:45:40 +0000 (21:45 +0200)]
Remove compatibility layer for pre-c++14.
Arnaud Giersch [Fri, 2 Oct 2020 19:38:33 +0000 (21:38 +0200)]
C++14 support is now required.
Arnaud Giersch [Fri, 2 Oct 2020 19:33:25 +0000 (21:33 +0200)]
Use standard macro to check C++ version.
Arnaud Giersch [Fri, 2 Oct 2020 09:37:21 +0000 (11:37 +0200)]
Namespace s4u:: is implicit.