Martin Quinson [Mon, 28 Aug 2017 20:27:04 +0000 (22:27 +0200)]
s4u is not that bad anymore
Martin Quinson [Mon, 28 Aug 2017 20:15:02 +0000 (22:15 +0200)]
uniformize the function names
Martin Quinson [Mon, 28 Aug 2017 19:14:12 +0000 (21:14 +0200)]
instr: kill leftover classes
Martin Quinson [Mon, 28 Aug 2017 18:43:06 +0000 (20:43 +0200)]
instr: kill an unused field
Martin Quinson [Mon, 28 Aug 2017 18:39:15 +0000 (20:39 +0200)]
rename the instr::Container class to its proper name
Martin Quinson [Mon, 28 Aug 2017 15:52:41 +0000 (17:52 +0200)]
smpi: don't override the value of network/TCP-gamma with the default value. That's misleading
Martin Quinson [Mon, 28 Aug 2017 15:52:13 +0000 (17:52 +0200)]
doc: give the real default value of option network/TCP-gamma
Takishipp [Mon, 28 Aug 2017 15:21:42 +0000 (17:21 +0200)]
first attempt to convert async-waitany msg version to s4u (doesn't work)
Martin Quinson [Mon, 28 Aug 2017 10:05:10 +0000 (12:05 +0200)]
instr: please sonar
- Use initialization lists
- Don't have C++ declarations within the extern "C" block
Martin Quinson [Mon, 28 Aug 2017 09:56:13 +0000 (11:56 +0200)]
follow the naming conventions in Instr
Martin Quinson [Mon, 28 Aug 2017 09:22:18 +0000 (11:22 +0200)]
fix clang builds
Don't try to have globals linked in the C++ way.
Instead, we should kill all those globals (but not today)
Martin Quinson [Mon, 28 Aug 2017 00:20:57 +0000 (02:20 +0200)]
move all inst declarations into their namespace
Martin Quinson [Sun, 27 Aug 2017 23:06:17 +0000 (01:06 +0200)]
kill a C type now that we have a class
Martin Quinson [Sun, 27 Aug 2017 22:42:55 +0000 (00:42 +0200)]
class names must be in CamelCase
Martin Quinson [Sun, 27 Aug 2017 22:37:30 +0000 (00:37 +0200)]
a class with no method is not a class
Martin Quinson [Sun, 27 Aug 2017 22:23:36 +0000 (00:23 +0200)]
Merge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Sun, 27 Aug 2017 22:23:23 +0000 (00:23 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Sun, 27 Aug 2017 22:22:02 +0000 (00:22 +0200)]
Merge pull request #215 from Takishipp/s_type_cleanup
s_type cleanup
Arnaud Giersch [Sun, 27 Aug 2017 15:00:52 +0000 (17:00 +0200)]
Create dict in NetworkNS3Model constructor.
It's already destroyed from ~NetworkNS3Model.
Augustin Degomme [Fri, 25 Aug 2017 23:25:55 +0000 (01:25 +0200)]
this has to be ordered as MPI allows access to items with an index
Arnaud Giersch [Thu, 24 Aug 2017 20:45:17 +0000 (22:45 +0200)]
Avoid sending address of local variables.
This should fix the problem introduced by commit
e2334f2600f6d03f43a79f9c3dc43c2fff21e115.
Arnaud Giersch [Tue, 22 Aug 2017 17:20:06 +0000 (19:20 +0200)]
Trivial formatting issues.
Arnaud Giersch [Fri, 4 Aug 2017 07:46:24 +0000 (09:46 +0200)]
Use (const) references with range-based for loops.
This avoids unnecessary copies and saves a few milliseconds.
Arnaud Giersch [Tue, 22 Aug 2017 20:56:53 +0000 (22:56 +0200)]
Fix ns-3 build.
Arnaud Giersch [Tue, 22 Aug 2017 20:05:26 +0000 (22:05 +0200)]
Missing "override"s.
Arnaud Giersch [Mon, 21 Aug 2017 13:49:07 +0000 (15:49 +0200)]
Use NewGlobalRef since Vm in unref'd by DeleteGlobalRef.
Arnaud Giersch [Mon, 21 Aug 2017 13:47:26 +0000 (15:47 +0200)]
Using std::remove_if is overkill here.
Arnaud Giersch [Mon, 21 Aug 2017 11:25:22 +0000 (13:25 +0200)]
This method can be made const.
Arnaud Giersch [Sun, 20 Aug 2017 21:15:09 +0000 (23:15 +0200)]
Ensure that low is valid before using it.
Arnaud Giersch [Sun, 20 Aug 2017 21:15:09 +0000 (23:15 +0200)]
Remove useless #undef's.
Arnaud Giersch [Sun, 20 Aug 2017 21:15:09 +0000 (23:15 +0200)]
Whitespace cleanup.
Arnaud Giersch [Sun, 20 Aug 2017 21:15:09 +0000 (23:15 +0200)]
Use default destructor.
Arnaud Giersch [Sun, 20 Aug 2017 17:15:49 +0000 (19:15 +0200)]
These lines belong to the outer loop.
Arnaud Giersch [Sun, 20 Aug 2017 17:07:25 +0000 (19:07 +0200)]
Deobfuscate expression.
Arnaud Giersch [Sun, 20 Aug 2017 15:52:31 +0000 (17:52 +0200)]
Handle case when active_peers is empty.
Arnaud Giersch [Sun, 20 Aug 2017 15:51:27 +0000 (17:51 +0200)]
Comment unused field.
Unused attribute is not supported by gcc in this case.
Arnaud Giersch [Sun, 20 Aug 2017 12:04:50 +0000 (14:04 +0200)]
Sort storages before listing.
Takishipp [Fri, 18 Aug 2017 15:11:46 +0000 (17:11 +0200)]
normalize s_type class part 3
Takishipp [Fri, 18 Aug 2017 14:41:12 +0000 (16:41 +0200)]
normalize s_type class part 2
Takishipp [Fri, 18 Aug 2017 13:30:59 +0000 (15:30 +0200)]
normalize s_type class
Frederic Suter [Fri, 18 Aug 2017 08:43:43 +0000 (10:43 +0200)]
modernize three simcalls
Takishipp [Wed, 16 Aug 2017 14:50:59 +0000 (16:50 +0200)]
Add type_stat_new to s_type class as a method
Takishipp [Wed, 16 Aug 2017 14:44:48 +0000 (16:44 +0200)]
Add link_new to s_type class as a method
Takishipp [Wed, 16 Aug 2017 14:28:53 +0000 (16:28 +0200)]
Add variable_new to s_type class as method
Takishipp [Wed, 16 Aug 2017 13:45:13 +0000 (15:45 +0200)]
Add event_new to s_type class as a method
Takishipp [Wed, 16 Aug 2017 13:29:49 +0000 (15:29 +0200)]
Add type_container_new to s_type class as method
Takishipp [Wed, 16 Aug 2017 11:51:58 +0000 (13:51 +0200)]
Add s_type_get_or_null to s_type class as a method
Takishipp [Wed, 16 Aug 2017 10:06:33 +0000 (12:06 +0200)]
Add a constructor to s_type class
Takishipp [Wed, 16 Aug 2017 08:58:48 +0000 (10:58 +0200)]
Merge branch 'master' of github.com:simgrid/simgrid into s_type_cleanup
Takishipp [Wed, 16 Aug 2017 08:58:17 +0000 (10:58 +0200)]
Factorize s_type and value instr class
Arnaud Giersch [Tue, 15 Aug 2017 21:21:16 +0000 (23:21 +0200)]
Remove unused variable.
Arnaud Giersch [Tue, 15 Aug 2017 20:20:19 +0000 (22:20 +0200)]
this cannot be null.
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.
Arnaud Giersch [Mon, 14 Aug 2017 21:30:31 +0000 (23:30 +0200)]
Mark unused attribute as unused.
Arnaud Giersch [Mon, 14 Aug 2017 21:18:06 +0000 (23:18 +0200)]
Avoid short-lied temporary string.
Arnaud Giersch [Mon, 14 Aug 2017 20:54:58 +0000 (22:54 +0200)]
Remove useless memset (causes segfault).
Martin Quinson [Sun, 13 Aug 2017 21:31:38 +0000 (23:31 +0200)]
small cleanups in the simix timers
Much more would be due :(
Martin Quinson [Sat, 12 Aug 2017 20:14:34 +0000 (22:14 +0200)]
sonar
Martin Quinson [Fri, 11 Aug 2017 20:07:45 +0000 (22:07 +0200)]
spelling
Frederic Suter [Fri, 11 Aug 2017 13:26:07 +0000 (15:26 +0200)]
kill kill simcall
Frederic Suter [Fri, 11 Aug 2017 13:25:38 +0000 (15:25 +0200)]
damn lua
Frederic Suter [Fri, 11 Aug 2017 12:34:19 +0000 (14:34 +0200)]
another fix for lua
Frederic Suter [Fri, 11 Aug 2017 12:25:37 +0000 (14:25 +0200)]
try to fix ns3 build
Frederic Suter [Fri, 11 Aug 2017 10:08:37 +0000 (12:08 +0200)]
minimal fix (hopefully) of lua bindings
Frederic Suter [Fri, 11 Aug 2017 10:06:14 +0000 (12:06 +0200)]
stringify cluster
Frederic Suter [Fri, 11 Aug 2017 09:33:28 +0000 (11:33 +0200)]
stringify Host link creation
Frederic Suter [Fri, 11 Aug 2017 06:56:24 +0000 (08:56 +0200)]
kill 2 sonar bugs
Frederic Suter [Fri, 11 Aug 2017 06:36:13 +0000 (08:36 +0200)]
codacy and clang-format
Martin Quinson [Thu, 10 Aug 2017 19:25:24 +0000 (21:25 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Frederic Suter [Thu, 10 Aug 2017 13:08:10 +0000 (15:08 +0200)]
stringify IO
Frederic Suter [Thu, 10 Aug 2017 12:47:40 +0000 (14:47 +0200)]
more strings
Frederic Suter [Thu, 10 Aug 2017 12:11:21 +0000 (14:11 +0200)]
bprintf -> string
Frederic Suter [Thu, 10 Aug 2017 12:04:05 +0000 (14:04 +0200)]
AS -> Zone. Mainly cosmetics and unused defined thing
Frederic Suter [Thu, 10 Aug 2017 10:07:45 +0000 (12:07 +0200)]
assume a dumb tracker (and please travis)
Martin Quinson [Wed, 9 Aug 2017 21:37:39 +0000 (23:37 +0200)]
codacy
Frederic Suter [Thu, 10 Aug 2017 08:56:36 +0000 (10:56 +0200)]
AS->Zone + stringification
Frederic Suter [Thu, 10 Aug 2017 07:45:40 +0000 (09:45 +0200)]
stringification
Frederic Suter [Wed, 9 Aug 2017 12:09:54 +0000 (14:09 +0200)]
maybe sort isn't portable
Frederic Suter [Wed, 9 Aug 2017 09:31:25 +0000 (11:31 +0200)]
attempt to fix daxload example
Frederic Suter [Wed, 9 Aug 2017 09:17:56 +0000 (11:17 +0200)]
less bprintf (some were completely useless)
Frederic Suter [Wed, 9 Aug 2017 08:17:11 +0000 (10:17 +0200)]
stringification
Frederic Suter [Wed, 9 Aug 2017 08:02:38 +0000 (10:02 +0200)]
fix MC. host names are not std::string damnit
Frederic Suter [Wed, 9 Aug 2017 07:45:21 +0000 (09:45 +0200)]
bprintf--
Frederic Suter [Wed, 9 Aug 2017 07:38:43 +0000 (09:38 +0200)]
move VM start function to s4u
Frederic Suter [Wed, 9 Aug 2017 07:19:44 +0000 (09:19 +0200)]
plug leak in msg_vm (by rmving bprintf)
Frederic Suter [Tue, 8 Aug 2017 08:15:57 +0000 (10:15 +0200)]
put back a leak (for now) to fix tests
Frederic Suter [Tue, 8 Aug 2017 07:11:12 +0000 (09:11 +0200)]
plug leaks
Frederic Suter [Mon, 7 Aug 2017 19:30:20 +0000 (21:30 +0200)]
codacy
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
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
Frederic Suter [Mon, 7 Aug 2017 14:25:20 +0000 (16:25 +0200)]
convert map to dynar at API level
Frederic Suter [Mon, 7 Aug 2017 13:43:47 +0000 (15:43 +0200)]
jxbt_throw_null needs a string. no need to bprintf
Frederic Suter [Mon, 7 Aug 2017 13:35:11 +0000 (15:35 +0200)]
bprintf-- (try to use strings in cpp world
Frederic Suter [Mon, 7 Aug 2017 13:19:15 +0000 (15:19 +0200)]
no need for unused args
bcamus [Mon, 7 Aug 2017 12:53:09 +0000 (14:53 +0200)]
fixing codacy issue
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.
Frederic Suter [Mon, 7 Aug 2017 10:26:10 +0000 (12:26 +0200)]
stop using variadic functions for surf_parse messages
bcamus [Mon, 7 Aug 2017 10:05:31 +0000 (12:05 +0200)]
Merge branch 'master' of https://github.com/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
Frederic Suter [Mon, 7 Aug 2017 07:58:44 +0000 (09:58 +0200)]
please codacy and sonar + factoring