3 p Simple tracing example
4 $ $SG_TEST_EXENV ${bindir:=.}/trace-simple$EXEEXT --cfg=tracing:yes --cfg=tracing/filename:trace_simple.trace --cfg=tracing/uncategorized:yes ${srcdir:=.}/small_platform.xml
5 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to 'yes'
6 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/filename' to 'trace_simple.trace'
7 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/uncategorized' to 'yes'
9 $ tail -n +3 trace_simple.trace
10 > %EventDef PajeDefineContainerType 0
15 > %EventDef PajeDefineVariableType 1
21 > %EventDef PajeDefineStateType 2
26 > %EventDef PajeDefineEventType 3
31 > %EventDef PajeDefineLinkType 4
34 > % StartContainerType string
35 > % EndContainerType string
38 > %EventDef PajeDefineEntityValue 5
44 > %EventDef PajeCreateContainer 6
51 > %EventDef PajeDestroyContainer 7
56 > %EventDef PajeSetVariable 8
62 > %EventDef PajeAddVariable 9
68 > %EventDef PajeSubVariable 10
74 > %EventDef PajeSetState 11
80 > %EventDef PajePushState 12
86 > %EventDef PajePopState 13
91 > %EventDef PajeResetState 14
96 > %EventDef PajeStartLink 15
101 > % StartContainer string
104 > %EventDef PajeEndLink 16
109 > % EndContainer string
112 > %EventDef PajeNewEvent 17
119 > 6 0 1 1 0 "Tremblay"
120 > 1 2 1 power "1 1 1"
121 > 1 3 1 power_used "0.5 0.5 0.5"
122 > 6 0 2 1 0 "Jupiter"
124 > 6 0 4 1 0 "Ginette"
125 > 6 0 5 1 0 "Bourassa"
128 > 1 5 4 bandwidth "1 1 1"
129 > 1 6 4 latency "1 1 1"
130 > 1 7 4 bandwidth_used "0.5 0.5 0.5"
140 > 6 0 16 4 0 "loopback"
141 > 4 8 0 4 4 0-LINK4-LINK4
142 > 4 9 0 1 4 0-HOST1-LINK4
143 > 4 10 0 4 1 0-LINK4-HOST1
144 > 8 0 2 1 98095000.000000
145 > 8 0 2 2 76296000.000000
146 > 8 0 2 3 76296000.000000
147 > 8 0 2 4 48492000.000000
148 > 8 0 2 5 48492000.000000
149 > 8 0 5 6 41279125.000000
151 > 8 0 5 7 34285625.000000
153 > 8 0 5 8 11618875.000000
155 > 8 0 5 9 7209750.000000
157 > 8 0 5 10 118682500.000000
159 > 8 0 5 11 8158000.000000
161 > 8 0 5 12 34285625.000000
163 > 8 0 5 13 10099625.000000
165 > 8 0 5 14 41279125.000000
167 > 8 0 5 15 27946250.000000
169 > 8 0 5 16 498000000.000000
171 > 15 0 8 0 topology 13 0
172 > 16 0 8 0 topology 7 0
173 > 15 0 8 0 topology 6 1
174 > 16 0 8 0 topology 8 1
175 > 15 0 9 0 topology 1 2
176 > 16 0 9 0 topology 13 2
177 > 15 0 9 0 topology 1 3
178 > 16 0 9 0 topology 9 3
179 > 15 0 10 0 topology 9 4
180 > 16 0 10 0 topology 2 4
181 > 15 0 8 0 topology 10 5
182 > 16 0 8 0 topology 14 5
183 > 15 0 8 0 topology 12 6
184 > 16 0 8 0 topology 11 6
185 > 15 0 8 0 topology 9 7
186 > 16 0 8 0 topology 13 7
187 > 15 0 10 0 topology 8 8
188 > 16 0 10 0 topology 5 8
189 > 15 0 8 0 topology 14 9
190 > 16 0 8 0 topology 12 9
191 > 15 0 10 0 topology 15 10
192 > 16 0 10 0 topology 4 10
193 > 15 0 8 0 topology 10 11
194 > 16 0 8 0 topology 15 11
195 > 15 0 8 0 topology 7 12
196 > 16 0 8 0 topology 15 12
197 > 15 0 10 0 topology 11 13
198 > 16 0 10 0 topology 3 13
199 > 15 0 8 0 topology 7 14
200 > 16 0 8 0 topology 10 14
201 > 15 0 8 0 topology 12 15
202 > 16 0 8 0 topology 6 15
203 > 15 0 8 0 topology 11 16
204 > 16 0 8 0 topology 6 16
206 > 9 0 3 1 98095000.000000
207 > 10 0 3 1 98095000.000000
209 > 9 0 3 3 76296000.000000
210 > 10 0 3 3 76296000.000000
211 > 9 0 3 1 98095000.000000
212 > 9 0 3 3 76296000.000000
213 > 10 0.000001 3 1 98095000.000000
214 > 10 0.000001 3 3 76296000.000000
232 $ rm -f trace_simple.trace