From: Frederic Suter Date: Wed, 19 Feb 2020 12:19:49 +0000 (+0100) Subject: a couple more C examples X-Git-Tag: v3.26~942 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/f36ac042c3394375a24b20517a96cdf4885da31e a couple more C examples --- diff --git a/examples/README.rst b/examples/README.rst index 551ae7f195..9348665e59 100644 --- a/examples/README.rst +++ b/examples/README.rst @@ -419,6 +419,8 @@ write actions on the disk resources. .. example-tab:: examples/s4u/io-disk-raw/s4u-io-disk-raw.cpp + .. example-tab:: examples/c/io-disk-raw/io-disk-raw.c + .. example-tab:: examples/platforms/hosts_with_disks.xml This shows how to declare disks in XML. @@ -583,6 +585,8 @@ Energy Simulation .. example-tab:: examples/s4u/energy-exec/s4u-energy-exec.cpp + .. example-tab:: examples/c/energy-exec/energy-exec.c + - **Consumption due to the network:** This example shows how to retrieve and display the energy consumed by the network during communications. @@ -637,6 +641,8 @@ than the previous examples. .. example-tab:: examples/s4u/app-pingpong/s4u-app-pingpong.cpp + .. example-tab:: examples/c/app-pingpong/app-pingpong.c + - **Token ring:** Shows how to implement a classical communication pattern, where a token is exchanged along a ring to reach every participant. @@ -645,6 +651,8 @@ than the previous examples. .. example-tab:: examples/s4u/app-token-ring/s4u-app-token-ring.cpp + .. example-tab:: examples/c/app-token-ring/app-token-ring.c + - **Master Workers:** Another good old example, where one Master process has a bunch of task to dispatch to a set of several Worker processes.