Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] avoid comparing the tracing logs and the generated trace files
[simgrid.git] / examples / msg / tracing / ms.tesh
1 #! ./tesh
2
3 p Tracing master/slave application
4
5 $ $SG_TEST_EXENV ${bindir:=.}/tracing/ms$EXEEXT --cfg=tracing:1 --cfg=tracing/buffer:1 --cfg=tracing/buffer:1 --cfg=tracing/filename:tracing/ms.trace --cfg=tracing/categorized:1 --cfg=tracing/uncategorized:1 --cfg=triva/categorized:tracing/ms.cat.plist --cfg=triva/uncategorized:tracing/ms.uncat.plist ${srcdir:=.}/tracing/platform.xml ${srcdir:=.}/tracing/deployment.xml
6 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to '1'
7 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/buffer' to '1'
8 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/buffer' to '1'
9 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/filename' to 'tracing/ms.trace'
10 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/categorized' to '1'
11 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/uncategorized' to '1'
12 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'triva/categorized' to 'tracing/ms.cat.plist'
13 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'triva/uncategorized' to 'tracing/ms.uncat.plist'
14 > [0.000000] [instr_config/INFO] Tracing resource utilization active, network/optim configuration now set to Full.
15
16 $ $SG_TEST_EXENV cat tracing/ms.uncat.plist
17 > {
18 >   node = (LINK, HOST, );
19 >   edge = (HOST-LINK, LINK-HOST, LINK-LINK, );
20
21 >   host = {
22 >     type = square;
23 >     size = power;
24 >     values = (power_used);
25 >   };
26 >   link = {
27 >     type = rhombus;
28 >     size = bandwidth;
29 >     values = (bandwidth_used);
30 >   };
31 > }
32
33 $ $SG_TEST_EXENV cat tracing/ms.cat.plist
34 > {
35 >   node = (LINK, HOST, );
36 >   edge = (HOST-LINK, LINK-HOST, LINK-LINK, );
37
38 >   host = {
39 >     type = square;
40 >     size = power;
41 >     values = (prequest, pfinalize, preport, pcompute, );
42 >   };
43 >   link = {
44 >     type = rhombus;
45 >     size = bandwidth;
46 >     values = (brequest, bfinalize, breport, bcompute, );
47 >   };
48 > }
49
50 $ rm -rf tracing/ms.trace tracing/ms.cat.plist tracing/ms.uncat.plist