Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
5 years agoenum class values should be UPPER_CASE
Martin Quinson [Thu, 24 May 2018 23:59:06 +0000 (01:59 +0200)]
enum class values should be UPPER_CASE

5 years agomake all_existing_models visible from k:r:Model.hpp, which is public
Martin Quinson [Thu, 24 May 2018 23:51:55 +0000 (01:51 +0200)]
make all_existing_models visible from k:r:Model.hpp, which is public

5 years agotrivial snake_casing of xbt::PropertyHolder
Martin Quinson [Thu, 24 May 2018 06:58:52 +0000 (08:58 +0200)]
trivial snake_casing of xbt::PropertyHolder

No backward compat necessary as all subclasses are in the kernel (and
not exposed publicly yet)

5 years agofix NS3 builds
Martin Quinson [Wed, 23 May 2018 18:50:37 +0000 (20:50 +0200)]
fix NS3 builds

5 years agofix a gramatical error all over our variables
Martin Quinson [Wed, 23 May 2018 16:17:25 +0000 (18:17 +0200)]
fix a gramatical error all over our variables

5 years agosnake_case some easy parts of s4u::Host
Martin Quinson [Wed, 23 May 2018 16:04:28 +0000 (18:04 +0200)]
snake_case some easy parts of s4u::Host

This will make the interesting parts of the commit more readable.

5 years agotiny doc improvements
Martin Quinson [Tue, 22 May 2018 20:53:53 +0000 (22:53 +0200)]
tiny doc improvements

5 years agocleanings in k:r:Cpu
Martin Quinson [Tue, 22 May 2018 06:29:33 +0000 (08:29 +0200)]
cleanings in k:r:Cpu

5 years agoone more legacy MSG function
Frederic Suter [Tue, 22 May 2018 00:46:23 +0000 (02:46 +0200)]
one more legacy MSG function

5 years agosnake_case k:r:CpuModel and sub-classes
Martin Quinson [Mon, 21 May 2018 19:23:49 +0000 (21:23 +0200)]
snake_case k:r:CpuModel and sub-classes

5 years agomake 2 more fields of k:r:Cpu protected (should be private)
Martin Quinson [Mon, 21 May 2018 19:11:10 +0000 (21:11 +0200)]
make 2 more fields of k:r:Cpu protected (should be private)

5 years agomake k:r:Cpu::speed_per_pstate_ private as it should
Martin Quinson [Mon, 21 May 2018 19:04:55 +0000 (21:04 +0200)]
make k:r:Cpu::speed_per_pstate_ private as it should

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

5 years agoprivatize some fields of kernel::resource::Cpu
Martin Quinson [Sun, 20 May 2018 13:36:55 +0000 (15:36 +0200)]
privatize some fields of kernel::resource::Cpu

5 years agosnake_case some parts of kernel::resource::Cpu
Martin Quinson [Sun, 20 May 2018 13:21:44 +0000 (15:21 +0200)]
snake_case some parts of kernel::resource::Cpu

5 years agoplug another memleak by not mallocating in the first place
Martin Quinson [Sat, 19 May 2018 14:03:26 +0000 (16:03 +0200)]
plug another memleak by not mallocating in the first place

5 years agoremove last bits of tracing from cpu_interface \o/
Frederic Suter [Sat, 19 May 2018 12:17:13 +0000 (14:17 +0200)]
remove last bits of tracing from cpu_interface \o/

Appears to just produce useless entries (same begin/end time with no
actual resource usage change) in the trace.

5 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 18 May 2018 22:27:10 +0000 (00:27 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

5 years agosnake_case some methods in s4u::Host
Martin Quinson [Fri, 18 May 2018 22:03:48 +0000 (00:03 +0200)]
snake_case some methods in s4u::Host

5 years agoprocess->actor
Frederic Suter [Fri, 18 May 2018 12:16:45 +0000 (14:16 +0200)]
process->actor

5 years agounsecure commit
Frederic Suter [Fri, 18 May 2018 12:11:02 +0000 (14:11 +0200)]
unsecure commit

5 years agosonar: redundent forward declaration
Martin Quinson [Fri, 18 May 2018 08:09:49 +0000 (10:09 +0200)]
sonar: redundent forward declaration

5 years agoplug a memleak -- bummer
Martin Quinson [Fri, 18 May 2018 07:59:14 +0000 (09:59 +0200)]
plug a memleak -- bummer

5 years agomore signals and more lambdas
Frederic Suter [Fri, 18 May 2018 08:10:12 +0000 (10:10 +0200)]
more signals and more lambdas

actor sleep/wake up is now tracable in S4U

5 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 18 May 2018 07:21:02 +0000 (09:21 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

5 years agocleanup the resource::Action::State::IGNORED thing
Martin Quinson [Thu, 17 May 2018 20:43:44 +0000 (22:43 +0200)]
cleanup the resource::Action::State::IGNORED thing

Factorize stuff of CpuCas01Model and CpuTiModel into Model directly.
This way, Action::get_state() always knows in which set the action is.
No shit, no magic here.

5 years agoUPPER_CASE the Action::State values (+ uniformity with s4u::Activity)
Martin Quinson [Thu, 17 May 2018 20:26:52 +0000 (22:26 +0200)]
UPPER_CASE the Action::State values (+ uniformity with s4u::Activity)

5 years agochange macro names to avoid nameclashes on FINISHED
Martin Quinson [Thu, 17 May 2018 20:15:15 +0000 (22:15 +0200)]
change macro names to avoid nameclashes on FINISHED

5 years agodoc improvement
Martin Quinson [Thu, 17 May 2018 20:01:44 +0000 (22:01 +0200)]
doc improvement

5 years agoEnum values are in UPPER_SNAKE_CASE
Martin Quinson [Thu, 17 May 2018 19:54:16 +0000 (21:54 +0200)]
Enum values are in UPPER_SNAKE_CASE

5 years agocleanups in Action::State
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.

5 years agoReduce the foreign usages of s4u::Host::pimpl_cpu, which should be private
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

5 years agoinline SIMIX_host_off into s4u::Host->turnOff()
Martin Quinson [Thu, 17 May 2018 12:56:22 +0000 (14:56 +0200)]
inline SIMIX_host_off into s4u::Host->turnOff()

5 years agokill a couple more of the long descriptions in instr
Frederic Suter [Thu, 17 May 2018 10:39:28 +0000 (12:39 +0200)]
kill a couple more of the long descriptions in instr

5 years agokill a not so useful tracing option
Frederic Suter [Wed, 16 May 2018 15:26:44 +0000 (17:26 +0200)]
kill a not so useful tracing option

5 years agos4u::Host: move signals to the top and deprecated functions to the end
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

5 years agothis should allow the tracing of resource usage with this model
Frederic Suter [Wed, 16 May 2018 14:29:20 +0000 (16:29 +0200)]
this should allow the tracing of resource usage with this model

5 years agono need to set tracing/buffer to its default value
Frederic Suter [Wed, 16 May 2018 12:03:08 +0000 (14:03 +0200)]
no need to set tracing/buffer to its default value

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