File: s4u-exec-dependent.tesh

package info (click to toggle)
simgrid 4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: 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 (15 lines) | stat: -rw-r--r-- 1,205 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env tesh

$ ${bindir:=.}/s4u-exec-dependent ${platfdir}/small_platform.xml --log=s4u_activity.t:verbose "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
> [  0.000000] (1:worker@Fafard) 'parent 1' is assigned to a resource and all dependencies are solved. Let's start
> [  0.000000] (1:worker@Fafard) 'parent 2' is assigned to a resource and all dependencies are solved. Let's start
> [  0.000000] (1:worker@Fafard) Activity 'child' vetoed. Dependencies: NOT solved; Ressources: NOT assigned
> [  2.000000] (1:worker@Fafard) Remove a dependency from 'parent 1' on 'child'
> [  2.000000] (1:worker@Fafard) Exec 'parent 1' is complete
> [  3.000000] (1:worker@Fafard) Remove a dependency from 'parent 2' on 'child'
> [  3.000000] (1:worker@Fafard) Activity 'child' vetoed. Dependencies: solved; Ressources: NOT assigned
> [  3.000000] (1:worker@Fafard) Activity child's dependencies are resolved. Let's assign it to Fafard.
> [  3.000000] (1:worker@Fafard) 'child' is assigned to a resource and all dependencies are solved. Let's start
> [  3.000000] (1:worker@Fafard) Exec 'parent 2' is complete
> [  4.000000] (1:worker@Fafard) Exec 'child' is complete
> [  4.000000] (0:maestro@) Simulation time 4