Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
5 years agocosmetics
Frederic Suter [Wed, 16 May 2018 11:39:10 +0000 (13:39 +0200)]
cosmetics

5 years agooutput long descriptions on a single line
Frederic Suter [Wed, 16 May 2018 11:05:21 +0000 (13:05 +0200)]
output long descriptions on a single line

5 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Wed, 16 May 2018 10:08:39 +0000 (12:08 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

5 years agostart to simplify options descriptions in instr
Frederic Suter [Wed, 16 May 2018 10:08:18 +0000 (12:08 +0200)]
start to simplify options descriptions in instr

5 years agocosmetics
Frederic Suter [Wed, 16 May 2018 07:14:11 +0000 (09:14 +0200)]
cosmetics

5 years agosnake_case s4u::Link
Martin Quinson [Wed, 16 May 2018 06:43:14 +0000 (08:43 +0200)]
snake_case s4u::Link

5 years agosnake_case s4u::Mailbox
Martin Quinson [Tue, 15 May 2018 20:46:29 +0000 (22:46 +0200)]
snake_case s4u::Mailbox

5 years agocleanups in Storage-related signals
Frederic Suter [Tue, 15 May 2018 08:45:58 +0000 (10:45 +0200)]
cleanups in Storage-related signals

5 years agocosmetics
Frederic Suter [Tue, 15 May 2018 07:30:24 +0000 (09:30 +0200)]
cosmetics

5 years agoadd the badge to CII best practices
Martin Quinson [Tue, 15 May 2018 06:40:03 +0000 (08:40 +0200)]
add the badge to CII best practices

5 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Mon, 14 May 2018 20:52:59 +0000 (22:52 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

5 years agofix callback (& not *)
Frederic Suter [Mon, 14 May 2018 19:49:34 +0000 (21:49 +0200)]
fix callback (& not *)

5 years agoyet another callbacks
Frederic Suter [Mon, 14 May 2018 19:19:07 +0000 (21:19 +0200)]
yet another callbacks

network_interface is TRACE-free \o/

5 years agouse signal to trace link usage
Frederic Suter [Mon, 14 May 2018 18:23:51 +0000 (20:23 +0200)]
use signal to trace link usage

+ Still have to deal with NS3
+ trigger the signal only when the state changes

5 years agocleanups in the wannabe Activity::test()
Martin Quinson [Sun, 13 May 2018 20:10:04 +0000 (22:10 +0200)]
cleanups in the wannabe Activity::test()

5 years agosnake_case the s4u::Host signals
Martin Quinson [Sat, 12 May 2018 21:44:45 +0000 (23:44 +0200)]
snake_case the s4u::Host signals

5 years agoKill unused function simcall_call().
Arnaud Giersch [Sat, 12 May 2018 19:45:50 +0000 (21:45 +0200)]
Kill unused function simcall_call().

5 years agoTry again when wait returns 128.
Arnaud Giersch [Sat, 12 May 2018 19:34:19 +0000 (21:34 +0200)]
Try again when wait returns 128.

5 years agoMissing copyright header
Martin Quinson [Sat, 12 May 2018 00:48:13 +0000 (02:48 +0200)]
Missing copyright header

5 years agorename simix::kernelImmediate into simix::simcall
Martin Quinson [Sat, 12 May 2018 00:43:24 +0000 (02:43 +0200)]
rename simix::kernelImmediate into simix::simcall

5 years ago[smpi] kill an unused method
Martin Quinson [Sat, 12 May 2018 00:24:49 +0000 (02:24 +0200)]
[smpi] kill an unused method

5 years ago[smpi] s4u processes are actors
Martin Quinson [Sat, 12 May 2018 00:21:47 +0000 (02:21 +0200)]
[smpi] s4u processes are actors

5 years agosimplifications & cosmetics in CpuTi model
Martin Quinson [Fri, 11 May 2018 23:38:23 +0000 (01:38 +0200)]
simplifications & cosmetics in CpuTi model

5 years agodon't set a field to its default value from the constructor
Martin Quinson [Fri, 11 May 2018 23:24:18 +0000 (01:24 +0200)]
don't set a field to its default value from the constructor

5 years agocosmetics: snake_case some random local variables, fields and non-s4u methods
Martin Quinson [Fri, 11 May 2018 23:12:37 +0000 (01:12 +0200)]
cosmetics: snake_case some random local variables, fields and non-s4u methods

5 years agorename some fields (change toto to toto_)
Martin Quinson [Fri, 11 May 2018 23:11:28 +0000 (01:11 +0200)]
rename some fields (change toto to toto_)

5 years agocosmetics and reduce the amount of direct call to simcall_*
Martin Quinson [Fri, 11 May 2018 20:50:38 +0000 (22:50 +0200)]
cosmetics and reduce the amount of direct call to simcall_*

5 years agosnake_case the signals in s4u::Link (no way to make a deprecation warning)
Martin Quinson [Fri, 11 May 2018 20:19:04 +0000 (22:19 +0200)]
snake_case the signals in s4u::Link (no way to make a deprecation warning)

5 years agocosmetics: rename 2 fields
Martin Quinson [Thu, 10 May 2018 10:22:05 +0000 (12:22 +0200)]
cosmetics: rename 2 fields

5 years agoprivatize ExecImpl::timeoutDetector and partially ExecImpl::surfAction
Martin Quinson [Thu, 10 May 2018 09:45:49 +0000 (11:45 +0200)]
privatize ExecImpl::timeoutDetector and partially ExecImpl::surfAction

I fail to understand why a direct access to ExecImpl::surfAction is
mandatory

5 years agofactorize code between SIMIX_execution_start and SIMIX_execution_parallel_start
Martin Quinson [Thu, 10 May 2018 09:16:01 +0000 (11:16 +0200)]
factorize code between SIMIX_execution_start and SIMIX_execution_parallel_start

5 years agokill an unused method in HostImpl (that should be renamed StorageImpl or something)
Martin Quinson [Thu, 10 May 2018 08:15:57 +0000 (10:15 +0200)]
kill an unused method in HostImpl (that should be renamed StorageImpl or something)

5 years agocosmetic in mutex
Martin Quinson [Thu, 10 May 2018 08:07:30 +0000 (10:07 +0200)]
cosmetic in mutex

5 years agosnake_case kernel::activity::ExecImpl
Martin Quinson [Thu, 10 May 2018 02:58:56 +0000 (04:58 +0200)]
snake_case kernel::activity::ExecImpl

5 years agorename SmpiHost file and class to blend in better
Augustin Degomme [Fri, 11 May 2018 17:12:58 +0000 (19:12 +0200)]
rename SmpiHost file and class to blend in better

5 years agosnake_case in instr
Frederic Suter [Fri, 11 May 2018 13:25:12 +0000 (15:25 +0200)]
snake_case in instr

5 years agorefactor with templated method
Frederic Suter [Fri, 11 May 2018 11:41:46 +0000 (13:41 +0200)]
refactor with templated method

5 years agomove function to class
Frederic Suter [Fri, 11 May 2018 09:54:11 +0000 (11:54 +0200)]
move function to class

5 years agofix tracing debug mode (and please sonar)
Frederic Suter [Fri, 11 May 2018 07:18:49 +0000 (09:18 +0200)]
fix tracing debug mode (and please sonar)

5 years agoReplace deprecated function.
Arnaud Giersch [Fri, 11 May 2018 06:28:30 +0000 (08:28 +0200)]
Replace deprecated function.

5 years 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)

5 years 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

5 years 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.

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

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

5 years 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

5 years 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

5 years 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

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

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

5 years 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

5 years 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

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

5 years 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 !

5 years 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

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

5 years 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.

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

5 years 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.

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

5 years 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

5 years 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

5 years 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

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

5 years 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

5 years 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

5 years 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

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

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

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

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

5 years 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

5 years 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

5 years 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.

5 years 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!

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

5 years 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.

5 years 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

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

5 years 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.

5 years 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.

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

5 years 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).

5 years 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

5 years 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

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

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

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

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

5 years 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_*.

5 years 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..

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

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

5 years 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

5 years 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()

5 years 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

5 years 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

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

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

5 years 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