Martin Quinson [Thu, 17 May 2018 19:30:15 +0000 (21:30 +0200)]
cleanups in Action::State
- Rename "ready" to "inited", for symmetry to s4u::Activity
- Remove the unused state "to_free"
- Rename the funky state "not_in_the_system" into "ignored", and
improve its documentation.
Further cleanups could include not having any action set beyond the
ones existing in kernel::resource::Model, so that
kernel::resource::Action::get_state() see them all.
CpuCas01 is the one heavily using ignored actions, as failure detectors.
Martin Quinson [Thu, 17 May 2018 12:43:57 +0000 (14:43 +0200)]
Reduce the foreign usages of s4u::Host::pimpl_cpu, which should be private
Martin Quinson [Thu, 17 May 2018 12:56:22 +0000 (14:56 +0200)]
inline SIMIX_host_off into s4u::Host->turnOff()
Frederic Suter [Wed, 16 May 2018 15:26:44 +0000 (17:26 +0200)]
kill a not so useful tracing option
Martin Quinson [Wed, 16 May 2018 15:07:48 +0000 (17:07 +0200)]
s4u::Host: move signals to the top and deprecated functions to the end
Frederic Suter [Wed, 16 May 2018 14:29:20 +0000 (16:29 +0200)]
this should allow the tracing of resource usage with this model
Frederic Suter [Wed, 16 May 2018 12:03:08 +0000 (14:03 +0200)]
no need to set tracing/buffer to its default value
Frederic Suter [Wed, 16 May 2018 11:39:10 +0000 (13:39 +0200)]
cosmetics
Frederic Suter [Wed, 16 May 2018 11:05:21 +0000 (13:05 +0200)]
output long descriptions on a single line
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
Frederic Suter [Wed, 16 May 2018 10:08:18 +0000 (12:08 +0200)]
start to simplify options descriptions in instr
Frederic Suter [Wed, 16 May 2018 07:14:11 +0000 (09:14 +0200)]
cosmetics
Martin Quinson [Wed, 16 May 2018 06:43:14 +0000 (08:43 +0200)]
snake_case s4u::Link
Martin Quinson [Tue, 15 May 2018 20:46:29 +0000 (22:46 +0200)]
snake_case s4u::Mailbox
Frederic Suter [Tue, 15 May 2018 08:45:58 +0000 (10:45 +0200)]
cleanups in Storage-related signals
Frederic Suter [Tue, 15 May 2018 07:30:24 +0000 (09:30 +0200)]
cosmetics
Martin Quinson [Tue, 15 May 2018 06:40:03 +0000 (08:40 +0200)]
add the badge to CII best practices
Martin Quinson [Mon, 14 May 2018 20:52:59 +0000 (22:52 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Frederic Suter [Mon, 14 May 2018 19:49:34 +0000 (21:49 +0200)]
fix callback (& not *)
Frederic Suter [Mon, 14 May 2018 19:19:07 +0000 (21:19 +0200)]
yet another callbacks
network_interface is TRACE-free \o/
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
Martin Quinson [Sun, 13 May 2018 20:10:04 +0000 (22:10 +0200)]
cleanups in the wannabe Activity::test()
Martin Quinson [Sat, 12 May 2018 21:44:45 +0000 (23:44 +0200)]
snake_case the s4u::Host signals
Arnaud Giersch [Sat, 12 May 2018 19:45:50 +0000 (21:45 +0200)]
Kill unused function simcall_call().
Arnaud Giersch [Sat, 12 May 2018 19:34:19 +0000 (21:34 +0200)]
Try again when wait returns 128.
Martin Quinson [Sat, 12 May 2018 00:48:13 +0000 (02:48 +0200)]
Missing copyright header
Martin Quinson [Sat, 12 May 2018 00:43:24 +0000 (02:43 +0200)]
rename simix::kernelImmediate into simix::simcall
Martin Quinson [Sat, 12 May 2018 00:24:49 +0000 (02:24 +0200)]
[smpi] kill an unused method
Martin Quinson [Sat, 12 May 2018 00:21:47 +0000 (02:21 +0200)]
[smpi] s4u processes are actors
Martin Quinson [Fri, 11 May 2018 23:38:23 +0000 (01:38 +0200)]
simplifications & cosmetics in CpuTi model
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
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
Martin Quinson [Fri, 11 May 2018 23:11:28 +0000 (01:11 +0200)]
rename some fields (change toto to toto_)
Martin Quinson [Fri, 11 May 2018 20:50:38 +0000 (22:50 +0200)]
cosmetics and reduce the amount of direct call to simcall_*
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)
Martin Quinson [Thu, 10 May 2018 10:22:05 +0000 (12:22 +0200)]
cosmetics: rename 2 fields
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
Martin Quinson [Thu, 10 May 2018 09:16:01 +0000 (11:16 +0200)]
factorize code between SIMIX_execution_start and SIMIX_execution_parallel_start
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)
Martin Quinson [Thu, 10 May 2018 08:07:30 +0000 (10:07 +0200)]
cosmetic in mutex
Martin Quinson [Thu, 10 May 2018 02:58:56 +0000 (04:58 +0200)]
snake_case kernel::activity::ExecImpl
Augustin Degomme [Fri, 11 May 2018 17:12:58 +0000 (19:12 +0200)]
rename SmpiHost file and class to blend in better
Frederic Suter [Fri, 11 May 2018 13:25:12 +0000 (15:25 +0200)]
snake_case in instr
Frederic Suter [Fri, 11 May 2018 11:41:46 +0000 (13:41 +0200)]
refactor with templated method
Frederic Suter [Fri, 11 May 2018 09:54:11 +0000 (11:54 +0200)]
move function to class
Frederic Suter [Fri, 11 May 2018 07:18:49 +0000 (09:18 +0200)]
fix tracing debug mode (and please sonar)
Arnaud Giersch [Fri, 11 May 2018 06:28:30 +0000 (08:28 +0200)]
Replace deprecated function.
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)
Martin Quinson [Wed, 9 May 2018 23:22:08 +0000 (01:22 +0200)]
snake_case (and document) s4u::Exec
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.
Martin Quinson [Wed, 9 May 2018 21:58:08 +0000 (23:58 +0200)]
finish snake_case s4u::Engine
Arnaud Giersch [Tue, 8 May 2018 19:40:18 +0000 (21:40 +0200)]
Typos.
Frederic Suter [Wed, 9 May 2018 14:40:29 +0000 (16:40 +0200)]
also use ofstream for tracing_files
Frederic Suter [Wed, 9 May 2018 13:56:55 +0000 (15:56 +0200)]
replace FILE* by ofstream for tracing_file
Frederic Suter [Wed, 9 May 2018 11:58:14 +0000 (13:58 +0200)]
refactor TRACE_start and TRACE_end
Frederic Suter [Wed, 9 May 2018 08:08:04 +0000 (10:08 +0200)]
MSG_VM => VM in instr
Frederic Suter [Wed, 9 May 2018 08:01:49 +0000 (10:01 +0200)]
use signals to instrument VMs
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
Martin Quinson [Tue, 8 May 2018 18:10:07 +0000 (20:10 +0200)]
'not' is not a C keyword (C++ only) -- bummer
Martin Quinson [Tue, 8 May 2018 17:51:26 +0000 (19:51 +0200)]
fix a FIXME
Martin Quinson [Tue, 8 May 2018 10:50:46 +0000 (12:50 +0200)]
cosmetics: use explicitly 'not' instead of a raw !
Martin Quinson [Fri, 4 May 2018 23:49:04 +0000 (01:49 +0200)]
capture in the doc a recent discussion on ML
Frederic Suter [Tue, 8 May 2018 16:38:17 +0000 (18:38 +0200)]
snake_casing file system plugin
Arnaud Giersch [Mon, 7 May 2018 20:06:42 +0000 (22:06 +0200)]
Remove useless check for null before free.
Arnaud Giersch [Mon, 7 May 2018 20:06:20 +0000 (22:06 +0200)]
Use xxx_is_empty().
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.
Arnaud Giersch [Mon, 7 May 2018 09:56:35 +0000 (11:56 +0200)]
surfExitCallbacks are gone.
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
Frederic Suter [Mon, 7 May 2018 08:05:03 +0000 (10:05 +0200)]
snake_casing the dirty page tracking plugin
Frederic Suter [Mon, 7 May 2018 07:24:30 +0000 (09:24 +0200)]
this parameter belongs to the plugin
Frederic Suter [Mon, 7 May 2018 07:16:38 +0000 (09:16 +0200)]
revalidate tesh
Frederic Suter [Mon, 7 May 2018 07:00:41 +0000 (09:00 +0200)]
cosmetics: remove double include and reorder
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
Frederic Suter [Mon, 7 May 2018 06:50:28 +0000 (08:50 +0200)]
cosmetics: reorder file to be consistent with others
Frederic Suter [Sun, 6 May 2018 17:57:23 +0000 (19:57 +0200)]
fix java and build
Frederic Suter [Sun, 6 May 2018 16:36:33 +0000 (18:36 +0200)]
did I say bummer?
Frederic Suter [Sun, 6 May 2018 14:25:50 +0000 (16:25 +0200)]
bummer
Frederic Suter [Sun, 6 May 2018 14:20:31 +0000 (16:20 +0200)]
more legacy MSG functions
Frederic Suter [Sat, 5 May 2018 14:20:36 +0000 (16:20 +0200)]
use signals and callbacks to trace actors
Augustin Degomme [Sat, 5 May 2018 08:17:16 +0000 (10:17 +0200)]
please sonar by removing redundant test
Arnaud Giersch [Fri, 4 May 2018 21:30:51 +0000 (23:30 +0200)]
Fix for s4u::ConditionVariable::wait_for, lost by previous commit.
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!
Arnaud Giersch [Fri, 4 May 2018 14:06:00 +0000 (16:06 +0200)]
Cosmetics: define function before use.
Arnaud Giersch [Fri, 4 May 2018 14:03:57 +0000 (16:03 +0200)]
Use kernelImmediate for simcall cond_init.
Frederic Suter [Fri, 4 May 2018 09:05:47 +0000 (11:05 +0200)]
msg_process_from_PID => sg_actor_by_PID
Arnaud Giersch [Thu, 3 May 2018 18:53:39 +0000 (20:53 +0200)]
Remove assert on hot path.
Arnaud Giersch [Thu, 3 May 2018 14:54:56 +0000 (16:54 +0200)]
Use kernelImmediate for simcalls execution_{,parallel_}start.
Arnaud Giersch [Thu, 3 May 2018 13:56:56 +0000 (15:56 +0200)]
Use kernelImmediate for simcall set_category.
Arnaud Giersch [Thu, 3 May 2018 13:45:01 +0000 (15:45 +0200)]
Use s4u.
Arnaud Giersch [Thu, 3 May 2018 13:35:33 +0000 (15:35 +0200)]
Explicitly capture the required variables (sonar).
Augustin Degomme [Thu, 3 May 2018 17:34:02 +0000 (19:34 +0200)]
protect MPI_Test, Iprobe and Probe the same way
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
Arnaud Giersch [Thu, 3 May 2018 12:02:01 +0000 (14:02 +0200)]
Modernize simcall process_on_exit.
Arnaud Giersch [Thu, 3 May 2018 09:02:49 +0000 (11:02 +0200)]
Modernize simcall process_killall.
Arnaud Giersch [Wed, 2 May 2018 20:50:35 +0000 (22:50 +0200)]
Modernize simcall process_cleanup.
Arnaud Giersch [Wed, 2 May 2018 20:46:38 +0000 (22:46 +0200)]
Kill unused simcall process_count.
Arnaud Giersch [Tue, 1 May 2018 20:44:01 +0000 (22:44 +0200)]
Complete search path for simcall_HANDLER_*.
Arnaud Giersch [Tue, 1 May 2018 12:23:39 +0000 (14:23 +0200)]
Improve formatting of simcalls.py's output..
Arnaud Giersch [Tue, 1 May 2018 20:26:23 +0000 (22:26 +0200)]
Remove unused forward declarations.
Arnaud Giersch [Thu, 3 May 2018 12:44:03 +0000 (14:44 +0200)]
Remove obsolete FIXME.