Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of github.com:simgrid/simgrid into s_type_cleanup
[simgrid.git] / examples / msg / trace-categories / trace-categories.tesh
1 #! ./tesh
2
3 p Tracing multiple categories master/worker application
4
5 $ $SG_TEST_EXENV ${bindir:=.}/trace-categories$EXEEXT --cfg=tracing:yes --cfg=tracing/buffer:yes --cfg=tracing/filename:categories.trace --cfg=tracing/categorized:yes --cfg=tracing/uncategorized:yes --cfg=viva/categorized:categories.cat.plist --cfg=viva/uncategorized:categories.uncat.plist ${srcdir:=.}/small_platform.xml ${srcdir:=.}/../msg/app-masterworker/app-masterworker_d.xml
6 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to 'yes'
7 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/buffer' to 'yes'
8 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/filename' to 'categories.trace'
9 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/categorized' to 'yes'
10 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/uncategorized' to 'yes'
11 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'viva/categorized' to 'categories.cat.plist'
12 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'viva/uncategorized' to 'categories.uncat.plist'
13
14 $ $SG_TEST_EXENV cat categories.cat.plist
15 >   node = ("LINK","HOST");
16 >   edge = ("0-LINK4-LINK4","0-LINK4-HOST1","0-HOST1-LINK4");
17 >
18 >   host = {
19 >     type = "square";
20 >     size = "power";
21 >     values = ("pcompute","pdata","pfinalize","prequest");
22 >   };
23 >   link = {
24 >     type = "rhombus";
25 >     size = "bandwidth";
26 >     values = ("bcompute","bdata","bfinalize","brequest");
27 >   };
28
29 $ $SG_TEST_EXENV cat categories.uncat.plist
30 >   node = ("LINK","HOST");
31 >   edge = ("0-LINK4-LINK4","0-LINK4-HOST1","0-HOST1-LINK4");
32 >
33 >   host = {
34 >     type = "square";
35 >     size = "power";
36 >     values = ("power_used");
37 >   };
38 >   link = {
39 >     type = "rhombus";
40 >     size = "bandwidth";
41 >     values = ("bandwidth_used");
42 >   };
43
44 $ rm -rf categories.trace categories.cat.plist categories.uncat.plist