X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e0081919c5fd248de43f472de7d0ab111001e245..ab8d6bf77b9aa74785b486fd5704e7fc63f25d66:/examples/msg/tracing/ms.tesh diff --git a/examples/msg/tracing/ms.tesh b/examples/msg/tracing/ms.tesh index 212518cfdb..d99e42d6f1 100644 --- a/examples/msg/tracing/ms.tesh +++ b/examples/msg/tracing/ms.tesh @@ -1,8 +1,88 @@ #! ./tesh p Tracing master/slave application +$ $SG_TEST_EXENV ${bindir:=.}/tracing/ms$EXEEXT --cfg=tracing:yes --cfg=tracing/buffer:yes --cfg=tracing/filename:tracing/ms.trace --cfg=tracing/categorized:yes --cfg=tracing/uncategorized:yes --cfg=viva/categorized:tracing/ms.cat.plist --cfg=viva/uncategorized:tracing/ms.uncat.plist ${srcdir:=.}/../platforms/small_platform.xml ${srcdir:=.}/tracing/deployment.xml +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to 'yes' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/buffer' to 'yes' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/filename' to 'tracing/ms.trace' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/categorized' to 'yes' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/uncategorized' to 'yes' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'viva/categorized' to 'tracing/ms.cat.plist' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'viva/uncategorized' to 'tracing/ms.uncat.plist' +> [4.214821] [msg_test/INFO] Declared tracing categories: +> [4.214821] [msg_test/INFO] request +> [4.214821] [msg_test/INFO] finalize +> [4.214821] [msg_test/INFO] report +> [4.214821] [msg_test/INFO] compute +> [4.214821] [msg_test/INFO] Declared marks: +> [4.214821] [msg_test/INFO] msmark -$ $SG_TEST_EXENV tracing/ms$EXEEXT --cfg=tracing/filename:ms.trace --cfg=tracing/platform:1 ${srcdir:=.}/tracing/platform.xml ${srcdir:=.}/tracing/deployment.xml -> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/filename' to 'ms.trace' -> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/platform' to '1' -> [4.441598] [msg_test/INFO] Simulation time 4.4416 +p Tracing master/slave application with xml config +$ $SG_TEST_EXENV ${bindir:=.}/tracing/ms$EXEEXT ${srcdir:=.}/../platforms/config_tracing.xml ${srcdir:=.}/tracing/deployment.xml +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/uncategorized' to 'yes' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/buffer' to 'yes' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to 'yes' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'viva/categorized' to 'tracing/ms.cat.plist' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/filename' to 'tracing/ms.trace' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'viva/uncategorized' to 'tracing/ms.uncat.plist' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/categorized' to 'yes' +> [4.214821] [msg_test/INFO] Declared tracing categories: +> [4.214821] [msg_test/INFO] request +> [4.214821] [msg_test/INFO] finalize +> [4.214821] [msg_test/INFO] report +> [4.214821] [msg_test/INFO] compute +> [4.214821] [msg_test/INFO] Declared marks: +> [4.214821] [msg_test/INFO] msmark + +p Not tracing master/slave application +$ $SG_TEST_EXENV ${bindir:=.}/tracing/ms$EXEEXT ${srcdir:=.}/../platforms/small_platform.xml ${srcdir:=.}/tracing/deployment.xml + +p Testing tracing by process +$ $SG_TEST_EXENV ${bindir:=.}/tracing/ms$EXEEXT --cfg=tracing:yes --cfg=tracing/msg/process:yes --cfg=tracing/buffer:yes --cfg=tracing/filename:tracing/ms.trace --cfg=tracing/categorized:yes --cfg=tracing/uncategorized:yes --cfg=viva/categorized:tracing/ms.cat.plist --cfg=viva/uncategorized:tracing/ms.uncat.plist ${srcdir:=.}/../platforms/small_platform.xml ${srcdir:=.}/tracing/deployment.xml +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to 'yes' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/msg/process' to 'yes' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/buffer' to 'yes' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/filename' to 'tracing/ms.trace' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/categorized' to 'yes' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/uncategorized' to 'yes' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'viva/categorized' to 'tracing/ms.cat.plist' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'viva/uncategorized' to 'tracing/ms.uncat.plist' +> [4.214821] [msg_test/INFO] Declared tracing categories: +> [4.214821] [msg_test/INFO] request +> [4.214821] [msg_test/INFO] finalize +> [4.214821] [msg_test/INFO] report +> [4.214821] [msg_test/INFO] compute +> [4.214821] [msg_test/INFO] Declared marks: +> [4.214821] [msg_test/INFO] msmark + +$ $SG_TEST_EXENV cat tracing/ms.uncat.plist +> node = ("HOST","LINK"); +> edge = ("0-LINK13-LINK13","0-LINK13-HOST1","0-HOST1-LINK13"); +> +> host = { +> type = "square"; +> size = "power"; +> values = ("power_used"); +> }; +> link = { +> type = "rhombus"; +> size = "bandwidth"; +> values = ("bandwidth_used"); +> }; + +$ $SG_TEST_EXENV cat tracing/ms.cat.plist +> node = ("HOST","LINK"); +> edge = ("0-LINK13-LINK13","0-LINK13-HOST1","0-HOST1-LINK13"); +> +> host = { +> type = "square"; +> size = "power"; +> values = ("pcompute","preport","pfinalize","prequest"); +> }; +> link = { +> type = "rhombus"; +> size = "bandwidth"; +> values = ("bcompute","breport","bfinalize","brequest"); +> }; + +$ rm -rf tracing/ms.trace tracing/ms.cat.plist tracing/ms.uncat.plist