File: s4u-exec-ptask-multicore.tesh

package info (click to toggle)
simgrid 4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 38,980 kB
  • sloc: cpp: 123,583; ansic: 66,779; python: 8,358; java: 6,406; fortran: 6,079; f90: 5,123; xml: 4,587; sh: 2,337; perl: 1,436; makefile: 105; lisp: 49; javascript: 7; sed: 6
file content (21 lines) | stat: -rw-r--r-- 1,342 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env tesh

$ ${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"
> [  0.000000] Configuration change: Set 'host/model' to 'ptask_L07'
> [  0.000000] Switching to the L07 model to handle parallel tasks.
> [ 10.000000] Computed 2-core activity on two different hosts. Took 10 s
> [ 30.000000] Computed 2-core activity a 1-core host. Took 20 s
> [ 40.000000] Computed 2-core activity on a 4-core host. Took 10 s
> [ 55.000000] Computed 6-core activity on a 4-core host. Took 15 s
> [ 65.000000] Computed 2-core activity on a 4-core host with some communication. Took 10 s
> [ 65.000000] Switching machine multicore to pstate 1.
> [ 65.000000] Switching back to pstate 0.
> [ 75.000000] Computed 2-core activity on a 4-core host. Took 10 s
> [ 85.000000] Computed 2-core activity on two different hosts. Took 10 s
> [ 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.