Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
18 months agoReplace deprecated function.
Arnaud Giersch [Fri, 11 May 2018 06:28:30 +0000 (08:28 +0200)]
Replace deprecated function.

18 months agostart to use surf signals to trace resource usage
Frederic Suter [Thu, 10 May 2018 18:17:15 +0000 (20:17 +0200)]
start to use surf signals to trace resource usage

Remarks:
 + one signal is missing (when remains is updated)
 + not sure examples capture this tracing (I had to use debug to check
   the validity of my changes)

18 months agosnake_case (and document) s4u::Exec
Martin Quinson [Wed, 9 May 2018 23:22:08 +0000 (01:22 +0200)]
snake_case (and document) s4u::Exec

18 months agomake s4u::Engine::pimpl private at the price of a static_cast deep below
Martin Quinson [Wed, 9 May 2018 23:01:16 +0000 (01:01 +0200)]
make s4u::Engine::pimpl private at the price of a static_cast deep below

There is something rotten between Netzone and NetzoneImpl. They should
be aligned with the design of the other s4u/kernel objects. At some
point.

18 months agofinish snake_case s4u::Engine
Martin Quinson [Wed, 9 May 2018 21:58:08 +0000 (23:58 +0200)]
finish snake_case s4u::Engine

18 months agoTypos.
Arnaud Giersch [Tue, 8 May 2018 19:40:18 +0000 (21:40 +0200)]
Typos.

18 months agoalso use ofstream for tracing_files
Frederic Suter [Wed, 9 May 2018 14:40:29 +0000 (16:40 +0200)]
also use ofstream for tracing_files

18 months agoreplace FILE* by ofstream for tracing_file
Frederic Suter [Wed, 9 May 2018 13:56:55 +0000 (15:56 +0200)]
replace FILE* by ofstream for tracing_file

18 months agorefactor TRACE_start and TRACE_end
Frederic Suter [Wed, 9 May 2018 11:58:14 +0000 (13:58 +0200)]
refactor TRACE_start and TRACE_end

18 months agoMSG_VM => VM in instr
Frederic Suter [Wed, 9 May 2018 08:08:04 +0000 (10:08 +0200)]
MSG_VM => VM in instr

18 months agouse signals to instrument VMs
Frederic Suter [Wed, 9 May 2018 08:01:49 +0000 (10:01 +0200)]
use signals to instrument VMs

18 months agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Wed, 9 May 2018 07:08:47 +0000 (09:08 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

18 months ago'not' is not a C keyword (C++ only) -- bummer
Martin Quinson [Tue, 8 May 2018 18:10:07 +0000 (20:10 +0200)]
'not' is not a C keyword (C++ only) -- bummer

18 months agofix a FIXME
Martin Quinson [Tue, 8 May 2018 17:51:26 +0000 (19:51 +0200)]
fix a FIXME

18 months agocosmetics: use explicitly 'not' instead of a raw !
Martin Quinson [Tue, 8 May 2018 10:50:46 +0000 (12:50 +0200)]
cosmetics: use explicitly 'not' instead of a raw !

18 months agocapture in the doc a recent discussion on ML
Martin Quinson [Fri, 4 May 2018 23:49:04 +0000 (01:49 +0200)]
capture in the doc a recent discussion on ML

18 months agosnake_casing file system plugin
Frederic Suter [Tue, 8 May 2018 16:38:17 +0000 (18:38 +0200)]
snake_casing file system plugin

18 months agoRemove useless check for null before free.
Arnaud Giersch [Mon, 7 May 2018 20:06:42 +0000 (22:06 +0200)]
Remove useless check for null before free.

18 months agoUse xxx_is_empty().
Arnaud Giersch [Mon, 7 May 2018 20:06:20 +0000 (22:06 +0200)]
Use xxx_is_empty().

18 months agoFix memory leak.
Arnaud Giersch [Mon, 7 May 2018 19:33:53 +0000 (21:33 +0200)]
Fix memory leak.

TRACE_end() needs to be called, which is run from simgrid::s4u::on_simulation_end(),
called at the end of SIMIX_run(), which is called from MSG_main().  Since MSG_init()
is already used, it seems an acceptable choice.

18 months agosurfExitCallbacks are gone.
Arnaud Giersch [Mon, 7 May 2018 09:56:35 +0000 (11:56 +0200)]
surfExitCallbacks are gone.

18 months agoadd and use callback instr_actor_on_creation
Frederic Suter [Mon, 7 May 2018 09:45:41 +0000 (11:45 +0200)]
add and use callback instr_actor_on_creation

 + rename instr_ actor callbacks
 + create actor related stuff when the first actor is created and not
   the first host (makes more sense)
 + revalidate a tesh file accordingly

18 months agosnake_casing the dirty page tracking plugin
Frederic Suter [Mon, 7 May 2018 08:05:03 +0000 (10:05 +0200)]
snake_casing the dirty page tracking plugin

18 months agothis parameter belongs to the plugin
Frederic Suter [Mon, 7 May 2018 07:24:30 +0000 (09:24 +0200)]
this parameter belongs to the plugin

18 months agorevalidate tesh
Frederic Suter [Mon, 7 May 2018 07:16:38 +0000 (09:16 +0200)]
revalidate tesh

18 months agocosmetics: remove double include and reorder
Frederic Suter [Mon, 7 May 2018 07:00:41 +0000 (09:00 +0200)]
cosmetics: remove double include and reorder

18 months agoconsistency: merge src/simgrid/host.cpp into src/s4u/s4u_Host.cpp
Frederic Suter [Mon, 7 May 2018 06:59:13 +0000 (08:59 +0200)]
consistency: merge src/simgrid/host.cpp into src/s4u/s4u_Host.cpp

18 months agocosmetics: reorder file to be consistent with others
Frederic Suter [Mon, 7 May 2018 06:50:28 +0000 (08:50 +0200)]
cosmetics: reorder file to be consistent with others

18 months agofix java and build
Frederic Suter [Sun, 6 May 2018 17:57:23 +0000 (19:57 +0200)]
fix java and build

18 months agodid I say bummer?
Frederic Suter [Sun, 6 May 2018 16:36:33 +0000 (18:36 +0200)]
did I say bummer?

18 months agobummer
Frederic Suter [Sun, 6 May 2018 14:25:50 +0000 (16:25 +0200)]
bummer

18 months agomore legacy MSG functions
Frederic Suter [Sun, 6 May 2018 14:20:31 +0000 (16:20 +0200)]
more legacy MSG functions

18 months agouse signals and callbacks to trace actors
Frederic Suter [Sat, 5 May 2018 14:20:36 +0000 (16:20 +0200)]
use signals and callbacks to trace actors

18 months agoplease sonar by removing redundant test
Augustin Degomme [Sat, 5 May 2018 08:17:16 +0000 (10:17 +0200)]
please sonar by removing redundant test

18 months agoFix for s4u::ConditionVariable::wait_for, lost by previous commit.
Arnaud Giersch [Fri, 4 May 2018 21:30:51 +0000 (23:30 +0200)]
Fix for s4u::ConditionVariable::wait_for, lost by previous commit.

18 months agoStop using costly exceptions on timeout for simix synchros.
Arnaud Giersch [Fri, 4 May 2018 15:05:40 +0000 (17:05 +0200)]
Stop using costly exceptions on timeout for simix synchros.

Gives a speedup up to 1.7 on a particular application!

18 months agoCosmetics: define function before use.
Arnaud Giersch [Fri, 4 May 2018 14:06:00 +0000 (16:06 +0200)]
Cosmetics: define function before use.

18 months agoUse kernelImmediate for simcall cond_init.
Arnaud Giersch [Fri, 4 May 2018 14:03:57 +0000 (16:03 +0200)]
Use kernelImmediate for simcall cond_init.

18 months agomsg_process_from_PID => sg_actor_by_PID
Frederic Suter [Fri, 4 May 2018 09:05:47 +0000 (11:05 +0200)]
msg_process_from_PID => sg_actor_by_PID

18 months agoRemove assert on hot path.
Arnaud Giersch [Thu, 3 May 2018 18:53:39 +0000 (20:53 +0200)]
Remove assert on hot path.

18 months agoUse kernelImmediate for simcalls execution_{,parallel_}start.
Arnaud Giersch [Thu, 3 May 2018 14:54:56 +0000 (16:54 +0200)]
Use kernelImmediate for simcalls execution_{,parallel_}start.

18 months agoUse kernelImmediate for simcall set_category.
Arnaud Giersch [Thu, 3 May 2018 13:56:56 +0000 (15:56 +0200)]
Use kernelImmediate for simcall set_category.

18 months agoUse s4u.
Arnaud Giersch [Thu, 3 May 2018 13:45:01 +0000 (15:45 +0200)]
Use s4u.

18 months agoExplicitly capture the required variables (sonar).
Arnaud Giersch [Thu, 3 May 2018 13:35:33 +0000 (15:35 +0200)]
Explicitly capture the required variables (sonar).

18 months agoprotect MPI_Test, Iprobe and Probe the same way
Augustin Degomme [Thu, 3 May 2018 17:34:02 +0000 (19:34 +0200)]
protect MPI_Test, Iprobe and Probe the same way

18 months agofix bug on MPI_Recv when MPI_IGNORE_STATUS is used with MPI_PROC_NULL as a sender
Augustin Degomme [Thu, 3 May 2018 16:36:38 +0000 (18:36 +0200)]
fix bug on MPI_Recv when MPI_IGNORE_STATUS is used with MPI_PROC_NULL as a sender

18 months agoModernize simcall process_on_exit.
Arnaud Giersch [Thu, 3 May 2018 12:02:01 +0000 (14:02 +0200)]
Modernize simcall process_on_exit.

18 months agoModernize simcall process_killall.
Arnaud Giersch [Thu, 3 May 2018 09:02:49 +0000 (11:02 +0200)]
Modernize simcall process_killall.

18 months agoModernize simcall process_cleanup.
Arnaud Giersch [Wed, 2 May 2018 20:50:35 +0000 (22:50 +0200)]
Modernize simcall process_cleanup.

18 months agoKill unused simcall process_count.
Arnaud Giersch [Wed, 2 May 2018 20:46:38 +0000 (22:46 +0200)]
Kill unused simcall process_count.

18 months agoComplete search path for simcall_HANDLER_*.
Arnaud Giersch [Tue, 1 May 2018 20:44:01 +0000 (22:44 +0200)]
Complete search path for simcall_HANDLER_*.

18 months agoImprove formatting of simcalls.py's output..
Arnaud Giersch [Tue, 1 May 2018 12:23:39 +0000 (14:23 +0200)]
Improve formatting of simcalls.py's output..

18 months agoRemove unused forward declarations.
Arnaud Giersch [Tue, 1 May 2018 20:26:23 +0000 (22:26 +0200)]
Remove unused forward declarations.

18 months agoRemove obsolete FIXME.
Arnaud Giersch [Thu, 3 May 2018 12:44:03 +0000 (14:44 +0200)]
Remove obsolete FIXME.

18 months agoremove on_config_in_platform_done(): that's redundent
Martin Quinson [Wed, 2 May 2018 09:48:10 +0000 (11:48 +0200)]
remove on_config_in_platform_done(): that's redundent

18 months agotry to make Engine::on_config_in_platform_done() useless my better placing Engine...
Martin Quinson [Tue, 1 May 2018 10:22:59 +0000 (12:22 +0200)]
try to make Engine::on_config_in_platform_done() useless my better placing Engine::on_creation()

18 months agothis is a bool, say it. It's C++, dude
Frederic Suter [Mon, 30 Apr 2018 15:27:59 +0000 (17:27 +0200)]
this is a bool, say it. It's C++, dude

18 months agoObey! Move signal trigger at a better place
Frederic Suter [Mon, 30 Apr 2018 15:27:04 +0000 (17:27 +0200)]
Obey! Move signal trigger at a better place

18 months agorefactor
Frederic Suter [Mon, 30 Apr 2018 15:21:28 +0000 (17:21 +0200)]
refactor

18 months agoremove useless include
Frederic Suter [Mon, 30 Apr 2018 14:47:29 +0000 (16:47 +0200)]
remove useless include

18 months agoadd new signal trigerred when some config has been done in the XML
Frederic Suter [Mon, 30 Apr 2018 14:41:09 +0000 (16:41 +0200)]
add new signal trigerred when some config has been done in the XML

this allow us to start tracing if tracing:yes is in the XML and not on
command line

18 months agosnake_case Engine signals
Frederic Suter [Mon, 30 Apr 2018 14:25:06 +0000 (16:25 +0200)]
snake_case Engine signals

18 months agobetter use of signals for TRACE init/exit
Frederic Suter [Mon, 30 Apr 2018 14:17:16 +0000 (16:17 +0200)]
better use of signals for TRACE init/exit

18 months agoremove useless call to TRACE_end
Frederic Suter [Mon, 30 Apr 2018 13:16:14 +0000 (15:16 +0200)]
remove useless call to TRACE_end

18 months agoTODO--
Frederic Suter [Thu, 26 Apr 2018 12:59:16 +0000 (14:59 +0200)]
TODO--
(SO says it won't improve performance though)

18 months agoI see brain overload ...
Frederic Suter [Thu, 26 Apr 2018 12:35:13 +0000 (14:35 +0200)]
I see brain overload ...

18 months agoMissing include.
Arnaud Giersch [Thu, 26 Apr 2018 06:20:16 +0000 (08:20 +0200)]
Missing include.

18 months agoReplace deprecated method.
Arnaud Giersch [Thu, 26 Apr 2018 06:20:01 +0000 (08:20 +0200)]
Replace deprecated method.

18 months agoFix source path (untested).
Arnaud Giersch [Wed, 25 Apr 2018 21:44:18 +0000 (23:44 +0200)]
Fix source path (untested).

18 months agoMove samples in private (anonymous) namespace.
Arnaud Giersch [Thu, 26 Apr 2018 06:49:57 +0000 (08:49 +0200)]
Move samples in private (anonymous) namespace.

18 months agoFix more Doxygen warnings.
Arnaud Giersch [Wed, 25 Apr 2018 19:53:19 +0000 (21:53 +0200)]
Fix more Doxygen warnings.

18 months agoMake ActorImpl::userdata private.
Arnaud Giersch [Wed, 25 Apr 2018 20:02:12 +0000 (22:02 +0200)]
Make ActorImpl::userdata private.

18 months agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Wed, 25 Apr 2018 19:11:36 +0000 (21:11 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

18 months agoallow to have TI data for popEvent
Frederic Suter [Wed, 25 Apr 2018 15:23:19 +0000 (17:23 +0200)]
allow to have TI data for popEvent

18 months agomove this file out of src/surf
Frederic Suter [Wed, 25 Apr 2018 13:50:12 +0000 (15:50 +0200)]
move this file out of src/surf

18 months agoMerge branch 'master' of ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid
Arnaud Giersch [Wed, 25 Apr 2018 13:44:39 +0000 (15:44 +0200)]
Merge branch 'master' of ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid

18 months agoAvoid using a branching statement as the last in a loop (codacy).
Arnaud Giersch [Wed, 25 Apr 2018 13:38:47 +0000 (15:38 +0200)]
Avoid using a branching statement as the last in a loop (codacy).

18 months agouse signals a bit more to create tracing stuff
Frederic Suter [Wed, 25 Apr 2018 13:22:11 +0000 (15:22 +0200)]
use signals a bit more to create tracing stuff

18 months agoFlag is useless (always true).
Arnaud Giersch [Wed, 25 Apr 2018 09:12:56 +0000 (11:12 +0200)]
Flag is useless (always true).

18 months agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Wed, 25 Apr 2018 08:13:59 +0000 (10:13 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

18 months agosnake_case and cleanup some more methods of s4u::Engine
Martin Quinson [Wed, 25 Apr 2018 07:34:05 +0000 (09:34 +0200)]
snake_case and cleanup some more methods of s4u::Engine

18 months agoAvoid explicit call to close() on an auto-closeable resource.
Arnaud Giersch [Wed, 25 Apr 2018 08:01:12 +0000 (10:01 +0200)]
Avoid explicit call to close() on an auto-closeable resource.

18 months agoKill useless declaration.
Arnaud Giersch [Tue, 24 Apr 2018 13:11:19 +0000 (15:11 +0200)]
Kill useless declaration.

18 months agoKill useless array powers2 and simplify code.
Arnaud Giersch [Tue, 24 Apr 2018 12:41:19 +0000 (14:41 +0200)]
Kill useless array powers2 and simplify code.

18 months agoUse initialization list.
Arnaud Giersch [Tue, 24 Apr 2018 12:34:11 +0000 (14:34 +0200)]
Use initialization list.

18 months agoPut deprecated annotation at declaration.
Arnaud Giersch [Tue, 24 Apr 2018 12:29:16 +0000 (14:29 +0200)]
Put deprecated annotation at declaration.

18 months agoDon't loose first result for 'failed'.
Arnaud Giersch [Tue, 24 Apr 2018 11:51:38 +0000 (13:51 +0200)]
Don't loose first result for 'failed'.

18 months agojenkins: simplify logic for installation.
Arnaud Giersch [Tue, 24 Apr 2018 07:43:49 +0000 (09:43 +0200)]
jenkins: simplify logic for installation.

18 months agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 24 Apr 2018 18:41:40 +0000 (20:41 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

18 months agosimplication and uniformization
Frederic Suter [Tue, 24 Apr 2018 16:43:17 +0000 (18:43 +0200)]
simplication and uniformization

18 months agoconsistency in host/storage/netpoint registering
Martin Quinson [Tue, 24 Apr 2018 12:35:20 +0000 (14:35 +0200)]
consistency in host/storage/netpoint registering

18 months agofurther snake_case s4u::Engine
Martin Quinson [Tue, 24 Apr 2018 10:51:30 +0000 (12:51 +0200)]
further snake_case s4u::Engine

18 months agosimplify/extend setup of resource tracing
Frederic Suter [Tue, 24 Apr 2018 12:22:55 +0000 (14:22 +0200)]
simplify/extend setup of resource tracing

18 months agoadd missing include for accumulate
Frederic Suter [Tue, 24 Apr 2018 09:41:17 +0000 (11:41 +0200)]
add missing include for accumulate

18 months agoreduce brain overload (at least try)
Frederic Suter [Tue, 24 Apr 2018 09:00:01 +0000 (11:00 +0200)]
reduce brain overload (at least try)

18 months agojenkins: try to disable CMAKE_DISABLE_SOURCE_CHANGES=ON on CMake 3.11
Martin Quinson [Mon, 23 Apr 2018 21:29:06 +0000 (23:29 +0200)]
jenkins: try to disable CMAKE_DISABLE_SOURCE_CHANGES=ON on CMake 3.11

18 months agojenkins: save SIMGRID_VERSION as a variable, so that it's usable from every directories
Martin Quinson [Mon, 23 Apr 2018 20:28:14 +0000 (22:28 +0200)]
jenkins: save SIMGRID_VERSION as a variable, so that it's usable from every directories

18 months agojenkins: stop handling Windows builds differently
Martin Quinson [Mon, 23 Apr 2018 20:11:41 +0000 (22:11 +0200)]
jenkins: stop handling Windows builds differently

18 months agofurther snake_case s4u::Engine
Martin Quinson [Sun, 22 Apr 2018 20:51:40 +0000 (22:51 +0200)]
further snake_case s4u::Engine

18 months agorewrite the actor-create example
Martin Quinson [Sun, 22 Apr 2018 20:28:53 +0000 (22:28 +0200)]
rewrite the actor-create example