X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3dbd85b088e8b703aed28341f1e4fa455ba74f63..4f566b4572ad07940ea23d86d4af4abeaed7b4c7:/examples/s4u/io/s4u_io.cpp diff --git a/examples/s4u/io/s4u_io.cpp b/examples/s4u/io/s4u_io.cpp index d5c24cf5b2..7499e4d774 100644 --- a/examples/s4u/io/s4u_io.cpp +++ b/examples/s4u/io/s4u_io.cpp @@ -77,26 +77,6 @@ public: storage.setUserdata(xbt_strdup("Some user data")); XBT_INFO(" Set and get data: '%s'", (char*)storage.userdata()); - - /* - // Dump disks contents - XBT_INFO("*** Dump content of %s ***",Host::current()->name()); - xbt_dict_t contents = NULL; - contents = MSG_host_get_storage_content(MSG_host_self()); // contents is a dict of dicts - xbt_dict_cursor_t curs, curs2 = NULL; - char* mountname; - xbt_dict_t content; - char* path; - sg_size_t *size; - xbt_dict_foreach(contents, curs, mountname, content){ - XBT_INFO("Print the content of mount point: %s",mountname); - xbt_dict_foreach(content,curs2,path,size){ - XBT_INFO("%s size: %llu bytes", path,*((sg_size_t*)size)); - } - xbt_dict_free(&content); - } - xbt_dict_free(&contents); - */ } };