Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add the tesh file with expected behavior of unit test for issue #95
authorMael Madon <mael.madon@irit.fr>
Fri, 17 Sep 2021 14:41:35 +0000 (16:41 +0200)
committerBruno Donassolo <bruno.donassolo@inria.fr>
Fri, 24 Dec 2021 18:45:30 +0000 (19:45 +0100)
examples/cpp/exec-ptask-multicore-latency/s4u-exec-ptask-multicore-latency.tesh
examples/cpp/exec-ptask-multicore/s4u-exec-ptask-multicore.tesh

index 6c28987..7d2c2e9 100644 (file)
@@ -6,9 +6,9 @@ $ ${bindir:=.}/s4u-exec-ptask-multicore-latency ${platfdir}/energy_cluster.xml -
 > [ 10.000000] Computed 2-core activity on two different hosts. Took 10 s
 > [ 20.000000] Computed 2-core activity on one 4-core host. Took 10 s
 > [ 35.000000] Computed 6-core activity on a 4-core host. Took 15 s
-> [ 40.000600] Computed 2-core activity on a 4-core host with some communication. Took 10.0006 s
-> [ 40.000600] Switching machine multicore to pstate 1.
-> [ 40.000600] Switching back to pstate 0.
-> [ 50.000600] Computed 2-core activity on one 4-core host. Took 10 s
-> [ 60.000600] Computed 2-core activity on two different hosts. Took 10 s
-> [ 60.000600] Simulation done.
\ No newline at end of file
+> [ 45.000600] Computed 2-core activity on a 4-core host with some communication. Took 10.0006 s
+> [ 45.000600] Switching machine multicore to pstate 1.
+> [ 45.000600] Switching back to pstate 0.
+> [ 55.000600] Computed 2-core activity on one 4-core host. Took 10 s
+> [ 65.000600] Computed 2-core activity on two different hosts. Took 10 s
+> [ 65.000600] Simulation done.
\ No newline at end of file
index 9d3172a..c134cf8 100644 (file)
@@ -12,5 +12,10 @@ $ ${bindir:=.}/s4u-exec-ptask-multicore ${platfdir}/energy_platform.xml --cfg=ho
 > [ 65.000000] Switching back to pstate 0.
 > [ 75.000000] Computed 2-core activity on one 4-core host. Took 10 s
 > [ 85.000000] Computed 2-core activity on two different hosts. Took 10 s
-> [ 85.000000] Simulation done.
-> [ 55.000000] Simulation done.
\ No newline at end of file
+> [ 85.000000] Start a 1-core background task on the 4-core host.
+> [ 95.000000] Computed 2-core activity on the 4-core host. Took 10 s
+> [ 95.000000] Remaining amount of work for the background task: 80%
+> [ 95.000000] Switching to pstate 1 while background task is still running.
+> [115.000000] Computed again the same 2-core activity on it. Took 20 s
+> [175.000000] The background task has ended.
+> [175.000000] Simulation done.
\ No newline at end of file