From: Frederic Suter Date: Thu, 12 Sep 2019 15:09:54 +0000 (+0200) Subject: please 32-bit X-Git-Tag: v3.24~90 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/bcc535c4ec070e4e7585736117c3115c54c11510 please 32-bit --- diff --git a/examples/s4u/io-file-remote/s4u-io-file-remote.cpp b/examples/s4u/io-file-remote/s4u-io-file-remote.cpp index d1dda9329a..b05b50145b 100644 --- a/examples/s4u/io-file-remote/s4u-io-file-remote.cpp +++ b/examples/s4u/io-file-remote/s4u-io-file-remote.cpp @@ -19,7 +19,7 @@ static int host(int argc, char* argv[]) file.dump(); XBT_INFO("Try to write %llu MiB to '%s'", file.size() / 1024, filename); sg_size_t write = file.write(file.size() * 1024); - XBT_INFO("Have written %llu bytes to '%s'.", write, filename); + XBT_INFO("Have written %llu MiB to '%s'.", write / (1024 * 1024), filename); if (std::stoi(argv[4]) != 0) { XBT_INFO("Move '%s' (of size %llu) from '%s' to '%s'", filename, file.size(), diff --git a/examples/s4u/io-file-remote/s4u-io-file-remote.tesh b/examples/s4u/io-file-remote/s4u-io-file-remote.tesh index 6f27f1c436..6fd81fa591 100644 --- a/examples/s4u/io-file-remote/s4u-io-file-remote.tesh +++ b/examples/s4u/io-file-remote/s4u-io-file-remote.tesh @@ -22,9 +22,9 @@ $ ${bindir:=.}/s4u-io-file-remote ${platfdir}/hosts_with_disks.xml s4u-io-file-r > Host Id: 'bob' > File Descriptor Id: 0 > [ 0.000000] (2@ bob) Try to write 16 MiB to '/scratch/doc/simgrid/examples/platforms/g5k.xml' -> [ 0.435917] (2@ bob) Have written 17436672 bytes to '/scratch/doc/simgrid/examples/platforms/g5k.xml'. +> [ 0.435917] (2@ bob) Have written 16 MiB to '/scratch/doc/simgrid/examples/platforms/g5k.xml'. > [ 0.435917] (2@ bob) Copy '/scratch/doc/simgrid/examples/platforms/g5k.xml' (of size 17436672) from 'bob' to 'alice' -> [162.912320] (1@alice) Have written 13015548928 bytes to '/lib/libsimgrid.so.3.6.2'. +> [162.912320] (1@alice) Have written 12412 MiB to '/lib/libsimgrid.so.3.6.2'. > [162.912320] (1@alice) Move '/lib/libsimgrid.so.3.6.2' (of size 13015548928) from 'alice' to 'bob' > [666.092709] (0@ ) End: 17/511982 MiB used/free on 'Disk1@alice' > [666.092709] (0@ ) End: 12452/499547 MiB used/free on 'Disk1@bob'