Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
c134cf88ae65c0d4d533a06d9801513e16e8fd05
[simgrid.git] / examples / cpp / exec-ptask-multicore / s4u-exec-ptask-multicore.tesh
1 #!/usr/bin/env tesh
2
3 $ ${bindir:=.}/s4u-exec-ptask-multicore ${platfdir}/energy_platform.xml --cfg=host/model:ptask_L07 --log=no_loc "--log=root.fmt:[%10.6r]%e%m%n"
4 > [  0.000000] Configuration change: Set 'host/model' to 'ptask_L07'
5 > [  0.000000] Switching to the L07 model to handle parallel tasks.
6 > [ 10.000000] Computed 2-core activity on two different hosts. Took 10 s
7 > [ 30.000000] Computed 2-core activity one 1-core host. Took 20 s
8 > [ 40.000000] Computed 2-core activity on one 2-core host. Took 10 s
9 > [ 55.000000] Computed 6-core activity of a 4-core host. Took 15 s
10 > [ 65.000000] Computed 2-core activity on a 4-core host with some communication. Took 10 s
11 > [ 65.000000] Switching machine multicore to pstate 1.
12 > [ 65.000000] Switching back to pstate 0.
13 > [ 75.000000] Computed 2-core activity on one 4-core host. Took 10 s
14 > [ 85.000000] Computed 2-core activity on two different hosts. Took 10 s
15 > [ 85.000000] Start a 1-core background task on the 4-core host.
16 > [ 95.000000] Computed 2-core activity on the 4-core host. Took 10 s
17 > [ 95.000000] Remaining amount of work for the background task: 80%
18 > [ 95.000000] Switching to pstate 1 while background task is still running.
19 > [115.000000] Computed again the same 2-core activity on it. Took 20 s
20 > [175.000000] The background task has ended.
21 > [175.000000] Simulation done.