A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kill the now useless type xbt::string
[simgrid.git]
/
examples
/
README.rst
diff --git
a/examples/README.rst
b/examples/README.rst
index
9fe8b5f
..
a03eb65
100644
(file)
--- a/
examples/README.rst
+++ b/
examples/README.rst
@@
-355,9
+355,9
@@
This example is very similar to the previous one, simply adding how to declare t
See also :cpp:func:`simgrid::s4u::Activity::wait_until()` and :cpp:func:`simgrid::s4u::Comm::wait_for()`.
See also :cpp:func:`simgrid::s4u::Activity::wait_until()` and :cpp:func:`simgrid::s4u::Comm::wait_for()`.
- .. example-tab:: examples/python/comm-wait
for/comm-waitfor
.py
+ .. example-tab:: examples/python/comm-wait
until/comm-waituntil
.py
- See also :py:func:`simgrid.Comm.wait_
for()` and :py:func:`simgrid.Comm.wait_any_for
()`
+ See also :py:func:`simgrid.Comm.wait_
until
()`
Suspending communications
^^^^^^^^^^^^^^^^^^^^^^^^^
Suspending communications
^^^^^^^^^^^^^^^^^^^^^^^^^
@@
-540,6
+540,10
@@
This allows simulating malleable tasks.
See also :cpp:func:`simgrid::s4u::this_actor::parallel_execute()`.
See also :cpp:func:`simgrid::s4u::this_actor::parallel_execute()`.
+ .. example-tab:: examples/python/exec-ptask/exec-ptask.py
+
+ See also :ref:`simgrid.this_actor.parallel_execute()`
+
DVFS and pstates
^^^^^^^^^^^^^^^^
DVFS and pstates
^^^^^^^^^^^^^^^^
@@
-666,6
+670,8
@@
Shows how to use :cpp:type:`simgrid::s4u::Semaphore` synchronization objects.
.. example-tab:: examples/cpp/synchro-semaphore/s4u-synchro-semaphore.cpp
.. example-tab:: examples/cpp/synchro-semaphore/s4u-synchro-semaphore.cpp
+ .. example-tab:: examples/python/synchro-semaphore/synchro-semaphore.py
+
.. example-tab:: examples/c/synchro-semaphore/synchro-semaphore.c
=============================
.. example-tab:: examples/c/synchro-semaphore/synchro-semaphore.c
=============================
@@
-737,6
+743,8
@@
failures in your code. See also :ref:`howto_churn`.
.. example-tab:: examples/c/platform-failures/platform-failures.c
.. example-tab:: examples/c/platform-failures/platform-failures.c
+ .. example-tab:: examples/python/platform-failures/platform-failures.py
+
.. group-tab:: XML
.. showfile:: examples/platforms/small_platform_failures.xml
.. group-tab:: XML
.. showfile:: examples/platforms/small_platform_failures.xml
@@
-965,7
+973,7
@@
Shows how to implement a classical communication pattern, where a token is excha
Master Workers
^^^^^^^^^^^^^^
Master Workers
^^^^^^^^^^^^^^
-Another good old example, where one Master acto
$ has a bunch of tasks to dispatch to a set of several Worker actors.
+Another good old example, where one Master acto
r has a bunch of tasks to dispatch to a set of several Worker actors.
This example is used in the :ref:`SimGrid tutorial <usecase_simalgo>`.
.. tabs::
This example is used in the :ref:`SimGrid tutorial <usecase_simalgo>`.
.. tabs::
@@
-989,6
+997,8
@@
This example is used in the :ref:`SimGrid tutorial <usecase_simalgo>`.
.. showfile:: examples/c/app-masterworker/app-masterworker.c
:language: cpp
.. showfile:: examples/c/app-masterworker/app-masterworker.c
:language: cpp
+ .. example-tab:: examples/python/app-masterworkers/app-masterworkers.py
+
Data diffusion
--------------
Data diffusion
--------------