Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add an s to example name
authorSUTER Frederic <frederic.suter@cc.in2p3.fr>
Tue, 8 Mar 2022 14:42:51 +0000 (15:42 +0100)
committerSUTER Frederic <frederic.suter@cc.in2p3.fr>
Tue, 8 Mar 2022 14:43:00 +0000 (15:43 +0100)
ChangeLog
MANIFEST.in
examples/cpp/CMakeLists.txt
examples/cpp/exec-threads/s4u-exec-threads.cpp [moved from examples/cpp/exec-thread/s4u-exec-thread.cpp with 100% similarity]
examples/cpp/exec-threads/s4u-exec-threads.tesh [moved from examples/cpp/exec-thread/s4u-exec-thread.tesh with 79% similarity]

index 8656b62..bdc3888 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -24,7 +24,7 @@ S4U:
  - Introduce a new execution mode with this_actor::thread_execute(). This simulate 
    the execution of a certain amount of flops by multiple threads ran by a host. Each
    thread executes the same number of flops, given as argument. An example of this new
-   function can be found in examples/cpp/exec-thread.
+   function can be found in examples/cpp/exec-threads.
  - Reimplementation of barriers natively. 
    Previously, they were implemented on top of s4u::Mutex and s4u::ConditionVariable. 
    The new version should be faster (and can be used in the model-checker).
index cec3181..1fdf7f4 100644 (file)
@@ -275,8 +275,8 @@ include examples/cpp/exec-ptask/s4u-exec-ptask.cpp
 include examples/cpp/exec-ptask/s4u-exec-ptask.tesh
 include examples/cpp/exec-remote/s4u-exec-remote.cpp
 include examples/cpp/exec-remote/s4u-exec-remote.tesh
-include examples/cpp/exec-thread/s4u-exec-thread.cpp
-include examples/cpp/exec-thread/s4u-exec-thread.tesh
+include examples/cpp/exec-threads/s4u-exec-threads.cpp
+include examples/cpp/exec-threads/s4u-exec-threads.tesh
 include examples/cpp/exec-unassigned/s4u-exec-unassigned.cpp
 include examples/cpp/exec-unassigned/s4u-exec-unassigned.tesh
 include examples/cpp/exec-waitany/s4u-exec-waitany.cpp
index 8af7978..a51254c 100644 (file)
@@ -119,7 +119,7 @@ foreach (example activity-testany activity-waitany
                  energy-exec energy-boot energy-link energy-vm energy-exec-ptask energy-wifi
                  engine-filtering engine-run-partial
                  exec-async exec-basic exec-dvfs exec-remote exec-waitany exec-waitfor exec-dependent exec-unassigned
-                 exec-ptask-multicore exec-ptask-multicore-latency exec-cpu-nonlinear exec-cpu-factors exec-failure exec-thread
+                 exec-ptask-multicore exec-ptask-multicore-latency exec-cpu-nonlinear exec-cpu-factors exec-failure exec-threads
                  maestro-set
                  mc-bugged1 mc-bugged1-liveness mc-bugged2 mc-bugged2-liveness mc-centralized-mutex mc-electric-fence mc-failing-assert
                  network-ns3 network-ns3-wifi network-wifi
@@ -1,6 +1,6 @@
 #!/usr/bin/env tesh
 
-$ ${bindir:=.}/s4u-exec-thread ${platfdir}/energy_platform.xml "--log=root.fmt:[%10.6r]%e%m%n"
+$ ${bindir:=.}/s4u-exec-threads ${platfdir}/energy_platform.xml "--log=root.fmt:[%10.6r]%e%m%n"
 > [ 10.000000] Computed 2-thread activity on a 4-core host. Took 10 s
 > [ 20.000000] Computed 4-thread activity on a 4-core host. Took 10 s
 > [ 35.000000] Computed 6-thread activity on a 4-core host. Took 15 s