Gabriel Corona [Tue, 19 Jan 2016 11:54:11 +0000 (12:54 +0100)]
[s4u] Do not need to check for NULL before delet
This is already included.
Gabriel Corona [Tue, 19 Jan 2016 11:53:31 +0000 (12:53 +0100)]
Delete the CPU (fix a mem leak)
Martin Quinson [Tue, 19 Jan 2016 11:40:28 +0000 (12:40 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 19 Jan 2016 11:23:30 +0000 (12:23 +0100)]
Merge pull request #51 from mpoquet/master
Removes the pid hack introduced in the patch proposal of issue 15
Lucas Mello Schnorr [Tue, 19 Jan 2016 11:20:18 +0000 (09:20 -0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid
Millian Poquet [Tue, 19 Jan 2016 11:06:44 +0000 (12:06 +0100)]
Merge branch 'master' of https://github.com/mquinson/simgrid
Frederic Suter [Tue, 19 Jan 2016 11:00:37 +0000 (12:00 +0100)]
Replace manual latency computation by call to proper
function.
Revalidate tesh
Millian Poquet [Tue, 19 Jan 2016 10:58:35 +0000 (11:58 +0100)]
Cleaner patch for issue 15.
Instead of using a pid hack to generate the process creation trace in
MSG_process_create_with_environment, this is now done in the function that
handles the pids: SIMIX_process_create.
Lucas Mello Schnorr [Tue, 19 Jan 2016 10:56:20 +0000 (08:56 -0200)]
[action replay] verify optional parameters at the same time in alltoall
Lucas Mello Schnorr [Tue, 19 Jan 2016 10:55:03 +0000 (08:55 -0200)]
[action replay] check second optional parameter before parsing datatype in gatherv
Lucas Mello Schnorr [Tue, 19 Jan 2016 10:54:34 +0000 (08:54 -0200)]
[action replay] fix allgather optional parameter parsing
Lucas Mello Schnorr [Tue, 19 Jan 2016 10:54:04 +0000 (08:54 -0200)]
[action replay] verify both optional parameters in allgatherv
Lucas Mello Schnorr [Tue, 19 Jan 2016 10:53:34 +0000 (08:53 -0200)]
[action replay] verify both optional parameters at the same time in alltoallv
Lucas Mello Schnorr [Tue, 19 Jan 2016 10:37:44 +0000 (08:37 -0200)]
[action replay] independent parsing for two optional parameters
Lucas Mello Schnorr [Tue, 19 Jan 2016 10:30:38 +0000 (08:30 -0200)]
[action replay] check parameters for all to all operation
Frederic Suter [Tue, 19 Jan 2016 10:22:16 +0000 (11:22 +0100)]
remove these broken examples that may be misleading for newcomers as
they have nothing to do with master-worker. The future of platform
generation is lua anyway.
Martin Quinson [Tue, 19 Jan 2016 00:09:29 +0000 (01:09 +0100)]
Merge branch 'master' of github.com:mquinson/simgrid
Martin Quinson [Tue, 19 Jan 2016 00:09:06 +0000 (01:09 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Frederic Suter [Tue, 19 Jan 2016 00:06:31 +0000 (01:06 +0100)]
typo in comment
Frederic Suter [Tue, 19 Jan 2016 00:06:00 +0000 (01:06 +0100)]
only test 5th field if 4th exists
Martin Quinson [Mon, 18 Jan 2016 23:31:35 +0000 (00:31 +0100)]
Merge pull request #50 from mpoquet/master
Warning removal with clang 3.7.0-6
Millian Poquet [Mon, 18 Jan 2016 23:06:26 +0000 (00:06 +0100)]
Cosmetics: removal of a useless comment I wrote in the previous commits
Millian Poquet [Mon, 18 Jan 2016 23:01:08 +0000 (00:01 +0100)]
Merge branch 'master' of https://github.com/mquinson/simgrid
Millian Poquet [Mon, 18 Jan 2016 22:59:31 +0000 (23:59 +0100)]
Warning fix: remove old and weird __foo__ function that generated a warning on clang 3.7.0
Martin Quinson [Mon, 18 Jan 2016 22:58:49 +0000 (23:58 +0100)]
cp is called cp.exe on windows...
Frederic Suter [Mon, 18 Jan 2016 22:28:14 +0000 (23:28 +0100)]
return the allocated buffer not that of the previous function
Martin Quinson [Mon, 18 Jan 2016 22:14:07 +0000 (23:14 +0100)]
[cmake] fix the copy of the native libs into the jarfile
I REALLY hate cmake. I do.
Martin Quinson [Mon, 18 Jan 2016 20:13:20 +0000 (21:13 +0100)]
fix my borken english
Martin Quinson [Mon, 18 Jan 2016 20:05:15 +0000 (21:05 +0100)]
readd the MSG interface to energy thingy
Millian Poquet [Mon, 18 Jan 2016 17:58:04 +0000 (18:58 +0100)]
Warning and pessimization fix in get_memory_map: a std::copy of a local variable was returned, which inhibited return value optimization
Millian Poquet [Mon, 18 Jan 2016 17:46:52 +0000 (18:46 +0100)]
Warning fix: addition of the override specifier for all methods that needed it
Martin Quinson [Mon, 18 Jan 2016 17:34:34 +0000 (18:34 +0100)]
recompile the dtd, just to check that I can do so
Martin Quinson [Mon, 18 Jan 2016 11:35:05 +0000 (12:35 +0100)]
reindent
Martin Quinson [Sun, 17 Jan 2016 11:21:37 +0000 (12:21 +0100)]
one step to make VM usable with any Cpu model
Martin Quinson [Sun, 17 Jan 2016 10:53:46 +0000 (11:53 +0100)]
inline a static function
Martin Quinson [Sat, 16 Jan 2016 14:36:12 +0000 (15:36 +0100)]
reindent
Martin Quinson [Sat, 16 Jan 2016 14:23:07 +0000 (15:23 +0100)]
move the vanilla def of executeParallelTask in HostModel
Two of the three subclasses were redefining this method to the same
content.
Martin Quinson [Sat, 16 Jan 2016 14:18:46 +0000 (15:18 +0100)]
simplify the prototype of CpuAction::onStateChange
I'm not sure of how to export it to the user.
Martin Quinson [Sat, 16 Jan 2016 10:01:01 +0000 (11:01 +0100)]
woopsy, adapt MC to the previous change
Martin Quinson [Sat, 16 Jan 2016 08:55:08 +0000 (09:55 +0100)]
Kill a deprecated function, deprecate another one, and inline a simcall
- SIMIX_host_get_name is replaced by sg_host_get_name
- One day, MSG_host_get_name will die
- the host_off simcall now use the closure simcall
Martin Quinson [Fri, 15 Jan 2016 16:31:02 +0000 (17:31 +0100)]
kill (inline) useless functions
The whole addTraces() madness should be reworked and factorized.
degomme [Fri, 15 Jan 2016 15:46:32 +0000 (16:46 +0100)]
try again to find this lib.. and don't crash if not found
degomme [Fri, 15 Jan 2016 15:24:16 +0000 (16:24 +0100)]
...
degomme [Fri, 15 Jan 2016 15:22:32 +0000 (16:22 +0100)]
oops
degomme [Fri, 15 Jan 2016 15:10:28 +0000 (16:10 +0100)]
Add folders to search for libwinpthreads when using msys.
degomme [Fri, 15 Jan 2016 15:05:23 +0000 (16:05 +0100)]
another attempt
degomme [Fri, 15 Jan 2016 14:54:40 +0000 (15:54 +0100)]
Build out of source on windows also (but don't do the make dist/unpack) part
Gabriel Corona [Fri, 15 Jan 2016 15:05:52 +0000 (16:05 +0100)]
[s4u] Use const& references in Host::mounted_storages()
Gabriel Corona [Fri, 15 Jan 2016 14:26:45 +0000 (15:26 +0100)]
[s4u] Host snake_case
degomme [Fri, 15 Jan 2016 14:38:57 +0000 (15:38 +0100)]
another attempt to fix make -j with java.
Gabriel Corona [Fri, 15 Jan 2016 13:54:52 +0000 (14:54 +0100)]
[mc] Fix the hash computation
degomme [Fri, 15 Jan 2016 14:00:48 +0000 (15:00 +0100)]
not for windows' eyes
degomme [Fri, 15 Jan 2016 13:47:42 +0000 (14:47 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid
degomme [Fri, 15 Jan 2016 13:47:33 +0000 (14:47 +0100)]
deactivate Werror and co for windows ci build
Gabriel Corona [Fri, 15 Jan 2016 12:47:21 +0000 (13:47 +0100)]
[s4u] Use forward.hpp for forward declarations
Gabriel Corona [Fri, 15 Jan 2016 12:46:42 +0000 (13:46 +0100)]
[s4u] s/ByName/by_name/
Frederic Suter [Fri, 15 Jan 2016 12:45:04 +0000 (13:45 +0100)]
remove free of return set in user code for these tests too.
Gabriel Corona [Fri, 15 Jan 2016 12:25:55 +0000 (13:25 +0100)]
[s4u] Remove Host::.set_userdata()
Gabriel Corona [Fri, 15 Jan 2016 11:25:17 +0000 (12:25 +0100)]
Remove the TODO done in the previous commit
Gabriel Corona [Fri, 15 Jan 2016 11:07:38 +0000 (12:07 +0100)]
[s4u] Do not use containers of references
Containers are not allowes to hold references.
Gabriel Corona [Fri, 15 Jan 2016 10:46:29 +0000 (11:46 +0100)]
[mc] Fix compilation
Gabriel Corona [Fri, 15 Jan 2016 09:40:41 +0000 (10:40 +0100)]
[s4u] Removes unused simgrid::s4u::Host::hosts static variable
Gabriel Corona [Fri, 15 Jan 2016 09:11:28 +0000 (10:11 +0100)]
Add signal.hpp to DefinePackage (fix dist)
Gabriel Corona [Fri, 15 Jan 2016 09:03:32 +0000 (10:03 +0100)]
Remove surf_on_host_created() declaration
Thos function does not exist anymore.
Gabriel Corona [Thu, 14 Jan 2016 15:50:24 +0000 (16:50 +0100)]
[s4u] Add a header file with forward declarations
Frederic Suter [Thu, 14 Jan 2016 19:19:21 +0000 (20:19 +0100)]
Do not free return set here either.
Frederic Suter [Thu, 14 Jan 2016 19:08:24 +0000 (20:08 +0100)]
rename __SD_task_set_state to SD_task_set_state too
Frederic Suter [Thu, 14 Jan 2016 14:08:40 +0000 (15:08 +0100)]
this part was never tested (and useless IMHO), call it dead code
Frederic Suter [Thu, 14 Jan 2016 13:53:18 +0000 (14:53 +0100)]
routing stuff in SimDag is dead code added by navarrop (nobody ever used
it)
Gabriel Corona [Thu, 14 Jan 2016 15:43:46 +0000 (16:43 +0100)]
Remove sg_platf_*_add_cb, use the signal<T> directly
Gabriel Corona [Thu, 14 Jan 2016 10:54:41 +0000 (11:54 +0100)]
Use signals for platform callbacks
Gabriel Corona [Thu, 14 Jan 2016 08:48:58 +0000 (09:48 +0100)]
Remove useless callback declarations in platf
Frederic Suter [Thu, 14 Jan 2016 11:09:47 +0000 (12:09 +0100)]
Modify almost all SD tests. There is no need to free a structure
allocated by SD_Simulate in user code.
Frederic Suter [Thu, 14 Jan 2016 11:07:33 +0000 (12:07 +0100)]
get rid of the last swag in SimDag (\o/), hence the encapsulation of
SD_Simulate.
Frederic Suter [Wed, 13 Jan 2016 09:32:26 +0000 (10:32 +0100)]
cosmetics
Frederic Suter [Wed, 13 Jan 2016 09:29:29 +0000 (10:29 +0100)]
use proper type for task kind
Frederic Suter [Tue, 12 Jan 2016 10:29:48 +0000 (11:29 +0100)]
the comment said this function is private, make it private
Frederic Suter [Tue, 12 Jan 2016 10:22:46 +0000 (11:22 +0100)]
modify the way states are handled (get rid of swags)
1 test to revalidate (foreach order changes)
Martin Quinson [Wed, 13 Jan 2016 23:01:00 +0000 (00:01 +0100)]
some simple cleanups in the routing code
Overrides where needed, initialize the fields at declaration, kill
dead comments and dupplicated fields. As usual.
Muuuuch more cleanups to come in that area.
Martin Quinson [Wed, 13 Jan 2016 22:26:33 +0000 (23:26 +0100)]
move some content from AsNone into As (AsNone should die)
Martin Quinson [Wed, 13 Jan 2016 22:24:18 +0000 (23:24 +0100)]
port NS3 to simgrid::s4u::Host
Gabriel Corona [Wed, 13 Jan 2016 13:43:24 +0000 (14:43 +0100)]
Merge simgrid::Host into simgrid::s4u::Host
Martin Quinson [Wed, 13 Jan 2016 14:31:51 +0000 (15:31 +0100)]
document the update mechanisms
Martin Quinson [Wed, 13 Jan 2016 14:28:05 +0000 (15:28 +0100)]
more documentation in surf::Routing
Martin Quinson [Wed, 13 Jan 2016 13:44:37 +0000 (14:44 +0100)]
port NS3 to the new signals in simgrid::Host
Gabriel Corona [Wed, 13 Jan 2016 11:16:04 +0000 (12:16 +0100)]
Move the signals from simgrid::surf::Host to simgrid::Host
Fix issues of dependencies between extensions in destruction.
Gabriel Corona [Wed, 13 Jan 2016 10:24:21 +0000 (11:24 +0100)]
Public simgrid::xbt:signal<F> class
It is either an alias for boost::signals2::signal<F> or a wrapper
around sigc::signal<R, Args...>. We are going to need it in order to
exposer the signals to users and move them in simgrid::Host.
Martin Quinson [Wed, 13 Jan 2016 10:11:54 +0000 (11:11 +0100)]
[appveyor] disable the tests that are broken by the perl version to get the jarfile
Martin Quinson [Wed, 13 Jan 2016 08:18:27 +0000 (09:18 +0100)]
[cmake] cosmetics: mark 2 variables as advanced
Martin Quinson [Tue, 12 Jan 2016 16:14:08 +0000 (17:14 +0100)]
[cmake/java] copy all native libs in one shot to fix parallel build
Gabriel Corona [Tue, 12 Jan 2016 14:43:08 +0000 (15:43 +0100)]
Remove surf_host_model_execute_parallel_task()
Gabriel Corona [Tue, 12 Jan 2016 13:46:22 +0000 (14:46 +0100)]
Remove surf_host_* functions
They are just C wrappers around the C++ API.
Gabriel Corona [Tue, 12 Jan 2016 13:38:50 +0000 (14:38 +0100)]
Fix stupidly broken indexing in SIMIX_process_parallel_execute()
Martin Quinson [Tue, 12 Jan 2016 13:39:35 +0000 (14:39 +0100)]
re-move content into separate callback functions (and empty the destructor)
Gabriel Corona [Tue, 12 Jan 2016 12:58:41 +0000 (13:58 +0100)]
Add missing XBT_ALWAYS_INLINE
"Yes, you can be XBT_ALWAYS_INLINE too."
Gabriel Corona [Tue, 12 Jan 2016 12:58:16 +0000 (13:58 +0100)]
Fix aliased template parameter name
This is purely stylistic.
Gabriel Corona [Tue, 12 Jan 2016 11:24:12 +0000 (12:24 +0100)]
Revert "remove a C-like pimple"
This reverts commit
71c619779ed661b50ce589403a0f4df7ab0865de.
This commits generates a lot of segfaults.
Martin Quinson [Mon, 11 Jan 2016 23:44:21 +0000 (00:44 +0100)]
sg_functions should be wrapping the C++ public API, not internals
Martin Quinson [Mon, 11 Jan 2016 23:53:14 +0000 (00:53 +0100)]
Make sg_* functions callable from simdag
There was an issue when they were doing a simcall, but now, every
simdag simulation is supposed to run in maestro context.
Martin Quinson [Mon, 11 Jan 2016 22:14:25 +0000 (23:14 +0100)]
make MC compile with -Wmissing-declaration