Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
label doesn't match information
authorsuter <frederic.suter@cc.in2p3.fr>
Wed, 13 Nov 2013 13:12:55 +0000 (14:12 +0100)
committersuter <frederic.suter@cc.in2p3.fr>
Wed, 13 Nov 2013 13:12:55 +0000 (14:12 +0100)
examples/msg/io/storage.c
examples/msg/io/storage.tesh

index 36b4c73..3fa8fb6 100644 (file)
@@ -72,8 +72,8 @@ static int host(int argc, char *argv[]){
   MSG_file_dump(file);
 
   // check that sizes have changed
-  XBT_INFO("Total size: %"PRIu64" bytes", MSG_storage_get_free_size("/home"));
-  XBT_INFO("Free size: %"PRIu64" bytes", MSG_storage_get_used_size("/home"));
+  XBT_INFO("Free size: %"PRIu64" bytes", MSG_storage_get_free_size("/home"));
+  XBT_INFO("Used size: %"PRIu64" bytes", MSG_storage_get_used_size("/home"));
 
 
   // Now retrieve the size of created file and read it completely
index daf0650..deffa47 100644 (file)
@@ -18,8 +18,8 @@ $ ${bindir:=.}/io/storage ${srcdir:=.}/examples/platforms/storage.xml "--log=roo
 >              Storage Id: 'Disk4'
 >              Storage Type: 'single_SSD'
 >              Content Type: 'txt_unix'
-> [0.003333] (1@denise) Total size: 536857490006 bytes
-> [0.003333] (1@denise) Free size: 13421994 bytes
+> [0.003333] (1@denise) Free size: 536857490006 bytes
+> [0.003333] (1@denise) Used size: 13421994 bytes
 > [0.004583] (1@denise) Read 200000 bytes on ./tmp/data.txt
 > [0.007917] (1@denise) Write 100000 more bytes on ./tmp/data.txt
 > [0.007917] (1@denise) File Descriptor information: