Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
3 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

3 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

3 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

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

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

3 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

3 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

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

3 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 !

3 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

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

3 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.

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

3 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.

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

3 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

3 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

3 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

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

3 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

3 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

3 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

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

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

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

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

3 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

3 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

3 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.

3 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!

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

3 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.

3 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

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

3 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.

3 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.

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

3 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).

3 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

3 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

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

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

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

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

3 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_*.

3 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..

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

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

3 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

3 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()

3 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

3 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

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

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

3 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

3 years 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'.

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

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

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

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

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

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

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

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

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

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

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

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

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

3 years agostart snake_casing s4u::Engine
Martin Quinson [Sat, 21 Apr 2018 21:03:32 +0000 (23:03 +0200)]
start snake_casing s4u::Engine

3 years agosmpicc: give -lm to all architectures, not only linux
Martin Quinson [Fri, 20 Apr 2018 05:39:02 +0000 (07:39 +0200)]
smpicc: give -lm to all architectures, not only linux

3 years agostart enforcing our new coding standards
Martin Quinson [Thu, 19 Apr 2018 19:43:38 +0000 (21:43 +0200)]
start enforcing our new coding standards

3 years agojenkins: make sure that we don't modify the source tree when doing out of tree builds
Martin Quinson [Thu, 19 Apr 2018 19:39:44 +0000 (21:39 +0200)]
jenkins: make sure that we don't modify the source tree when doing out of tree builds

3 years agoFix some doxygen warnings.
Arnaud Giersch [Mon, 23 Apr 2018 09:06:14 +0000 (11:06 +0200)]
Fix some doxygen warnings.

3 years agoFix doc generation in CMAKE_BINARY_DIR/doc.
Arnaud Giersch [Mon, 23 Apr 2018 07:31:37 +0000 (09:31 +0200)]
Fix doc generation in CMAKE_BINARY_DIR/doc.

It was broken by commit f0d94f03109c63408bfc4e94ca664c88deeddaaf.