Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
most dicts in instr were bare sets
[simgrid.git] / examples / msg / trace-masterworker / trace-masterworker.tesh
1 #! ./tesh
2
3 p Tracing master/worker application
4 $ $SG_TEST_EXENV ${bindir:=.}/trace-masterworker$EXEEXT --cfg=tracing:yes --cfg=tracing/buffer:yes --cfg=tracing/filename:trace-masterworker.trace --cfg=tracing/categorized:yes --cfg=tracing/uncategorized:yes --cfg=viva/categorized:trace-masterworker.cat.plist --cfg=viva/uncategorized:trace-masterworker.uncat.plist ${srcdir:=.}/small_platform.xml ${srcdir:=.}/../msg/app-masterworker/app-masterworker_d.xml
5 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to 'yes'
6 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/buffer' to 'yes'
7 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/filename' to 'trace-masterworker.trace'
8 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/categorized' to 'yes'
9 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/uncategorized' to 'yes'
10 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'viva/categorized' to 'trace-masterworker.cat.plist'
11 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'viva/uncategorized' to 'trace-masterworker.uncat.plist'
12 > [4.214821] [msg_trace_masterworker/INFO] Declared tracing categories:
13 > [4.214821] [msg_trace_masterworker/INFO] compute
14 > [4.214821] [msg_trace_masterworker/INFO] finalize
15 > [4.214821] [msg_trace_masterworker/INFO] report
16 > [4.214821] [msg_trace_masterworker/INFO] request
17 > [4.214821] [msg_trace_masterworker/INFO] Declared marks:
18 > [4.214821] [msg_trace_masterworker/INFO] msmark
19
20 p Tracing master/worker application with xml config
21 $ $SG_TEST_EXENV ${bindir:=.}/trace-masterworker$EXEEXT ${srcdir:=.}/config_tracing.xml ${srcdir:=.}/../msg/app-masterworker/app-masterworker_d.xml
22 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to 'yes'
23 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/buffer' to 'yes'
24 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/categorized' to 'yes'
25 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/filename' to 'trace-masterworker.trace'
26 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/uncategorized' to 'yes'
27 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'viva/categorized' to 'trace-masterworker.cat.plist'
28 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'viva/uncategorized' to 'trace-masterworker.uncat.plist'
29 > [4.214821] [msg_trace_masterworker/INFO] Declared tracing categories:
30 > [4.214821] [msg_trace_masterworker/INFO] compute
31 > [4.214821] [msg_trace_masterworker/INFO] finalize
32 > [4.214821] [msg_trace_masterworker/INFO] report
33 > [4.214821] [msg_trace_masterworker/INFO] request
34 > [4.214821] [msg_trace_masterworker/INFO] Declared marks:
35 > [4.214821] [msg_trace_masterworker/INFO] msmark
36
37 p Not tracing master/worker application
38 $ $SG_TEST_EXENV ${bindir:=.}/trace-masterworker$EXEEXT ${srcdir:=.}/small_platform.xml ${srcdir:=.}/../msg/app-masterworker/app-masterworker_d.xml
39
40 p Testing tracing by process
41 $ $SG_TEST_EXENV ${bindir:=.}/trace-masterworker$EXEEXT --cfg=tracing:yes --cfg=tracing/msg/process:yes --cfg=tracing/buffer:yes --cfg=tracing/filename:trace-masterworker.trace --cfg=tracing/categorized:yes --cfg=tracing/uncategorized:yes --cfg=viva/categorized:trace-masterworker.cat.plist --cfg=viva/uncategorized:trace-masterworker.uncat.plist ${srcdir:=.}/small_platform.xml ${srcdir:=.}/../msg/app-masterworker/app-masterworker_d.xml
42 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to 'yes'
43 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/msg/process' to 'yes'
44 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/buffer' to 'yes'
45 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/filename' to 'trace-masterworker.trace'
46 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/categorized' to 'yes'
47 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/uncategorized' to 'yes'
48 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'viva/categorized' to 'trace-masterworker.cat.plist'
49 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'viva/uncategorized' to 'trace-masterworker.uncat.plist'
50 > [4.214821] [msg_trace_masterworker/INFO] Declared tracing categories:
51 > [4.214821] [msg_trace_masterworker/INFO] compute
52 > [4.214821] [msg_trace_masterworker/INFO] finalize
53 > [4.214821] [msg_trace_masterworker/INFO] report
54 > [4.214821] [msg_trace_masterworker/INFO] request
55 > [4.214821] [msg_trace_masterworker/INFO] Declared marks:
56 > [4.214821] [msg_trace_masterworker/INFO] msmark
57
58 $ $SG_TEST_EXENV cat trace-masterworker.uncat.plist
59 >   node = ("LINK","HOST");
60 >   edge = ("0-LINK13-LINK13","0-LINK13-HOST1","0-HOST1-LINK13");
61 >
62 >   host = {
63 >     type = "square";
64 >     size = "power";
65 >     values = ("power_used");
66 >   };
67 >   link = {
68 >     type = "rhombus";
69 >     size = "bandwidth";
70 >     values = ("bandwidth_used");
71 >   };
72
73 $ $SG_TEST_EXENV cat trace-masterworker.cat.plist
74 >   node = ("LINK","HOST");
75 >   edge = ("0-LINK13-LINK13","0-LINK13-HOST1","0-HOST1-LINK13");
76 >
77 >   host = {
78 >     type = "square";
79 >     size = "power";
80 >     values = ("pcompute","pfinalize","preport","prequest");
81 >   };
82 >   link = {
83 >     type = "rhombus";
84 >     size = "bandwidth";
85 >     values = ("bcompute","bfinalize","breport","brequest");
86 >   };
87
88 $ rm -rf trace-masterworker.trace trace-masterworker.cat.plist trace-masterworker.uncat.plist