X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3ad41a910feecc815ecd91d5cfceaa740068d7b4..a21c899e4be4bccd122de490e9aa3348e436b81f:/examples/s4u/io-async/s4u-io-async.tesh diff --git a/examples/s4u/io-async/s4u-io-async.tesh b/examples/s4u/io-async/s4u-io-async.tesh index 0ff50eb845..a1ca8d7618 100644 --- a/examples/s4u/io-async/s4u-io-async.tesh +++ b/examples/s4u/io-async/s4u-io-async.tesh @@ -2,8 +2,16 @@ $ ${bindir:=.}/s4u-io-async ${platfdir}/hosts_with_disks.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" > [ 0.000000] (1:test@bob) Hello! read 20000000 bytes from Disk1 -> [ 0.000000] (2:test_cancel@alice) Hello! write 50000000 bytes from Disk1 +> [ 0.000000] (2:test_waitfor@alice) Hello! write 50000000 bytes from Disk1 > [ 0.200000] (1:test@bob) Goodbye now! -> [ 0.500000] (2:test_cancel@alice) I changed my mind, cancel! -> [ 0.500000] (2:test_cancel@alice) Goodbye now! -> [ 0.500000] (0:maestro@) Simulation time 0.5 +> [ 0.500000] (2:test_waitfor@alice) Asynchronous write: Timeout! +> [ 0.500000] (2:test_waitfor@alice) Goodbye now! +> [ 0.500000] (3:test_cancel@alice) Hello! write 50000000 bytes from Disk1 +> [ 1.000000] (3:test_cancel@alice) I changed my mind, cancel! +> [ 1.000000] (3:test_cancel@alice) Goodbye now! +> [ 1.000000] (4:test_monitor@alice) Remaining amount of bytes to write: 5e+07 +> [ 1.200000] (4:test_monitor@alice) Remaining amount of bytes to write: 3.4e+07 +> [ 1.400000] (4:test_monitor@alice) Remaining amount of bytes to write: 1.8e+07 +> [ 1.600000] (4:test_monitor@alice) Remaining amount of bytes to write: 2e+06 +> [ 1.800000] (4:test_monitor@alice) Goodbye now! +> [ 1.800000] (0:maestro@) Simulation time 1.8