X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0bfafcab47ae9cd7856bd8d129404c33079d6afe..039807fd1fb02afb72365fe19a6ad620d1bbf4c7:/examples/cpp/exec-ptask/s4u-exec-ptask.tesh diff --git a/examples/cpp/exec-ptask/s4u-exec-ptask.tesh b/examples/cpp/exec-ptask/s4u-exec-ptask.tesh index b03213dfe9..606f3a2fe2 100644 --- a/examples/cpp/exec-ptask/s4u-exec-ptask.tesh +++ b/examples/cpp/exec-ptask/s4u-exec-ptask.tesh @@ -12,6 +12,10 @@ $ ${bindir:=.}/s4u-exec-ptask ${platfdir}/energy_platform.xml --cfg=host/model:p > [300.000000] (0:maestro@) UNCAT LINK [0.000000 - 300.000000] bus bandwidth_used 100000.000000 > [300.000000] (1:test@MyHost1) We can do the same with a timeout of 10 seconds enabled. > [310.000000] (1:test@MyHost1) Caught the expected timeout exception. +> [310.000000] (0:maestro@) UNCAT HOST [300.000000 - 310.000000] MyHost1 speed_used 3333333.333333 +> [310.000000] (0:maestro@) UNCAT HOST [300.000000 - 310.000000] MyHost2 speed_used 3333333.333333 +> [310.000000] (0:maestro@) UNCAT HOST [300.000000 - 310.000000] MyHost3 speed_used 3333333.333333 +> [310.000000] (0:maestro@) UNCAT LINK [300.000000 - 310.000000] bus bandwidth_used 100000.000000 > [310.000000] (1:test@MyHost1) Then, build a parallel activity involving only computations (of different amounts) and no communication > [320.000000] (0:maestro@) UNCAT HOST [310.000000 - 320.000000] MyHost1 speed_used 30000000.000000 > [320.000000] (0:maestro@) UNCAT HOST [310.000000 - 320.000000] MyHost2 speed_used 60000000.000000 @@ -46,3 +50,5 @@ $ ${bindir:=.}/s4u-exec-ptask ${platfdir}/energy_platform.xml --cfg=host/model:p > [375.500000] (0:maestro@) UNCAT LINK [360.500000 - 375.500000] bus bandwidth_used 100000.000000 > [375.500000] (1:test@MyHost1) Goodbye now! > [375.500000] (0:maestro@) Simulation done. + +$ rm -f ./simgrid.trace