Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Small typos in comments
[simgrid.git] / teshsuite / s4u / trace-integration / trace-integration.tesh
1 #!/usr/bin/env tesh
2 p c=cycle s=step p=priority h=host
3
4 p Testing trace integration using trace_B.txt and test-hbp1-c0s0-c0s1.xml, test_trace:start == trace_cycle_0_step_0, test_trace:end < trace_cycle_0_step_1
5
6 ! output sort
7 $ ./trace-integration ${platfdir}/two_hosts_profiles.xml  ${srcdir:=.}/test-hbp1-c0s0-c0s1.xml --cfg=network/model:CM02 --cfg=cpu/optim:TI  "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
8 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'CM02'
9 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/optim' to 'TI'
10 > [  0.000000] (1:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
11 > [  0.000000] (1:test_trace@Cpu B) Task size: 40.000000
12 > [  0.000000] (1:test_trace@Cpu B) Task prio: 1.000000
13 > [  4.000000] (1:test_trace@Cpu B) Test finished
14
15 p Testing trace integration using trace_B.txt and test-hbp1-c0s1-c0s2.xml, test_trace:start == trace_cycle_0_step_1, test_trace:end < trace_cycle_0_step_2
16
17 ! output sort
18 $ ./trace-integration ${platfdir}/two_hosts_profiles.xml  ${srcdir:=.}/test-hbp1-c0s1-c0s2.xml --cfg=network/model:CM02 --cfg=cpu/optim:TI  "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
19 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'CM02'
20 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/optim' to 'TI'
21 > [ 10.000000] (1:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
22 > [ 10.000000] (1:test_trace@Cpu B) Task size: 40.000000
23 > [ 10.000000] (1:test_trace@Cpu B) Task prio: 1.000000
24 > [ 15.000000] (1:test_trace@Cpu B) Test finished
25
26 p Testing trace integration using trace_B.txt and test-hbp1-c0s2-c1s0.xml, test_trace:start == trace_cycle_0_step_2, test_trace:end < trace_cycle_1_step_0
27
28 ! output sort
29 $ ./trace-integration ${platfdir}/two_hosts_profiles.xml  ${srcdir:=.}/test-hbp1-c0s2-c1s0.xml --cfg=network/model:CM02 --cfg=cpu/optim:TI  "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
30 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'CM02'
31 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/optim' to 'TI'
32 > [ 20.000000] (1:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
33 > [ 20.000000] (1:test_trace@Cpu B) Task size: 40.000000
34 > [ 20.000000] (1:test_trace@Cpu B) Task prio: 1.000000
35 > [ 30.000000] (1:test_trace@Cpu B) Test finished
36
37 p Testing trace integration using trace_B.txt and test-hbp1-c0s0-c1s0.xml, test_trace:start == trace_cycle_0_step_0, test_trace:end < trace_cycle_1_step_0
38
39 ! output sort
40 $ ./trace-integration ${platfdir}/two_hosts_profiles.xml  ${srcdir:=.}/test-hbp1-c0s0-c1s0.xml --cfg=network/model:CM02 --cfg=cpu/optim:TI  "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
41 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'CM02'
42 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/optim' to 'TI'
43 > [  0.000000] (1:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
44 > [  0.000000] (1:test_trace@Cpu B) Task size: 220.000000
45 > [  0.000000] (1:test_trace@Cpu B) Task prio: 1.000000
46 > [ 30.000000] (1:test_trace@Cpu B) Test finished
47
48 p Testing trace integration using trace_B.txt and test-hbp1-c0s2-c1s1.xml, test_trace:start == trace_cycle_0_step_2, test_trace:end < trace_cycle_1_step_1
49
50 ! output sort
51 $ ./trace-integration ${platfdir}/two_hosts_profiles.xml  ${srcdir:=.}/test-hbp1-c0s2-c1s1.xml --cfg=network/model:CM02 --cfg=cpu/optim:TI  "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
52 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'CM02'
53 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/optim' to 'TI'
54 > [ 20.000000] (1:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
55 > [ 20.000000] (1:test_trace@Cpu B) Task size: 140.000000
56 > [ 20.000000] (1:test_trace@Cpu B) Task prio: 1.000000
57 > [ 40.000000] (1:test_trace@Cpu B) Test finished
58
59 p Testing trace integration using trace_B.txt and test-hbp1-c0s1-c2s2.xml, test_trace:start == trace_cycle_0_step_1, test_trace:end < trace_cycle_2_step_2
60
61 ! output sort
62 $ ./trace-integration ${platfdir}/two_hosts_profiles.xml  ${srcdir:=.}/test-hbp1-c0s1-c2s2.xml --cfg=network/model:CM02 --cfg=cpu/optim:TI  "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
63 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'CM02'
64 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/optim' to 'TI'
65 > [ 10.000000] (1:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
66 > [ 10.000000] (1:test_trace@Cpu B) Task size: 260.000000
67 > [ 10.000000] (1:test_trace@Cpu B) Task prio: 1.000000
68 > [ 45.000000] (1:test_trace@Cpu B) Test finished
69
70 p Testing trace integration using trace_B.txt and test-hbp1-c1s1-c1s2.xml, test_trace:start == trace_cycle_1_step_1, test_trace:end < trace_cycle_1_step_2
71
72 ! output sort
73 $ ./trace-integration ${platfdir}/two_hosts_profiles.xml  ${srcdir:=.}/test-hbp1-c1s1-c1s2.xml --cfg=network/model:CM02 --cfg=cpu/optim:TI  "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
74 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'CM02'
75 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/optim' to 'TI'
76 > [ 40.000000] (1:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
77 > [ 40.000000] (1:test_trace@Cpu B) Task size: 40.000000
78 > [ 40.000000] (1:test_trace@Cpu B) Task prio: 1.000000
79 > [ 45.000000] (1:test_trace@Cpu B) Test finished
80
81 p Testing trace integration using trace_B.txt and test-hbp1-c1s1-c3s2.xml, test_trace:start == trace_cycle_1_step_1, test_trace:end < trace_cycle_3_step_2
82
83 ! output sort
84 $ ./trace-integration ${platfdir}/two_hosts_profiles.xml  ${srcdir:=.}/test-hbp1-c1s1-c3s2.xml --cfg=network/model:CM02 --cfg=cpu/optim:TI  "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
85 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'CM02'
86 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/optim' to 'TI'
87 > [ 40.000000] (1:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
88 > [ 40.000000] (1:test_trace@Cpu B) Task size: 260.000000
89 > [ 40.000000] (1:test_trace@Cpu B) Task prio: 1.000000
90 > [ 75.000000] (1:test_trace@Cpu B) Test finished
91
92 p Testing trace integration using trace_B.txt and test-hbp1.5-hbp1.5.xml, two process with same priority
93
94 ! output sort
95 $ ./trace-integration ${platfdir}/two_hosts_profiles.xml  ${srcdir:=.}/test-hbp1.5-hbp1.5.xml --cfg=network/model:CM02 --cfg=cpu/optim:TI  "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
96 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'CM02'
97 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/optim' to 'TI'
98 > [ 10.000000] (1:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
99 > [ 10.000000] (1:test_trace@Cpu B) Task size: 150.000000
100 > [ 10.000000] (1:test_trace@Cpu B) Task prio: 1.500000
101 > [ 20.000000] (2:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
102 > [ 20.000000] (2:test_trace@Cpu B) Task size: 70.000000
103 > [ 20.000000] (2:test_trace@Cpu B) Task prio: 1.500000
104 > [ 40.000000] (1:test_trace@Cpu B) Test finished
105 > [ 40.000000] (2:test_trace@Cpu B) Test finished
106
107 p Testing trace integration using trace_B.txt and test-hbp2.5-hbp1.5.xml, two process with different priority
108
109 ! output sort
110 $ ./trace-integration ${platfdir}/two_hosts_profiles.xml  ${srcdir:=.}/test-hbp2.5-hbp1.5.xml --cfg=network/model:CM02 --cfg=cpu/optim:TI  "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
111 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'CM02'
112 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/optim' to 'TI'
113 > [ 10.000000] (1:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
114 > [ 10.000000] (1:test_trace@Cpu B) Task size: 50.000000
115 > [ 10.000000] (1:test_trace@Cpu B) Task prio: 2.500000
116 > [ 10.500000] (2:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
117 > [ 10.500000] (2:test_trace@Cpu B) Task size: 70.000000
118 > [ 10.500000] (2:test_trace@Cpu B) Task prio: 1.500000
119 > [ 19.700000] (1:test_trace@Cpu B) Test finished
120 > [ 30.000000] (2:test_trace@Cpu B) Test finished
121
122 p Testing trace integration using trace_B.txt and test-hbp2.5-hbp1.5.xml, two process with different priority (included)
123
124 ! output sort
125 $ ./trace-integration ${platfdir}/two_hosts_platform_with_availability_included.xml  ${srcdir:=.}/test-hbp2.5-hbp1.5.xml --cfg=network/model:CM02 --cfg=cpu/optim:TI  "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
126 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'CM02'
127 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/optim' to 'TI'
128 > [ 10.000000] (1:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
129 > [ 10.000000] (1:test_trace@Cpu B) Task size: 50.000000
130 > [ 10.000000] (1:test_trace@Cpu B) Task prio: 2.500000
131 > [ 10.500000] (2:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
132 > [ 10.500000] (2:test_trace@Cpu B) Task size: 70.000000
133 > [ 10.500000] (2:test_trace@Cpu B) Task prio: 1.500000
134 > [ 19.700000] (1:test_trace@Cpu B) Test finished
135 > [ 30.000000] (2:test_trace@Cpu B) Test finished
136
137 p Testing trace integration using trace_B.txt and test-hbp1.0-hbp1.0-hbp1.0.xml, three process with same priority
138
139 ! output sort
140 $ ./trace-integration ${platfdir}/two_hosts_profiles.xml  ${srcdir:=.}/test-hbp1.0-hbp1.0-hbp1.0.xml --cfg=network/model:CM02 --cfg=cpu/optim:TI  "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
141 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'CM02'
142 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/optim' to 'TI'
143 > [  0.000000] (1:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
144 > [  0.000000] (1:test_trace@Cpu B) Task size: 170.000000
145 > [  0.000000] (1:test_trace@Cpu B) Task prio: 1.000000
146 > [  0.000000] (2:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
147 > [  0.000000] (2:test_trace@Cpu B) Task size: 170.000000
148 > [  0.000000] (2:test_trace@Cpu B) Task prio: 1.000000
149 > [ 30.000000] (3:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
150 > [ 30.000000] (3:test_trace@Cpu B) Task size: 100.000000
151 > [ 30.000000] (3:test_trace@Cpu B) Task prio: 1.000000
152 > [ 50.000000] (1:test_trace@Cpu B) Test finished
153 > [ 50.000000] (2:test_trace@Cpu B) Test finished
154 > [ 60.000000] (3:test_trace@Cpu B) Test finished
155
156 p Testing trace integration using trace_B.txt and test-hbp1.0-hbp3.0-hbp4.0.xml, three process with different priority
157
158 ! output sort
159 $ ./trace-integration ${platfdir}/two_hosts_profiles.xml  ${srcdir:=.}/test-hbp1.0-hbp3.0-hbp4.0.xml --cfg=network/model:CM02 --cfg=cpu/optim:TI  "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
160 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'CM02'
161 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/optim' to 'TI'
162 > [ 10.000000] (1:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
163 > [ 10.000000] (1:test_trace@Cpu B) Task size: 25.000000
164 > [ 10.000000] (1:test_trace@Cpu B) Task prio: 1.000000
165 > [ 10.500000] (2:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
166 > [ 10.500000] (2:test_trace@Cpu B) Task size: 75.000000
167 > [ 10.500000] (2:test_trace@Cpu B) Task prio: 3.000000
168 > [ 20.000000] (3:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
169 > [ 20.000000] (3:test_trace@Cpu B) Task size: 120.000000
170 > [ 20.000000] (3:test_trace@Cpu B) Task prio: 4.000000
171 > [ 24.000000] (1:test_trace@Cpu B) Test finished
172 > [ 30.400000] (2:test_trace@Cpu B) Test finished
173 > [ 40.000000] (3:test_trace@Cpu B) Test finished
174
175 p Testing trace integration using trace_B.txt and test-hbp1.0-hbp3.0-hbp4.0.xml, three process with different priority (included)
176
177 ! output sort
178 $ ./trace-integration ${platfdir}/two_hosts_platform_with_availability_included.xml  ${srcdir:=.}/test-hbp1.0-hbp3.0-hbp4.0.xml --cfg=network/model:CM02 --cfg=cpu/optim:TI  "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
179 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'CM02'
180 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/optim' to 'TI'
181 > [ 10.000000] (1:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
182 > [ 10.000000] (1:test_trace@Cpu B) Task size: 25.000000
183 > [ 10.000000] (1:test_trace@Cpu B) Task prio: 1.000000
184 > [ 10.500000] (2:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
185 > [ 10.500000] (2:test_trace@Cpu B) Task size: 75.000000
186 > [ 10.500000] (2:test_trace@Cpu B) Task prio: 3.000000
187 > [ 20.000000] (3:test_trace@Cpu B) Testing the trace integration cpu model: CpuTI
188 > [ 20.000000] (3:test_trace@Cpu B) Task size: 120.000000
189 > [ 20.000000] (3:test_trace@Cpu B) Task prio: 4.000000
190 > [ 24.000000] (1:test_trace@Cpu B) Test finished
191 > [ 30.400000] (2:test_trace@Cpu B) Test finished
192 > [ 40.000000] (3:test_trace@Cpu B) Test finished