From: Pierre Veyre Date: Wed, 19 Mar 2014 14:51:35 +0000 (+0100) Subject: Modify MSG_file_open() implementation X-Git-Tag: v3_11~214 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/18ba8a3fabab08a493038a2e11e5df5b4b6de4f0 Modify MSG_file_open() implementation --- diff --git a/examples/msg/io/file.c b/examples/msg/io/file.c index c86a7d02b3..fdc8a30ad2 100644 --- a/examples/msg/io/file.c +++ b/examples/msg/io/file.c @@ -15,10 +15,10 @@ * - io/file.c Example with the disk resource */ -#define FILENAME1 "./doc/simgrid/examples/platforms/g5k.xml" -#define FILENAME2 ".\\Windows\\setupact.log" -#define FILENAME3 "./doc/simgrid/examples/platforms/g5k_cabinets.xml" -#define FILENAME4 "./doc/simgrid/examples/platforms/nancy.xml" +#define FILENAME1 "/home/doc/simgrid/examples/platforms/g5k.xml" +#define FILENAME2 "c:\\Windows\\setupact.log" +#define FILENAME3 "/home/doc/simgrid/examples/platforms/g5k_cabinets.xml" +#define FILENAME4 "/home/doc/simgrid/examples/platforms/nancy.xml" #include #include @@ -33,20 +33,17 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(io_file, int host(int argc, char *argv[]) { msg_file_t file = NULL; - char* mount = xbt_strdup("/home"); sg_size_t read,write; if(!strcmp(MSG_process_get_name(MSG_process_self()),"0")){ - file = MSG_file_open(mount,FILENAME1, NULL); + file = MSG_file_open(FILENAME1, NULL); MSG_file_dump(file); } else if(!strcmp(MSG_process_get_name(MSG_process_self()),"1")) { - free(mount); - mount = xbt_strdup("/windows"); - file = MSG_file_open(mount,FILENAME2, NULL); + file = MSG_file_open(FILENAME2, NULL); } else if(!strcmp(MSG_process_get_name(MSG_process_self()),"2")){ - file = MSG_file_open(mount,FILENAME3, NULL); + file = MSG_file_open(FILENAME3, NULL); } else if(!strcmp(MSG_process_get_name(MSG_process_self()),"3")) - file = MSG_file_open(mount,FILENAME4, NULL); + file = MSG_file_open(FILENAME4, NULL); else xbt_die("FILENAME NOT DEFINED %s",MSG_process_get_name(MSG_process_self())); const char* filename = MSG_file_get_name(file); @@ -65,7 +62,7 @@ int host(int argc, char *argv[]) XBT_INFO("\tClose file '%s'",filename); MSG_file_close(file); - free(mount); + return 0; } diff --git a/examples/msg/io/file_unlink.c b/examples/msg/io/file_unlink.c index 599caefe69..66db92728f 100644 --- a/examples/msg/io/file_unlink.c +++ b/examples/msg/io/file_unlink.c @@ -15,7 +15,7 @@ * - io/file.c Example with the disk resource */ -#define FILENAME1 "./doc/simgrid/examples/platforms/g5k.xml" +#define FILENAME1 "/home/doc/simgrid/examples/platforms/g5k.xml" #include #include @@ -30,12 +30,11 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(io_file, int host(int argc, char *argv[]) { msg_file_t file = NULL; - char* mount = xbt_strdup("/home"); sg_size_t write; // First open XBT_INFO("\tOpen file '%s'",FILENAME1); - file = MSG_file_open(mount,FILENAME1, NULL); + file = MSG_file_open(FILENAME1, NULL); // Unlink the file XBT_INFO("\tUnlink file '%s'",MSG_file_get_name(file)); @@ -43,7 +42,7 @@ int host(int argc, char *argv[]) // Re Open the file wich is in fact created XBT_INFO("\tOpen file '%s'",FILENAME1); - file = MSG_file_open(mount,FILENAME1, NULL); + file = MSG_file_open(FILENAME1, NULL); // Write into the new file write = MSG_file_write(file,100000); // Write for 100Ko @@ -53,36 +52,34 @@ int host(int argc, char *argv[]) XBT_INFO("\tClose file '%s'",MSG_file_get_name(file)); MSG_file_close(file); - xbt_dict_t dict_ls; - char* key; - surf_stat_t data = NULL; - xbt_dict_cursor_t cursor = NULL; - - dict_ls = MSG_file_ls(mount,"./"); - XBT_INFO(" ");XBT_INFO("ls ./"); - xbt_dict_foreach(dict_ls,cursor,key,data){ - if(data) XBT_INFO("FILE : %s",key); - else XBT_INFO("DIR : %s",key); - } - xbt_dict_free(&dict_ls); - - dict_ls = MSG_file_ls(mount,"./doc/simgrid/examples/platforms/"); - XBT_INFO(" ");XBT_INFO("ls ./doc/simgrid/examples/platforms/"); - xbt_dict_foreach(dict_ls,cursor,key,data){ - if(data) XBT_INFO("FILE : %s",key); - else XBT_INFO("DIR : %s",key); - } - xbt_dict_free(&dict_ls); - - dict_ls = MSG_file_ls(mount,"./doc/simgrid/examples/msg/"); - XBT_INFO(" ");XBT_INFO("ls ./doc/simgrid/examples/msg/"); - xbt_dict_foreach(dict_ls,cursor,key,data){ - if(data) XBT_INFO("FILE : %s",key); - else XBT_INFO("DIR : %s",key); - } - xbt_dict_free(&dict_ls); - - free(mount); +// xbt_dict_t dict_ls; +// char* key; +// surf_stat_t data = NULL; +// xbt_dict_cursor_t cursor = NULL; +// +// dict_ls = MSG_file_ls(mount,"./"); +// XBT_INFO(" ");XBT_INFO("ls ./"); +// xbt_dict_foreach(dict_ls,cursor,key,data){ +// if(data) XBT_INFO("FILE : %s",key); +// else XBT_INFO("DIR : %s",key); +// } +// xbt_dict_free(&dict_ls); +// +// dict_ls = MSG_file_ls(mount,"./doc/simgrid/examples/platforms/"); +// XBT_INFO(" ");XBT_INFO("ls ./doc/simgrid/examples/platforms/"); +// xbt_dict_foreach(dict_ls,cursor,key,data){ +// if(data) XBT_INFO("FILE : %s",key); +// else XBT_INFO("DIR : %s",key); +// } +// xbt_dict_free(&dict_ls); +// +// dict_ls = MSG_file_ls(mount,"./doc/simgrid/examples/msg/"); +// XBT_INFO(" ");XBT_INFO("ls ./doc/simgrid/examples/msg/"); +// xbt_dict_foreach(dict_ls,cursor,key,data){ +// if(data) XBT_INFO("FILE : %s",key); +// else XBT_INFO("DIR : %s",key); +// } +// xbt_dict_free(&dict_ls); return 0; } diff --git a/examples/msg/io/io.tesh b/examples/msg/io/io.tesh index e612c10a90..9013c6e5fa 100644 --- a/examples/msg/io/io.tesh +++ b/examples/msg/io/io.tesh @@ -2,56 +2,40 @@ $ ${bindir:=.}/io/file ${srcdir:=.}/examples/platforms/storage.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" > [ 0.000000] (0:@) Number of host '4' -> [ 0.000000] (2:1@alice) Open file '.\Windows\setupact.log' -> [ 0.000000] (3:2@carl) Open file './doc/simgrid/examples/platforms/g5k_cabinets.xml' -> [ 0.000000] (4:3@bob) Open file './doc/simgrid/examples/platforms/nancy.xml' +> [ 0.000000] (2:1@alice) Open file 'c:\Windows\setupact.log' +> [ 0.000000] (3:2@carl) Open file '/home/doc/simgrid/examples/platforms/g5k_cabinets.xml' +> [ 0.000000] (4:3@bob) Open file '/home/doc/simgrid/examples/platforms/nancy.xml' > [ 0.000000] (1:0@denise) File Descriptor information: -> Full name: './doc/simgrid/examples/platforms/g5k.xml' +> Full path: '/home/doc/simgrid/examples/platforms/g5k.xml' > Size: 17028 > Mount point: '/home' > Storage Id: 'Disk4' > Storage Type: 'single_SSD' > Content Type: 'txt_unix' -> [ 0.000000] (1:0@denise) Open file './doc/simgrid/examples/platforms/g5k.xml' -> [ 0.000040] (4:3@bob) Have read 4028 on ./doc/simgrid/examples/platforms/nancy.xml -> [ 0.000085] (1:0@denise) Have read 17028 on ./doc/simgrid/examples/platforms/g5k.xml -> [ 0.000226] (3:2@carl) Have read 22645 on ./doc/simgrid/examples/platforms/g5k_cabinets.xml -> [ 0.000508] (2:1@alice) Have read 101663 on .\Windows\setupact.log -> [ 0.001752] (1:0@denise) Have written 100000 on ./doc/simgrid/examples/platforms/g5k.xml -> [ 0.002175] (2:1@alice) Have written 100000 on .\Windows\setupact.log -> [ 0.002439] (1:0@denise) Have read 110000 on ./doc/simgrid/examples/platforms/g5k.xml (of size 117026) -> [ 0.002439] (1:0@denise) Close file './doc/simgrid/examples/platforms/g5k.xml' -> [ 0.002862] (2:1@alice) Have read 110000 on .\Windows\setupact.log (of size 201662) -> [ 0.002862] (2:1@alice) Close file '.\Windows\setupact.log' -> [ 0.003374] (4:3@bob) Have written 100000 on ./doc/simgrid/examples/platforms/nancy.xml -> [ 0.003560] (3:2@carl) Have written 100000 on ./doc/simgrid/examples/platforms/g5k_cabinets.xml -> [ 0.004529] (4:3@bob) Have read 104023 on ./doc/simgrid/examples/platforms/nancy.xml (of size 104023) -> [ 0.004529] (4:3@bob) Close file './doc/simgrid/examples/platforms/nancy.xml' -> [ 0.004782] (3:2@carl) Have read 110000 on ./doc/simgrid/examples/platforms/g5k_cabinets.xml (of size 122641) -> [ 0.004782] (3:2@carl) Close file './doc/simgrid/examples/platforms/g5k_cabinets.xml' +> [ 0.000000] (1:0@denise) Open file '/home/doc/simgrid/examples/platforms/g5k.xml' +> [ 0.000040] (4:3@bob) Have read 4028 on /home/doc/simgrid/examples/platforms/nancy.xml +> [ 0.000085] (1:0@denise) Have read 17028 on /home/doc/simgrid/examples/platforms/g5k.xml +> [ 0.000226] (3:2@carl) Have read 22645 on /home/doc/simgrid/examples/platforms/g5k_cabinets.xml +> [ 0.000508] (2:1@alice) Have read 101663 on c:\Windows\setupact.log +> [ 0.001752] (1:0@denise) Have written 100000 on /home/doc/simgrid/examples/platforms/g5k.xml +> [ 0.002175] (2:1@alice) Have written 100000 on c:\Windows\setupact.log +> [ 0.002439] (1:0@denise) Have read 110000 on /home/doc/simgrid/examples/platforms/g5k.xml (of size 117026) +> [ 0.002439] (1:0@denise) Close file '/home/doc/simgrid/examples/platforms/g5k.xml' +> [ 0.002862] (2:1@alice) Have read 110000 on c:\Windows\setupact.log (of size 201662) +> [ 0.002862] (2:1@alice) Close file 'c:\Windows\setupact.log' +> [ 0.003374] (4:3@bob) Have written 100000 on /home/doc/simgrid/examples/platforms/nancy.xml +> [ 0.003560] (3:2@carl) Have written 100000 on /home/doc/simgrid/examples/platforms/g5k_cabinets.xml +> [ 0.004529] (4:3@bob) Have read 104023 on /home/doc/simgrid/examples/platforms/nancy.xml (of size 104023) +> [ 0.004529] (4:3@bob) Close file '/home/doc/simgrid/examples/platforms/nancy.xml' +> [ 0.004782] (3:2@carl) Have read 110000 on /home/doc/simgrid/examples/platforms/g5k_cabinets.xml (of size 122641) +> [ 0.004782] (3:2@carl) Close file '/home/doc/simgrid/examples/platforms/g5k_cabinets.xml' > [ 0.004782] (0:@) Simulation time 0.00478201 $ ${bindir:=.}/io/file_unlink ${srcdir:=.}/examples/platforms/storage.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" > [ 0.000000] (0:@) Number of host '4' -> [ 0.000000] (1:0@denise) Open file './doc/simgrid/examples/platforms/g5k.xml' -> [ 0.000000] (1:0@denise) Unlink file './doc/simgrid/examples/platforms/g5k.xml' -> [ 0.000000] (1:0@denise) Open file './doc/simgrid/examples/platforms/g5k.xml' -> [ 0.001667] (1:0@denise) Have written 100000 on ./doc/simgrid/examples/platforms/g5k.xml -> [ 0.001667] (1:0@denise) Close file './doc/simgrid/examples/platforms/g5k.xml' -> [ 0.001667] (1:0@denise) -> [ 0.001667] (1:0@denise) ls ./ -> [ 0.001667] (1:0@denise) DIR : include -> [ 0.001667] (1:0@denise) DIR : lib -> [ 0.001667] (1:0@denise) DIR : bin -> [ 0.001667] (1:0@denise) DIR : doc -> [ 0.001667] (1:0@denise) -> [ 0.001667] (1:0@denise) ls ./doc/simgrid/examples/platforms/ -> [ 0.001667] (1:0@denise) FILE : g5k.xml -> [ 0.001667] (1:0@denise) -> [ 0.001667] (1:0@denise) ls ./doc/simgrid/examples/msg/ -> [ 0.001667] (1:0@denise) DIR : alias -> [ 0.001667] (1:0@denise) DIR : trace -> [ 0.001667] (1:0@denise) FILE : README -> [ 0.001667] (1:0@denise) DIR : parallel_task -> [ 0.001667] (1:0@denise) DIR : icomms -> [ 0.001667] (0:@) Simulation time 0.00166667 \ No newline at end of file +> [ 0.000000] (1:0@denise) Open file '/home/doc/simgrid/examples/platforms/g5k.xml' +> [ 0.000000] (1:0@denise) Unlink file '/home/doc/simgrid/examples/platforms/g5k.xml' +> [ 0.000000] (1:0@denise) Open file '/home/doc/simgrid/examples/platforms/g5k.xml' +> [ 0.001667] (1:0@denise) Have written 100000 on /home/doc/simgrid/examples/platforms/g5k.xml +> [ 0.001667] (1:0@denise) Close file '/home/doc/simgrid/examples/platforms/g5k.xml' +> [ 0.001667] (0:@) Simulation time 0.00166667 diff --git a/examples/msg/io/storage.c b/examples/msg/io/storage.c index 9f2a266758..66a1fd4d9d 100644 --- a/examples/msg/io/storage.c +++ b/examples/msg/io/storage.c @@ -56,14 +56,12 @@ static int host(int argc, char *argv[]){ // Create a 200,000 bytes file named './tmp/data.txt' on /sd1 - - char* mount = xbt_strdup("/home"); - char* file_name = xbt_strdup("./tmp/data.txt"); + char* file_name = xbt_strdup("/home/tmp/data.txt"); msg_file_t file = NULL; sg_size_t write, read, file_size; // Open an non-existing file amounts to create it! - file = MSG_file_open(mount, file_name, NULL); + file = MSG_file_open(file_name, NULL); write = MSG_file_write(file, 200000); // Write 200,000 bytes XBT_INFO("Create a %llu bytes file named '%s' on /sd1", write, file_name); MSG_file_dump(file); @@ -84,15 +82,14 @@ static int host(int argc, char *argv[]){ MSG_file_dump(file); MSG_file_close(file); - free(mount); free(file_name); storage_name = xbt_strdup("Disk4"); storage = MSG_storage_get_by_name(storage_name); // Now rename file from ./tmp/data.txt to ./tmp/simgrid.readme - XBT_INFO("*** Renaming './tmp/data.txt' into './tmp/simgrid.readme'"); - MSG_storage_file_rename(storage, "./tmp/data.txt", "./tmp/simgrid.readme"); + XBT_INFO("*** Renaming '/tmp/data.txt' into '/tmp/simgrid.readme'"); + MSG_storage_file_rename(storage, "/tmp/data.txt", "/tmp/simgrid.readme"); // Now attach some user data to disk1 XBT_INFO("*** Get/set data for storage element: %s ***",storage_name); diff --git a/examples/msg/io/storage.tesh b/examples/msg/io/storage.tesh index 3cd10b53d9..5d5b935555 100644 --- a/examples/msg/io/storage.tesh +++ b/examples/msg/io/storage.tesh @@ -1,106 +1,107 @@ #! ./tesh -$ ${bindir:=.}/io/storage ${srcdir:=.}/examples/platforms/storage.xml "--log=root.fmt:[%8.6r]%e(%i@%h)%e%m%n" -> [0.000000] (1@denise) *** Storage info on denise *** -> [0.000000] (1@denise) Storage name: Disk4, mount name: /home -> [0.000000] (1@denise) Total size: 536870912000 bytes -> [0.000000] (1@denise) Free size: 536857690006 bytes -> [0.000000] (1@denise) Used size: 13221994 bytes -> [0.000000] (1@denise) Storage name: Disk2, mount name: /windows -> [0.000000] (1@denise) Total size: 536870912000 bytes -> [0.000000] (1@denise) Free size: 534479374867 bytes -> [0.000000] (1@denise) Used size: 2391537133 bytes -> [0.003333] (1@denise) Create a 200000 bytes file named './tmp/data.txt' on /sd1 -> [0.003333] (1@denise) File Descriptor information: -> Full name: './tmp/data.txt' -> Size: 200000 -> Mount point: '/home' -> Storage Id: 'Disk4' -> Storage Type: 'single_SSD' -> Content Type: 'txt_unix' -> [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 bytes on ./tmp/data.txt -> [0.007917] (1@denise) File Descriptor information: -> Full name: './tmp/data.txt' -> Size: 300000 -> Mount point: '/home' -> Storage Id: 'Disk4' -> Storage Type: 'single_SSD' -> Content Type: 'txt_unix' -> [0.007917] (1@denise) *** Renaming './tmp/data.txt' into './tmp/simgrid.readme' -> [0.007917] (1@denise) *** Get/set data for storage element: Disk4 *** -> [0.007917] (1@denise) Get data: '(null)' -> [0.007917] (1@denise) Set and get data: 'Some user data' -> [0.007917] (1@denise) *** Dump content of denise *** -> [0.007917] (1@denise) Print the content of mount point: /home -> [0.007917] (1@denise) ./doc/simgrid/examples/platforms/g5k.xml size: 17028 bytes -> [0.007917] (1@denise) ./include/surf/simgrid_dtd.h size: 23583 bytes -> [0.007917] (1@denise) ./bin/smpicc size: 918 bytes -> [0.007917] (1@denise) ./doc/simgrid/examples/smpi/mc_bugged2.c size: 1387 bytes -> [0.007917] (1@denise) ./include/simdag/simdag.h size: 10325 bytes -> [0.007917] (1@denise) ./doc/simgrid/examples/smpi/NAS/sys/README size: 1461 bytes -> [0.007917] (1@denise) ./tmp/simgrid.readme size: 300000 bytes -> [0.007917] (1@denise) ./doc/simgrid/examples/smpi/NAS/common/randdp.c size: 1441 bytes -> [0.007917] (1@denise) ./include/msg/datatypes.h size: 4635 bytes -> [0.007917] (1@denise) ./doc/simgrid/examples/smpi/NAS/EP/randlc.c size: 3300 bytes -> [0.007917] (1@denise) ./doc/simgrid/examples/msg/parallel_task/test_ptask_deployment.xml size: 654 bytes -> [0.007917] (1@denise) ./doc/simgrid/examples/msg/icomms/small_platform.xml size: 972 bytes -> [0.007917] (1@denise) ./doc/simgrid/examples/msg/trace/test9.xml size: 598 bytes -> [0.007917] (1@denise) ./include/simix/simix.h size: 13003 bytes -> [0.007917] (1@denise) ./include/mc/modelchecker.h size: 96 bytes -> [0.007917] (1@denise) ./doc/simgrid/examples/msg/README size: 4805 bytes -> [0.007917] (1@denise) ./doc/simgrid/examples/smpi/NAS/README size: 1857 bytes -> [0.007917] (1@denise) ./include/instr/instr.h size: 5750 bytes -> [0.007917] (1@denise) ./doc/simgrid/html/group__XBT__str.html size: 36192 bytes -> [0.007917] (1@denise) ./doc/simgrid/examples/smpi/NAS/EP/README size: 347 bytes -> [0.007917] (1@denise) ./bin/tesh size: 356434 bytes -> [0.007917] (1@denise) ./doc/simgrid/examples/smpi/NAS/DT/README size: 999 bytes -> [0.007917] (1@denise) ./doc/simgrid/examples/smpi/NAS/FT/README size: 276 bytes -> [0.007917] (1@denise) ./lib/libsimgrid.so.3.6.2 size: 12710497 bytes -> [0.007917] (1@denise) ./doc/simgrid/examples/xbt/sem_basic.c size: 1970 bytes -> [0.007917] (1@denise) ./doc/simgrid/examples/msg/alias/masterslave_forwarder_with_alias.c size: 6217 bytes -> [0.007917] (1@denise) ./doc/simgrid/examples/smpi/NAS/SP/README size: 926 bytes -> [0.007917] (1@denise) ./include/xbt/fifo.h size: 3626 bytes -> [0.007917] (1@denise) ./doc/simgrid/examples/smpi/NAS/MPI_dummy/README size: 2406 bytes -> [0.007917] (1@denise) ./doc/simgrid/examples/smpi/NAS/MG/README size: 5465 bytes -> [0.007917] (1@denise) ./include/smpi/mpif.h size: 4826 bytes -> [0.007917] (1@denise) Print the content of mount point: /windows -> [0.007917] (1@denise) .\Windows\dcmdev64.exe size: 93288 bytes -> [0.007917] (1@denise) .\Windows\WLXPGSS.SCR size: 322048 bytes -> [0.007917] (1@denise) .\Windows\twain_32.dll size: 50176 bytes -> [0.007917] (1@denise) .\Windows\bootstat.dat size: 67584 bytes -> [0.007917] (1@denise) .\Windows\avastSS.scr size: 41664 bytes -> [0.007917] (1@denise) .\Windows\font1.sii size: 4907 bytes -> [0.007917] (1@denise) .\Windows\write.exe size: 10752 bytes -> [0.007917] (1@denise) .\Windows\font2.sii size: 8698 bytes -> [0.007917] (1@denise) .\Windows\DtcInstall.log size: 1955 bytes -> [0.007917] (1@denise) .\Windows\vmgcoinstall.log size: 1585 bytes -> [0.007917] (1@denise) .\Windows\_isusr32.dll size: 180320 bytes -> [0.007917] (1@denise) .\Windows\winhlp32.exe size: 10752 bytes -> [0.007917] (1@denise) .\Windows\setuperr.log size: 0 bytes -> [0.007917] (1@denise) .\Windows\system.ini size: 219 bytes -> [0.007917] (1@denise) .\Windows\hapint.exe size: 382056 bytes -> [0.007917] (1@denise) .\Windows\Professional.xml size: 31881 bytes -> [0.007917] (1@denise) .\Windows\setupact.log size: 101663 bytes -> [0.007917] (1@denise) .\Windows\notepad.exe size: 243712 bytes -> [0.007917] (1@denise) .\Windows\explorer.exe size: 2380944 bytes -> [0.007917] (1@denise) .\Windows\bfsvc.exe size: 75264 bytes -> [0.007917] (1@denise) .\Windows\WMSysPr9.prx size: 316640 bytes -> [0.007917] (1@denise) .\Windows\PFRO.log size: 6770 bytes -> [0.007917] (1@denise) .\Windows\csup.txt size: 12 bytes -> [0.007917] (1@denise) .\Windows\win.ini size: 92 bytes -> [0.007917] (1@denise) .\Windows\mib.bin size: 43131 bytes -> [0.007917] (1@denise) .\Windows\Starter.xml size: 31537 bytes -> [0.007917] (1@denise) .\Windows\CoreSingleLanguage.xml size: 31497 bytes -> [0.007917] (1@denise) .\Windows\regedit.exe size: 159232 bytes -> [0.007917] (1@denise) .\Windows\dchcfg64.exe size: 335464 bytes -> [0.007917] (1@denise) .\Windows\HelpPane.exe size: 883712 bytes -> [0.007917] (1@denise) .\Windows\WindowsUpdate.log size: 1518934 bytes -> [0.007917] (1@denise) .\Windows\hh.exe size: 17408 bytes -> [0.007917] (1@denise) .\Windows\DPINST.LOG size: 18944 bytes -> [0.007917] (1@denise) .\Windows\DirectX.log size: 10486 bytes -> [0.007917] (1@denise) .\Windows\splwow64.exe size: 126464 bytes -> [0.007917] (1@denise) .\Windows\MEMORY.DMP size: 2384027342 bytes -> [0.007917] (0@) Simulated time: 0.00791667 +$ ${bindir:=.}/io/storage ${srcdir:=.}/examples/platforms/storage.xml "--log=root.fmt:> [%8.6r]%e(%i@%h)%e%m%n" +> [ 0.000000] (1:(null)@denise) *** Storage info on denise *** +> [ 0.000000] (1:(null)@denise) Storage name: Disk2, mount name: c: +> [ 0.000000] (1:(null)@denise) Total size: 536870912000 bytes +> [ 0.000000] (1:(null)@denise) Free size: 534479374867 bytes +> [ 0.000000] (1:(null)@denise) Used size: 2391537133 bytes +> [ 0.000000] (1:(null)@denise) Storage name: Disk4, mount name: /home +> [ 0.000000] (1:(null)@denise) Total size: 536870912000 bytes +> [ 0.000000] (1:(null)@denise) Free size: 536857690006 bytes +> [ 0.000000] (1:(null)@denise) Used size: 13221994 bytes +> [ 0.003333] (1:(null)@denise) Create a 200000 bytes file named '/home/tmp/data.txt' on /sd1 +> [ 0.003333] (1:(null)@denise) File Descriptor information: +> Full path: '/home/tmp/data.txt' +> Size: 200000 +> Mount point: '/home' +> Storage Id: 'Disk4' +> Storage Type: 'single_SSD' +> Content Type: 'txt_unix' +> [ 0.003333] (1:(null)@denise) Free size: 536857490006 bytes +> [ 0.003333] (1:(null)@denise) Used size: 13421994 bytes +> [ 0.004583] (1:(null)@denise) Read 200000 bytes on /home/tmp/data.txt +> [ 0.007917] (1:(null)@denise) Write 100000 bytes on /home/tmp/data.txt +> [ 0.007917] (1:(null)@denise) File Descriptor information: +> Full path: '/home/tmp/data.txt' +> Size: 300000 +> Mount point: '/home' +> Storage Id: 'Disk4' +> Storage Type: 'single_SSD' +> Content Type: 'txt_unix' +> [ 0.007917] (1:(null)@denise) *** Renaming '/tmp/data.txt' into '/tmp/simgrid.readme' +> [ 0.007917] (1:(null)@denise) *** Get/set data for storage element: Disk4 *** +> [ 0.007917] (1:(null)@denise) Get data: '(null)' +> [ 0.007917] (1:(null)@denise) Set and get data: 'Some user data' +> [ 0.007917] (1:(null)@denise) *** Dump content of denise *** +> [ 0.007917] (1:(null)@denise) Print the content of mount point: c: +> [ 0.007917] (1:(null)@denise) \Windows\win.ini size: 92 bytes +> [ 0.007917] (1:(null)@denise) \Windows\mib.bin size: 43131 bytes +> [ 0.007917] (1:(null)@denise) \Windows\DtcInstall.log size: 1955 bytes +> [ 0.007917] (1:(null)@denise) \Windows\vmgcoinstall.log size: 1585 bytes +> [ 0.007917] (1:(null)@denise) \Windows\Starter.xml size: 31537 bytes +> [ 0.007917] (1:(null)@denise) \Windows\_isusr32.dll size: 180320 bytes +> [ 0.007917] (1:(null)@denise) \Windows\winhlp32.exe size: 10752 bytes +> [ 0.007917] (1:(null)@denise) \Windows\setuperr.log size: 0 bytes +> [ 0.007917] (1:(null)@denise) \Windows\system.ini size: 219 bytes +> [ 0.007917] (1:(null)@denise) \Windows\hapint.exe size: 382056 bytes +> [ 0.007917] (1:(null)@denise) \Windows\Professional.xml size: 31881 bytes +> [ 0.007917] (1:(null)@denise) \Windows\regedit.exe size: 159232 bytes +> [ 0.007917] (1:(null)@denise) \Windows\setupact.log size: 101663 bytes +> [ 0.007917] (1:(null)@denise) \Windows\WindowsUpdate.log size: 1518934 bytes +> [ 0.007917] (1:(null)@denise) \Windows\explorer.exe size: 2380944 bytes +> [ 0.007917] (1:(null)@denise) \Windows\DirectX.log size: 10486 bytes +> [ 0.007917] (1:(null)@denise) \Windows\WMSysPr9.prx size: 316640 bytes +> [ 0.007917] (1:(null)@denise) \Windows\PFRO.log size: 6770 bytes +> [ 0.007917] (1:(null)@denise) \Windows\csup.txt size: 12 bytes +> [ 0.007917] (1:(null)@denise) \Windows\WLXPGSS.SCR size: 322048 bytes +> [ 0.007917] (1:(null)@denise) \Windows\avastSS.scr size: 41664 bytes +> [ 0.007917] (1:(null)@denise) \Windows\font1.sii size: 4907 bytes +> [ 0.007917] (1:(null)@denise) \Windows\write.exe size: 10752 bytes +> [ 0.007917] (1:(null)@denise) \Windows\font2.sii size: 8698 bytes +> [ 0.007917] (1:(null)@denise) \Windows\CoreSingleLanguage.xml size: 31497 bytes +> [ 0.007917] (1:(null)@denise) \Windows\dchcfg64.exe size: 335464 bytes +> [ 0.007917] (1:(null)@denise) \Windows\notepad.exe size: 243712 bytes +> [ 0.007917] (1:(null)@denise) \Windows\HelpPane.exe size: 883712 bytes +> [ 0.007917] (1:(null)@denise) \Windows\hh.exe size: 17408 bytes +> [ 0.007917] (1:(null)@denise) \Windows\DPINST.LOG size: 18944 bytes +> [ 0.007917] (1:(null)@denise) \Windows\bfsvc.exe size: 75264 bytes +> [ 0.007917] (1:(null)@denise) \Windows\splwow64.exe size: 126464 bytes +> [ 0.007917] (1:(null)@denise) \Windows\MEMORY.DMP size: 2384027342 bytes +> [ 0.007917] (1:(null)@denise) \Windows\dcmdev64.exe size: 93288 bytes +> [ 0.007917] (1:(null)@denise) \Windows\twain_32.dll size: 50176 bytes +> [ 0.007917] (1:(null)@denise) \Windows\bootstat.dat size: 67584 bytes +> [ 0.007917] (1:(null)@denise) Print the content of mount point: /home +> [ 0.007917] (1:(null)@denise) /include/simix/simix.h size: 13003 bytes +> [ 0.007917] (1:(null)@denise) /include/mc/modelchecker.h size: 96 bytes +> [ 0.007917] (1:(null)@denise) /doc/simgrid/examples/msg/README size: 4805 bytes +> [ 0.007917] (1:(null)@denise) /include/instr/instr.h size: 5750 bytes +> [ 0.007917] (1:(null)@denise) /doc/simgrid/examples/smpi/mc_bugged2.c size: 1387 bytes +> [ 0.007917] (1:(null)@denise) /doc/simgrid/html/group__XBT__str.html size: 36192 bytes +> [ 0.007917] (1:(null)@denise) /doc/simgrid/examples/smpi/NAS/EP/README size: 347 bytes +> [ 0.007917] (1:(null)@denise) /doc/simgrid/examples/smpi/NAS/DT/README size: 999 bytes +> [ 0.007917] (1:(null)@denise) /doc/simgrid/examples/smpi/NAS/FT/README size: 276 bytes +> [ 0.007917] (1:(null)@denise) /lib/libsimgrid.so.3.6.2 size: 12710497 bytes +> [ 0.007917] (1:(null)@denise) /doc/simgrid/examples/smpi/NAS/sys/README size: 1461 bytes +> [ 0.007917] (1:(null)@denise) /doc/simgrid/examples/msg/alias/masterslave_forwarder_with_alias.c size: 6217 bytes +> [ 0.007917] (1:(null)@denise) /doc/simgrid/examples/smpi/NAS/SP/README size: 926 bytes +> [ 0.007917] (1:(null)@denise) /tmp/simgrid.readme size: 300000 bytes +> [ 0.007917] (1:(null)@denise) /doc/simgrid/examples/msg/parallel_task/test_ptask_deployment.xml size: 654 bytes +> [ 0.007917] (1:(null)@denise) /doc/simgrid/examples/msg/icomms/small_platform.xml size: 972 bytes +> [ 0.007917] (1:(null)@denise) /doc/simgrid/examples/smpi/NAS/MG/README size: 5465 bytes +> [ 0.007917] (1:(null)@denise) /doc/simgrid/examples/msg/trace/test9.xml size: 598 bytes +> [ 0.007917] (1:(null)@denise) /include/smpi/mpif.h size: 4826 bytes +> [ 0.007917] (1:(null)@denise) /doc/simgrid/examples/smpi/NAS/README size: 1857 bytes +> [ 0.007917] (1:(null)@denise) /bin/tesh size: 356434 bytes +> [ 0.007917] (1:(null)@denise) /include/simdag/simdag.h size: 10325 bytes +> [ 0.007917] (1:(null)@denise) /doc/simgrid/examples/xbt/sem_basic.c size: 1970 bytes +> [ 0.007917] (1:(null)@denise) /include/xbt/fifo.h size: 3626 bytes +> [ 0.007917] (1:(null)@denise) /doc/simgrid/examples/smpi/NAS/common/randdp.c size: 1441 bytes +> [ 0.007917] (1:(null)@denise) /include/msg/datatypes.h size: 4635 bytes +> [ 0.007917] (1:(null)@denise) /doc/simgrid/examples/smpi/NAS/EP/randlc.c size: 3300 bytes +> [ 0.007917] (1:(null)@denise) /doc/simgrid/examples/smpi/NAS/MPI_dummy/README size: 2406 bytes +> [ 0.007917] (1:(null)@denise) /doc/simgrid/examples/platforms/g5k.xml size: 17028 bytes +> [ 0.007917] (1:(null)@denise) /include/surf/simgrid_dtd.h size: 23583 bytes +> [ 0.007917] (1:(null)@denise) /bin/smpicc size: 918 bytes +> [ 0.007917] (0:@) Simulated time: 0.00791667 + diff --git a/examples/platforms/content/small_content.txt b/examples/platforms/content/small_content.txt index 41bab56704..80d00dd8a6 100644 --- a/examples/platforms/content/small_content.txt +++ b/examples/platforms/content/small_content.txt @@ -1,30 +1,30 @@ -./doc/simgrid/examples/platforms/g5k.xml 17028 -./doc/simgrid/examples/smpi/mc_bugged2.c 1387 -./doc/simgrid/examples/smpi/NAS/README 1857 -./doc/simgrid/examples/smpi/NAS/MPI_dummy/README 2406 -./doc/simgrid/examples/smpi/NAS/common/randdp.c 1441 -./doc/simgrid/examples/smpi/NAS/sys/README 1461 -./doc/simgrid/examples/smpi/NAS/SP/README 926 -./doc/simgrid/examples/smpi/NAS/FT/README 276 -./doc/simgrid/examples/smpi/NAS/DT/README 999 -./doc/simgrid/examples/smpi/NAS/EP/README 347 -./doc/simgrid/examples/smpi/NAS/EP/randlc.c 3300 -./doc/simgrid/examples/smpi/NAS/MG/README 5465 -./doc/simgrid/examples/xbt/sem_basic.c 1970 -./doc/simgrid/examples/msg/README 4805 -./doc/simgrid/examples/msg/icomms/small_platform.xml 972 -./doc/simgrid/examples/msg/parallel_task/test_ptask_deployment.xml 654 -./doc/simgrid/examples/msg/alias/masterslave_forwarder_with_alias.c 6217 -./doc/simgrid/examples/msg/trace/test9.xml 598 -./doc/simgrid/html/group__XBT__str.html 36192 -./include/smpi/mpif.h 4826 -./include/xbt/fifo.h 3626 -./include/msg/datatypes.h 4635 -./include/mc/modelchecker.h 96 -./include/surf/simgrid_dtd.h 23583 -./include/instr/instr.h 5750 -./include/simdag/simdag.h 10325 -./include/simix/simix.h 13003 -./lib/libsimgrid.so.3.6.2 12710497 -./bin/smpicc 918 -./bin/tesh 356434 \ No newline at end of file +/doc/simgrid/examples/platforms/g5k.xml 17028 +/doc/simgrid/examples/smpi/mc_bugged2.c 1387 +/doc/simgrid/examples/smpi/NAS/README 1857 +/doc/simgrid/examples/smpi/NAS/MPI_dummy/README 2406 +/doc/simgrid/examples/smpi/NAS/common/randdp.c 1441 +/doc/simgrid/examples/smpi/NAS/sys/README 1461 +/doc/simgrid/examples/smpi/NAS/SP/README 926 +/doc/simgrid/examples/smpi/NAS/FT/README 276 +/doc/simgrid/examples/smpi/NAS/DT/README 999 +/doc/simgrid/examples/smpi/NAS/EP/README 347 +/doc/simgrid/examples/smpi/NAS/EP/randlc.c 3300 +/doc/simgrid/examples/smpi/NAS/MG/README 5465 +/doc/simgrid/examples/xbt/sem_basic.c 1970 +/doc/simgrid/examples/msg/README 4805 +/doc/simgrid/examples/msg/icomms/small_platform.xml 972 +/doc/simgrid/examples/msg/parallel_task/test_ptask_deployment.xml 654 +/doc/simgrid/examples/msg/alias/masterslave_forwarder_with_alias.c 6217 +/doc/simgrid/examples/msg/trace/test9.xml 598 +/doc/simgrid/html/group__XBT__str.html 36192 +/include/smpi/mpif.h 4826 +/include/xbt/fifo.h 3626 +/include/msg/datatypes.h 4635 +/include/mc/modelchecker.h 96 +/include/surf/simgrid_dtd.h 23583 +/include/instr/instr.h 5750 +/include/simdag/simdag.h 10325 +/include/simix/simix.h 13003 +/lib/libsimgrid.so.3.6.2 12710497 +/bin/smpicc 918 +/bin/tesh 356434 \ No newline at end of file diff --git a/examples/platforms/content/storage_content.txt b/examples/platforms/content/storage_content.txt index b115c53fe8..8e39931056 100644 --- a/examples/platforms/content/storage_content.txt +++ b/examples/platforms/content/storage_content.txt @@ -1,499 +1,499 @@ -./doc/simgrid/examples/cxx/autoDestination/FinalizeTask.cxx 71 -./doc/simgrid/examples/cxx/autoDestination/autoDestination_deployment.xml 1262 -./doc/simgrid/examples/cxx/autoDestination/Main.cxx 148 -./doc/simgrid/examples/cxx/autoDestination/Slave.cxx 870 -./doc/simgrid/examples/cxx/autoDestination/BasicTask.cxx 65 -./doc/simgrid/examples/cxx/autoDestination/Master.cxx 1891 -./doc/simgrid/examples/cxx/autoDestination/autoDestination_platform.xml 2133932 -./doc/simgrid/examples/cxx/autoDestination/Forwarder.cxx 1137 -./doc/simgrid/explicitDestination/FinalizeTask.cxx 71 -./doc/simgrid/examples/cxx/basic/Main.cxx 148 -./doc/simgrid/examples/cxx/basic/Slave.cxx 693 -./doc/simgrid/examples/cxx/basic/BasicTask.cxx 65 -./doc/simgrid/examples/cxx/basic/basic_platform.xml 2133932 -./doc/simgrid/examples/cxx/basic/Master.cxx 2148 -./doc/simgrid/examples/cxx/basic/basic_deployment.xml 1188 -./doc/simgrid/examples/cxx/basic/Forwarder.cxx 1244 -./doc/simgrid/examples/cxx/explicitDestination/FinalizeTask.cxx 71 -./doc/simgrid/examples/cxx/explicitDestination/Main.cxx 148 -./doc/simgrid/examples/cxx/explicitDestination/explicitDestination_platform.xml 2133932 -./doc/simgrid/examples/cxx/explicitDestination/Slave.cxx 913 -./doc/simgrid/examples/cxx/explicitDestination/BasicTask.cxx 65 -./doc/simgrid/examples/cxx/explicitDestination/explicitDestination_deployment.xml 1188 -./doc/simgrid/examples/cxx/explicitDestination/Master.cxx 1896 -./doc/simgrid/examples/cxx/explicitDestination/Forwarder.cxx 1181 -./doc/simgrid/examples/cxx/ping_pong/Main.cxx 149 -./doc/simgrid/examples/cxx/ping_pong/Sender.cxx 1073 -./doc/simgrid/examples/cxx/ping_pong/ping_pong_deployment.xml 275 -./doc/simgrid/examples/cxx/ping_pong/ping_pong_platform.xml 4718 -./doc/simgrid/examples/cxx/ping_pong/Receiver.cxx 957 -./doc/simgrid/examples/cxx/ping_pong/PingPongTask.cxx 71 -./doc/simgrid/examples/cxx/comm_time/FinalizeTask.cxx 71 -./doc/simgrid/examples/cxx/comm_time/Main.cxx 146 -./doc/simgrid/examples/cxx/comm_time/CommTimeTask.cxx 71 -./doc/simgrid/examples/cxx/comm_time/Slave.cxx 889 -./doc/simgrid/examples/cxx/comm_time/comm_time_platform.xml 2133932 -./doc/simgrid/examples/cxx/comm_time/Master.cxx 1730 -./doc/simgrid/examples/cxx/comm_time/comm_time_deployment.xml 1884 -./doc/simgrid/examples/cxx/suspend/Main.cxx 150 -./doc/simgrid/examples/cxx/suspend/suspend_platform.xml 2133932 -./doc/simgrid/examples/cxx/suspend/suspend_deployment.xml 187 -./doc/simgrid/examples/cxx/suspend/DreamMaster.cxx 826 -./doc/simgrid/examples/cxx/suspend/LazyGuy.cxx 429 -./doc/simgrid/examples/smpi/mc_bugged2.c 1387 -./doc/simgrid/examples/smpi/scatter.c 3496 -./doc/simgrid/examples/smpi/mc_bugged1.c 1411 -./doc/simgrid/examples/smpi/get_processor_name.c 649 -./doc/simgrid/examples/smpi/NAS/README 1857 -./doc/simgrid/examples/smpi/NAS/EP-sampling/README 347 -./doc/simgrid/examples/smpi/NAS/EP-sampling/randlc.c 3300 -./doc/simgrid/examples/smpi/NAS/EP-sampling/ep.c 13723 -./doc/simgrid/examples/smpi/NAS/EP-trace/README 347 -./doc/simgrid/examples/smpi/NAS/EP-trace/randlc.c 3300 -./doc/simgrid/examples/smpi/NAS/EP-trace/ep-trace.c 13850 -./doc/simgrid/examples/smpi/NAS/config/NAS.samples/README 394 -./doc/simgrid/examples/smpi/NAS/IS-trace/is-trace.c 38276 -./doc/simgrid/examples/smpi/NAS/DT-trace/README 999 -./doc/simgrid/examples/smpi/NAS/DT-trace/DGraph.c 5451 -./doc/simgrid/examples/smpi/NAS/DT-trace/dt.c 23031 -./doc/simgrid/examples/smpi/NAS/IS/is.c 38077 -./doc/simgrid/examples/smpi/NAS/MPI_dummy/README 2406 -./doc/simgrid/examples/smpi/NAS/MPI_dummy/mpi_dummy.c 5660 -./doc/simgrid/examples/smpi/NAS/MPI_dummy/wtime_sgi64.c 1700 -./doc/simgrid/examples/smpi/NAS/MPI_dummy/wtime.c 228 -./doc/simgrid/examples/smpi/NAS/common/randdp.c 1441 -./doc/simgrid/examples/smpi/NAS/common/c_timers.c 1159 -./doc/simgrid/examples/smpi/NAS/common/c_print_results.c 3086 -./doc/simgrid/examples/smpi/NAS/sys/README 1461 -./doc/simgrid/examples/smpi/NAS/sys/setparams.c 38805 -./doc/simgrid/examples/smpi/NAS/SP/README 926 -./doc/simgrid/examples/smpi/NAS/FT/README 276 -./doc/simgrid/examples/smpi/NAS/DT/README 999 -./doc/simgrid/examples/smpi/NAS/DT/DGraph.c 5451 -./doc/simgrid/examples/smpi/NAS/DT/dt.c 22620 -./doc/simgrid/examples/smpi/NAS/EP/README 347 -./doc/simgrid/examples/smpi/NAS/EP/randlc.c 3300 -./doc/simgrid/examples/smpi/NAS/EP/ep.c 13688 -./doc/simgrid/examples/smpi/NAS/DT-folding/README 999 -./doc/simgrid/examples/smpi/NAS/DT-folding/DGraph.c 5451 -./doc/simgrid/examples/smpi/NAS/DT-folding/dt.c 22704 -./doc/simgrid/examples/smpi/NAS/MG/README 5465 -./doc/simgrid/examples/smpi/bcast.c 983 -./doc/simgrid/examples/smpi/compute2.c 628 -./doc/simgrid/examples/smpi/sendrecv.c 1652 -./doc/simgrid/examples/smpi/allreduce.c 2135 -./doc/simgrid/examples/smpi/mvmul.c 7069 -./doc/simgrid/examples/smpi/alltoallv.c 4441 -./doc/simgrid/examples/smpi/smpi_traced.c 8529 -./doc/simgrid/examples/smpi/compute3.c 816 -./doc/simgrid/examples/smpi/reduce.c 3545 -./doc/simgrid/examples/smpi/bcbench.c 2466 -./doc/simgrid/examples/smpi/ttest01.c 1273 -./doc/simgrid/examples/smpi/compute.c 622 -./doc/simgrid/examples/smpi/barrier.c 766 -./doc/simgrid/examples/smpi/alltoall_basic.c 1453 -./doc/simgrid/examples/smpi/pingpong.c 2286 -./doc/simgrid/examples/smpi/alltoall2.c 2799 -./doc/simgrid/examples/smpi/split.c 705 -./doc/simgrid/examples/xbt/sem_basic.c 1970 -./doc/simgrid/examples/xbt/sem_sched.c 7207 -./doc/simgrid/examples/msg/small_platform.xml 4582 -./doc/simgrid/examples/msg/README 4805 -./doc/simgrid/examples/msg/properties/deployment_properties.xml 272 -./doc/simgrid/examples/msg/properties/msg_prop.c 3853 -./doc/simgrid/examples/msg/ns3/3links-p.xml 856 -./doc/simgrid/examples/msg/ns3/dogbone-d.xml 582 -./doc/simgrid/examples/msg/ns3/Two_clusters.xml 1817 -./doc/simgrid/examples/msg/ns3/3links-d.xml 927 -./doc/simgrid/examples/msg/ns3/3links-d-timer.xml 1280 -./doc/simgrid/examples/msg/ns3/ns3.c 5177 -./doc/simgrid/examples/msg/ns3/Two_clusters-d.xml 369 -./doc/simgrid/examples/msg/ns3/One_cluster-d.xml 367 -./doc/simgrid/examples/msg/ns3/dogbone-p.xml 1497 -./doc/simgrid/examples/msg/ns3/3hosts_2links_p.xml 566 -./doc/simgrid/examples/msg/ns3/3hosts_2links_d.xml 352 -./doc/simgrid/examples/msg/ns3/One_cluster.xml 658 -./doc/simgrid/examples/msg/migration/migration.c 2922 -./doc/simgrid/examples/msg/small_platform_with_failures.xml 4746 -./doc/simgrid/examples/msg/icomms/small_platform.xml 972 -./doc/simgrid/examples/msg/icomms/deployment_peer.xml 678 -./doc/simgrid/examples/msg/icomms/deployment_peer05.xml 891 -./doc/simgrid/examples/msg/icomms/deployment_peer02.xml 855 -./doc/simgrid/examples/msg/icomms/peer2.c 4276 -./doc/simgrid/examples/msg/icomms/deployment_peer03.xml 851 -./doc/simgrid/examples/msg/icomms/deployment_peer04.xml 852 -./doc/simgrid/examples/msg/icomms/peer.c 5102 -./doc/simgrid/examples/msg/icomms/deployment_peer01.xml 855 -./doc/simgrid/examples/msg/icomms/peer3.c 5258 -./doc/simgrid/examples/msg/parallel_task/test_ptask_deployment.xml 654 -./doc/simgrid/examples/msg/parallel_task/test_ptask.c 5423 -./doc/simgrid/examples/msg/parallel_task/test_ptask_platform.xml 2380 -./doc/simgrid/examples/msg/parallel_task/parallel_task.c 2708 -./doc/simgrid/examples/msg/alias/masterslave_forwarder_with_alias.c 6217 -./doc/simgrid/examples/msg/trace/test9.xml 598 -./doc/simgrid/examples/msg/trace/test3.xml 372 -./doc/simgrid/examples/msg/trace/test_trace_integration.xml 206 -./doc/simgrid/examples/msg/trace/test2.xml 370 -./doc/simgrid/examples/msg/trace/test7.xml 501 -./doc/simgrid/examples/msg/trace/test11.xml 683 -./doc/simgrid/examples/msg/trace/test4.xml 371 -./doc/simgrid/examples/msg/trace/test10.xml 598 -./doc/simgrid/examples/msg/trace/test6.xml 372 -./doc/simgrid/examples/msg/trace/test8.xml 498 -./doc/simgrid/examples/msg/trace/test5.xml 371 -./doc/simgrid/examples/msg/trace/test_trace_integration.c 1960 -./doc/simgrid/examples/msg/trace/test1.xml 366 -./doc/simgrid/examples/msg/parallel_contexts/pcontexts_platform.xml 1002 -./doc/simgrid/examples/msg/parallel_contexts/deployment_pcontexts2_4.xml 467 -./doc/simgrid/examples/msg/parallel_contexts/pcontexts2.c 2236 -./doc/simgrid/examples/msg/parallel_contexts/deployment_pcontexts_2.xml 242 -./doc/simgrid/examples/msg/parallel_contexts/deployment_pcontexts_4.xml 353 -./doc/simgrid/examples/msg/parallel_contexts/pcontexts.c 1752 -./doc/simgrid/examples/msg/tracing/deployment.xml 800 -./doc/simgrid/examples/msg/tracing/ms.c 4374 -./doc/simgrid/examples/msg/tracing/platform.xml 3930 -./doc/simgrid/examples/msg/tracing/tasks.c 3594 -./doc/simgrid/examples/msg/tracing/procmig-deploy.xml 223 -./doc/simgrid/examples/msg/tracing/procmig.c 3282 -./doc/simgrid/examples/msg/tracing/categories.c 3358 -./doc/simgrid/examples/msg/sendrecv/README 689 -./doc/simgrid/examples/msg/sendrecv/deployment_sendrecv.xml 321 -./doc/simgrid/examples/msg/sendrecv/sendrecv.c 5098 -./doc/simgrid/examples/msg/sendrecv/platform_sendrecv.xml 528 -./doc/simgrid/examples/msg/gtnets/onelink-p.xml 439 -./doc/simgrid/examples/msg/gtnets/fullduplex-p.xml 575 -./doc/simgrid/examples/msg/gtnets/dogbone-d.xml 576 -./doc/simgrid/examples/msg/gtnets/waxman-d.xml 46642 -./doc/simgrid/examples/msg/gtnets/waxman-p.xml 4964600 -./doc/simgrid/examples/msg/gtnets/fullduplex-d.xml 1029 -./doc/simgrid/examples/msg/gtnets/onelink-d.xml 356 -./doc/simgrid/examples/msg/gtnets/gtnets.c 6172 -./doc/simgrid/examples/msg/gtnets/dogbone-p.xml 1482 -./doc/simgrid/examples/msg/pmm/msg_pmm.c 9688 -./doc/simgrid/examples/msg/pmm/pmm_9_deploy.xml 786 -./doc/simgrid/examples/msg/mc/bugged1.c 1378 -./doc/simgrid/examples/msg/mc/deploy_bugged3.xml 377 -./doc/simgrid/examples/msg/mc/deploy_mutex.xml 925 -./doc/simgrid/examples/msg/mc/platform.xml 876 -./doc/simgrid/examples/msg/mc/deploy_bugged2.xml 377 -./doc/simgrid/examples/msg/mc/random_test.c 563 -./doc/simgrid/examples/msg/mc/deploy_bugged1.xml 459 -./doc/simgrid/examples/msg/mc/bugged3.c 1827 -./doc/simgrid/examples/msg/mc/deploy_random_test.xml 468 -./doc/simgrid/examples/msg/mc/bugged2.c 1957 -./doc/simgrid/examples/msg/mc/centralized_mutex.c 3375 -./doc/simgrid/examples/msg/token_ring/two_clusters.xml 1007 -./doc/simgrid/examples/msg/token_ring/ring_call.c 4205 -./doc/simgrid/examples/msg/token_ring/two_peers.xml 556 -./doc/simgrid/examples/msg/msg_platform.xml 2261806 -./doc/simgrid/examples/msg/priority/deployment_priority.xml 406 -./doc/simgrid/examples/msg/priority/priority.c 2394 -./doc/simgrid/examples/msg/actions/actions.c 19339 -./doc/simgrid/examples/msg/actions/deployment.xml 249 -./doc/simgrid/examples/msg/actions/NAS_LU_S_4/platform_flat.xml 6805 -./doc/simgrid/examples/msg/actions/NAS_LU_S_4/platform.xml 387 -./doc/simgrid/examples/msg/actions/NAS_LU_S_4/deploy_MPI_4.xml 605 -./doc/simgrid/examples/msg/actions/sim.0.bordereau.lu.b.8/toto.xml 1066 -./doc/simgrid/examples/msg/actions/sim.0.bordereau.lu.b.8/titi.xml 1066 -./doc/simgrid/examples/msg/actions/deployment_split.xml 525 -./doc/simgrid/examples/msg/actions/homogeneous_3_hosts.xml 906 -./doc/simgrid/examples/msg/actions/bcast_deployment.xml 224 -./doc/simgrid/examples/msg/actions/actions_deployment_split.xml 501 -./doc/simgrid/examples/msg/masterslave/masterslave_bypass.c 9082 -./doc/simgrid/examples/msg/masterslave/deployment_masterslave_mailbox.xml 990 -./doc/simgrid/examples/msg/masterslave/masterslave_cluster.c 6773 -./doc/simgrid/examples/msg/masterslave/masterslave_console.c 3952 -./doc/simgrid/examples/msg/masterslave/platform_clusters.xml 930 -./doc/simgrid/examples/msg/masterslave/deployment_masterslave_mailbox_multicore.xml 1078 -./doc/simgrid/examples/msg/masterslave/masterslave_failure.c 7120 -./doc/simgrid/examples/msg/masterslave/deployment_masterslave_vivaldi.xml 4170 -./doc/simgrid/examples/msg/masterslave/deployment_masterslave_forwarder.xml 1382 -./doc/simgrid/examples/msg/masterslave/masterslave_forwarder.c 6438 -./doc/simgrid/examples/msg/masterslave/platform_script.lua 2535 -./doc/simgrid/examples/msg/masterslave/deployment_masterslave.xml 998 -./doc/simgrid/examples/msg/masterslave/jumbo_deployment.xml 6805 -./doc/simgrid/examples/msg/masterslave/jumbo_deployment_masterslave_mailbox.xml 878 -./doc/simgrid/examples/msg/masterslave/masterslave_mailbox.c 4118 -./doc/simgrid/examples/msg/suspend/suspend.c 2692 -./doc/simgrid/examples/msg/suspend/deployment_suspend.xml 183 -./doc/simgrid/examples/msg/small_platform_with_routers.xml 5295 -./doc/simgrid/examples/msg/chord/chord90.xml 13992 -./doc/simgrid/examples/msg/chord/chord.xml 2236 -./doc/simgrid/examples/msg/chord/chord10k.xml 1624671 -./doc/simgrid/examples/msg/chord/chord.c 28995 -./doc/simgrid/examples/lua/multi_matrix/quicksort_platform.xml 4628 -./doc/simgrid/examples/lua/multi_matrix/mult_matrix.lua 227 -./doc/simgrid/examples/lua/multi_matrix/receiver.lua 1199 -./doc/simgrid/examples/lua/multi_matrix/quicksort_deployment.xml 524 -./doc/simgrid/examples/lua/multi_matrix/sender.lua 748 -./doc/simgrid/examples/lua/mult_matrix.lua 2196 -./doc/simgrid/examples/lua/README 1416 -./doc/simgrid/examples/lua/deploy.xml 879 -./doc/simgrid/examples/lua/splaySim/master.lua 1125 -./doc/simgrid/examples/lua/splaySim/slave.lua 729 -./doc/simgrid/examples/lua/splaySim/splay_platform.lua 1950 -./doc/simgrid/examples/lua/splaySim/splay_ctrl.lua 304 -./doc/simgrid/examples/lua/splaySim/splay_deploy_masterslave.lua 487 -./doc/simgrid/examples/lua/tracing/master.lua 1390 -./doc/simgrid/examples/lua/tracing/slave.lua 713 -./doc/simgrid/examples/lua/tracing/master_slave_trace.lua 491 -./doc/simgrid/examples/lua/SimSplay/sim_splay.lua 2298 -./doc/simgrid/examples/lua/SimSplay/splay_school.lua 402 -./doc/simgrid/examples/lua/SimSplay/chord.lua 1906 -./doc/simgrid/examples/lua/SimSplay/platform_script.lua 1706 -./doc/simgrid/examples/lua/console/master.lua 1125 -./doc/simgrid/examples/lua/console/deploy.lua 480 -./doc/simgrid/examples/lua/console/slave.lua 730 -./doc/simgrid/examples/lua/console/platform.lua 2424 -./doc/simgrid/examples/lua/console/master_slave_bypass.lua 158 -./doc/simgrid/examples/lua/masterslave/master.lua 1125 -./doc/simgrid/examples/lua/masterslave/slave.lua 730 -./doc/simgrid/examples/lua/masterslave/platform.lua 2424 -./doc/simgrid/examples/lua/masterslave/master_slave.lua 378 -./doc/simgrid/examples/simdag/properties/sd_prop.c 3012 -./doc/simgrid/examples/simdag/dax/Strassen.xml 9663 -./doc/simgrid/examples/simdag/dax/Montage_25.xml 23087 -./doc/simgrid/examples/simdag/dax/Sipht_30.xml 267014 -./doc/simgrid/examples/simdag/dax/dax_test.c 4346 -./doc/simgrid/examples/simdag/dax/Montage_50.xml 48868 -./doc/simgrid/examples/simdag/dax/Inspiral_30.xml 28774 -./doc/simgrid/examples/simdag/dax/sagittaire.xml 289 -./doc/simgrid/examples/simdag/scheduling/minmin_test.c 11328 -./doc/simgrid/examples/simdag/scheduling/Montage_25.xml 23087 -./doc/simgrid/examples/simdag/scheduling/simulacrum_7_hosts.xml 5670 -./doc/simgrid/examples/simdag/sd_seq_access.c 4153 -./doc/simgrid/examples/simdag/sd_test_console.c 6976 -./doc/simgrid/examples/simdag/metaxml/sd_meta.c 2207 -./doc/simgrid/examples/simdag/2clusters.xml 14326 -./doc/simgrid/examples/simdag/sd_test2.c 7538 -./doc/simgrid/examples/simdag/platform_script.lua 1864 -./doc/simgrid/examples/simdag/simdag_trace.c 4354 -./doc/simgrid/examples/simdag/sd_test.c 6964 -./doc/simgrid/examples/simdag/dot/dot_test2.c 1622 -./doc/simgrid/examples/simdag/dot/simulate_dot.c 3590 -./doc/simgrid/examples/simdag/dot/dot_test.c 4002 -./doc/simgrid/examples/platforms/g5k.xml 17028 -./doc/simgrid/examples/platforms/One_cluster_no_backbone.xml 482 -./doc/simgrid/examples/platforms/g5k_cabinets.xml 22645 -./doc/simgrid/examples/platforms/nancy.xml 4028 -./doc/simgrid/examples/platforms/lcg_sept2004_grid.xml 15970 -./doc/simgrid/examples/platforms/Two_clusters.xml 930 -./doc/simgrid/examples/platforms/vivaldi.xml 3274 -./doc/simgrid/examples/platforms/gridpp_grid_2004.xml 6096 -./doc/simgrid/examples/platforms/griffon.xml 1879 -./doc/simgrid/examples/platforms/median_harvard.xml 28125 -./doc/simgrid/examples/platforms/prop.xml 1273 -./doc/simgrid/examples/platforms/One_cluster.xml 661 -./doc/simgrid/examples/platforms/gdx.xml 2323 -./doc/simgrid/examples/platforms/multicore_machine.xml 222 -./doc/simgrid/html/group__XBT__str.html 36192 -./doc/simgrid/html/group__XBT__cfg__decl.html 14505 -./doc/simgrid/html/bug.html 2130 -./doc/simgrid/html/group__MSG__C.html 10658 -./doc/simgrid/html/structs__xbt__strbuff__t.html 2512 -./doc/simgrid/html/MSG_ex_master_slave_lua_bypass.html 4803 -./doc/simgrid/html/simgrid_modules2.png 11932 -./doc/simgrid/html/classsimgrid_1_1msg_1_1Msg.html 1519 -./doc/simgrid/html/group__SURF__actions.html 13562 -./doc/simgrid/html/publis_intra.html 435 -./doc/simgrid/html/simgrid_logo_small.png 8326 -./doc/simgrid/html/group__SURF__resources.html 4203 -./doc/simgrid/html/structsurf__cpu__model__extension__public.html 2751 -./doc/simgrid/html/tabs.css 1095 -./doc/simgrid/html/group__XBT__set.html 6991 -./doc/simgrid/html/group__XBT__set__curs.html 9653 -./doc/simgrid/html/structxbt__ex__t.html 10014 -./doc/simgrid/html/pages.html 5794 -./doc/simgrid/html/MSG_ex_master_slave_scrip_lua.html 30160 -./doc/simgrid/html/group__XBT__API.html 6276 -./doc/simgrid/html/classsimgrid_1_1msg_1_1MsgException.html 1519 -./doc/simgrid/html/todo.html 3202 -./doc/simgrid/html/nav_f.png 159 -./doc/simgrid/html/group__XBT__queue.html 23050 -./doc/simgrid/html/group__XBT__fifo__cons.html 9876 -./doc/simgrid/html/structsurf__model.html 17707 -./doc/simgrid/html/MSG_ex_asynchronous_communications.html 43212 -./doc/simgrid/html/Paje_MSG_screenshot_thn.jpg 30326 -./doc/simgrid/html/structsurf__network__model__extension__public.html 2783 -./doc/simgrid/html/structsurf__model__description.html 2621 -./doc/simgrid/html/group__m__host__management.html 19042 -./doc/simgrid/html/group__XBT__fifo__perl.html 14045 -./doc/simgrid/html/modules.html 12734 -./doc/simgrid/html/annotated.html 7707 -./doc/simgrid/html/group__XBT__fifo.html 6191 -./doc/simgrid/html/group__XBT__parmap.html 3765 -./doc/simgrid/html/tracing.html 58483 -./doc/simgrid/html/structs__surf__metric__t.html 2523 -./doc/simgrid/html/classsimgrid_1_1msg_1_1Task.html 1519 -./doc/simgrid/html/group__XBT__swag.html 5923 -./doc/simgrid/html/functions_vars.html 11436 -./doc/simgrid/html/group__XBT__swag__type.html 8194 -./doc/simgrid/html/win_install_02.png 60084 -./doc/simgrid/html/simgrid_modules.png 8309 -./doc/simgrid/html/group__XBT__error.html 8348 -./doc/simgrid/html/group__XBT__dynar__cons.html 15743 -./doc/simgrid/html/simgrid_logo.png 21536 -./doc/simgrid/html/group__XBT__fifo__misc.html 7717 -./doc/simgrid/html/group__XBT__context.html 3460 -./doc/simgrid/html/group__m__channel__management.html 8963 -./doc/simgrid/html/structm__task.html 4188 -./doc/simgrid/html/group__XBT__swag__curs.html 8561 -./doc/simgrid/html/group__XBT__log.html 60965 -./doc/simgrid/html/open.png 118 -./doc/simgrid/html/group__msg__simulation.html 9008 -./doc/simgrid/html/group__XBT__dynar__cursor.html 11976 -./doc/simgrid/html/group__XBT__log__cats.html 5102 -./doc/simgrid/html/win_install_03.png 55802 -./doc/simgrid/html/poster_thumbnail.png 3249 -./doc/simgrid/html/group__m__datatypes__management__details.html 7557 -./doc/simgrid/html/group__XBT__set__basic.html 24314 -./doc/simgrid/html/win_install_01.png 61053 -./doc/simgrid/html/closed.png 126 -./doc/simgrid/html/group__XBT__adt.html 6958 -./doc/simgrid/html/index.html 9659 -./doc/simgrid/html/group__SD__link__management.html 17867 -./doc/simgrid/html/group__MSG__JAVA.html 5443 -./doc/simgrid/html/group__SURF__simulation.html 10385 -./doc/simgrid/html/structm__host.html 4188 -./doc/simgrid/html/group__XBT__dynar__array.html 22436 -./doc/simgrid/html/simgrid.css 386 -./doc/simgrid/html/group__SD__task__dependency__management.html 15389 -./doc/simgrid/html/group__XBT__grounding.html 7225 -./doc/simgrid/html/pls.html 11863 -./doc/simgrid/html/group__XBT__dynar__ctn.html 12693 -./doc/simgrid/html/functions.html 11564 -./doc/simgrid/html/group__XBT__dynar__speed.html 9616 -./doc/simgrid/html/installSimgrid.html 24837 -./doc/simgrid/html/triva-graph_configuration.png 59769 -./doc/simgrid/html/triva-graph_visualization.png 55335 -./doc/simgrid/html/MSG_ex_master_slave.html 51294 -./doc/simgrid/html/doxygen.png 3942 -./doc/simgrid/html/group__XBT__mallocator__cons.html 10757 -./doc/simgrid/html/group__API__index.html 125324 -./doc/simgrid/html/group__XBT__dict__cons.html 9746 -./doc/simgrid/html/group__XBT__swag__func.html 19885 -./doc/simgrid/html/group__SimGrid__API.html 4674 -./doc/simgrid/html/group__XBT__dynar__misc.html 9591 -./doc/simgrid/html/structxbt__set__elm__.html 5121 -./doc/simgrid/html/group__XBT__cfg__get.html 19320 -./doc/simgrid/html/bindings.html 23685 -./doc/simgrid/html/group__XBT__dict.html 6916 -./doc/simgrid/html/use.html 3904 -./doc/simgrid/html/group__XBT__dict__basic.html 20935 -./doc/simgrid/html/group__XBT__graph.html 23682 -./doc/simgrid/html/group__XBT__mallocator.html 6444 -./doc/simgrid/html/structsurf__workstation__model__extension__public.html 11076 -./doc/simgrid/html/publis.html 435 -./doc/simgrid/html/group__XBT__misc.html 4663 -./doc/simgrid/html/simdag.html 226 -./doc/simgrid/html/Paje_MSG_screenshot.jpg 340759 -./doc/simgrid/html/group__msg__gos__functions.html 65293 -./doc/simgrid/html/classsimgrid_1_1msg_1_1Host.html 1519 -./doc/simgrid/html/publis_extern.html 435 -./doc/simgrid/html/group__MSG__LUA.html 5094 -./doc/simgrid/html/group__XBT__dynar.html 14081 -./doc/simgrid/html/structs__model__type.html 2480 -./doc/simgrid/html/group__XBT__synchro.html 19296 -./doc/simgrid/html/bc_s.png 677 -./doc/simgrid/html/classes.html 6934 -./doc/simgrid/html/group__XBT__fifo__direct.html 29778 -./doc/simgrid/html/group__XBT__cfg__use.html 37757 -./doc/simgrid/html/group__XBT__mallocator__objects.html 9306 -./doc/simgrid/html/classsimgrid_1_1msg_1_1Process.html 1519 -./doc/simgrid/html/group__XBT__dict__multi.html 18525 -./doc/simgrid/html/group__m__datatypes__management.html 16459 -./doc/simgrid/html/tab_b.png 178 -./doc/simgrid/html/group__SD__simulation.html 45009 -./doc/simgrid/html/group__msg__easier__life.html 50885 -./doc/simgrid/html/group__m__task__management.html 35307 -./doc/simgrid/html/tab_a.png 140 -./doc/simgrid/html/group__XBT__config.html 16354 -./doc/simgrid/html/options.html 7629 -./doc/simgrid/html/group__XBT__dict__nnul.html 18891 -./doc/simgrid/html/win_install_04.png 52033 -./doc/simgrid/html/structsurf__action.html 8353 -./doc/simgrid/html/group__XBT__ex.html 32537 -./doc/simgrid/html/group__SURF__API.html 6659 -./doc/simgrid/html/doxygen.css 12350 -./doc/simgrid/html/group__XBT__set__cons.html 7965 -./doc/simgrid/html/group__SURF__build__api.html 7821 -./doc/simgrid/html/group__m__process__management.html 47169 -./doc/simgrid/html/group__XBT__dict__curs.html 19747 -./doc/simgrid/html/group__SD__datatypes__management.html 20816 -./doc/simgrid/html/group__SD__API.html 8379 -./doc/simgrid/html/group__SMPI__API.html 4776 -./doc/simgrid/html/group__XBT__dynar__perl.html 12131 -./doc/simgrid/html/group__XBT__cfg__register.html 15874 -./doc/simgrid/html/publis_core.html 435 -./doc/simgrid/html/group__SD__workstation__management.html 46397 -./doc/simgrid/html/MSG_ex_master_slave_lua.html 4794 -./doc/simgrid/html/group__MSG__API.html 6026 -./doc/simgrid/html/msg.html 227 -./doc/simgrid/html/group__SD__task__management.html 60347 -./doc/simgrid/html/group__XBT__syscall.html 10095 -./doc/simgrid/html/group__XBT__heap.html 18482 -./doc/simgrid/html/structsurf__action__state.html 7301 -./doc/simgrid/html/tab_s.png 189 -./doc/simgrid/html/tab_h.png 192 -./doc/simgrid/html/nav_h.png 97 -./include/smpi/mpif.h 4826 -./include/smpi/smpif.h 1139 -./include/smpi/mpi.h 510 -./include/smpi/smpi_cocci.h 3187 -./include/smpi/smpi.h 24101 -./include/xbt/fifo.h 3626 -./include/xbt/dict.h 7459 -./include/xbt/str.h 2111 -./include/xbt/log.h 25433 -./include/xbt/misc.h 8031 -./include/xbt/synchro_core.h 4477 -./include/xbt/mmalloc.h 1976 -./include/xbt/replay_trace_reader.h 917 -./include/xbt/function_types.h 1111 -./include/xbt/strbuff.h 1281 -./include/xbt/virtu.h 684 -./include/xbt/asserts.h 1871 -./include/xbt/ex.h 23255 -./include/xbt/graph.h 5668 -./include/xbt/graphxml.h 5474 -./include/xbt/queue.h 2252 -./include/xbt/matrix.h 3027 -./include/xbt/setset.h 2422 -./include/xbt/time.h 743 -./include/xbt/lib.h 2014 -./include/xbt/hash.h 1064 -./include/xbt/set.h 4383 -./include/xbt/config.h 9224 -./include/xbt/sysdep.h 4941 -./include/xbt/swag.h 5352 -./include/xbt/graphxml_parse.h 1926 -./include/xbt/peer.h 870 -./include/xbt/module.h 648 -./include/xbt/cunit.h 5523 -./include/xbt/parmap.h 1166 -./include/xbt/mallocator.h 2296 -./include/xbt/dynar.h 9553 -./include/xbt/heap.h 1444 -./include/xbt.h 876 -./include/msg/datatypes.h 4635 -./include/msg/msg.h 12038 -./include/simgrid_config.h 3641 -./include/mc/modelchecker.h 96 -./include/surf/simgrid_dtd.h 23583 -./include/surf/surf_routing.h 1167 -./include/surf/surfxml_parse.h 5343 -./include/instr/instr.h 5750 -./include/simdag/simdag.h 10325 -./include/simdag/datatypes.h 3715 -./include/simix/simix.h 13003 -./include/simix/datatypes.h 3346 -./include/simix/context.h 4040 -./lib/libsimgrid.so.3.6.2 12710497 -./bin/smpicc 918 -./bin/smpirun 7292 -./bin/smpif2c 1990 -./bin/simgrid_update_xml 5018 -./bin/graphicator 66986 -./bin/simgrid-colorizer 2993 -./bin/smpiff 820 -./bin/tesh 356434 +/doc/simgrid/examples/cxx/autoDestination/FinalizeTask.cxx 71 +/doc/simgrid/examples/cxx/autoDestination/autoDestination_deployment.xml 1262 +/doc/simgrid/examples/cxx/autoDestination/Main.cxx 148 +/doc/simgrid/examples/cxx/autoDestination/Slave.cxx 870 +/doc/simgrid/examples/cxx/autoDestination/BasicTask.cxx 65 +/doc/simgrid/examples/cxx/autoDestination/Master.cxx 1891 +/doc/simgrid/examples/cxx/autoDestination/autoDestination_platform.xml 2133932 +/doc/simgrid/examples/cxx/autoDestination/Forwarder.cxx 1137 +/doc/simgrid/explicitDestination/FinalizeTask.cxx 71 +/doc/simgrid/examples/cxx/basic/Main.cxx 148 +/doc/simgrid/examples/cxx/basic/Slave.cxx 693 +/doc/simgrid/examples/cxx/basic/BasicTask.cxx 65 +/doc/simgrid/examples/cxx/basic/basic_platform.xml 2133932 +/doc/simgrid/examples/cxx/basic/Master.cxx 2148 +/doc/simgrid/examples/cxx/basic/basic_deployment.xml 1188 +/doc/simgrid/examples/cxx/basic/Forwarder.cxx 1244 +/doc/simgrid/examples/cxx/explicitDestination/FinalizeTask.cxx 71 +/doc/simgrid/examples/cxx/explicitDestination/Main.cxx 148 +/doc/simgrid/examples/cxx/explicitDestination/explicitDestination_platform.xml 2133932 +/doc/simgrid/examples/cxx/explicitDestination/Slave.cxx 913 +/doc/simgrid/examples/cxx/explicitDestination/BasicTask.cxx 65 +/doc/simgrid/examples/cxx/explicitDestination/explicitDestination_deployment.xml 1188 +/doc/simgrid/examples/cxx/explicitDestination/Master.cxx 1896 +/doc/simgrid/examples/cxx/explicitDestination/Forwarder.cxx 1181 +/doc/simgrid/examples/cxx/ping_pong/Main.cxx 149 +/doc/simgrid/examples/cxx/ping_pong/Sender.cxx 1073 +/doc/simgrid/examples/cxx/ping_pong/ping_pong_deployment.xml 275 +/doc/simgrid/examples/cxx/ping_pong/ping_pong_platform.xml 4718 +/doc/simgrid/examples/cxx/ping_pong/Receiver.cxx 957 +/doc/simgrid/examples/cxx/ping_pong/PingPongTask.cxx 71 +/doc/simgrid/examples/cxx/comm_time/FinalizeTask.cxx 71 +/doc/simgrid/examples/cxx/comm_time/Main.cxx 146 +/doc/simgrid/examples/cxx/comm_time/CommTimeTask.cxx 71 +/doc/simgrid/examples/cxx/comm_time/Slave.cxx 889 +/doc/simgrid/examples/cxx/comm_time/comm_time_platform.xml 2133932 +/doc/simgrid/examples/cxx/comm_time/Master.cxx 1730 +/doc/simgrid/examples/cxx/comm_time/comm_time_deployment.xml 1884 +/doc/simgrid/examples/cxx/suspend/Main.cxx 150 +/doc/simgrid/examples/cxx/suspend/suspend_platform.xml 2133932 +/doc/simgrid/examples/cxx/suspend/suspend_deployment.xml 187 +/doc/simgrid/examples/cxx/suspend/DreamMaster.cxx 826 +/doc/simgrid/examples/cxx/suspend/LazyGuy.cxx 429 +/doc/simgrid/examples/smpi/mc_bugged2.c 1387 +/doc/simgrid/examples/smpi/scatter.c 3496 +/doc/simgrid/examples/smpi/mc_bugged1.c 1411 +/doc/simgrid/examples/smpi/get_processor_name.c 649 +/doc/simgrid/examples/smpi/NAS/README 1857 +/doc/simgrid/examples/smpi/NAS/EP-sampling/README 347 +/doc/simgrid/examples/smpi/NAS/EP-sampling/randlc.c 3300 +/doc/simgrid/examples/smpi/NAS/EP-sampling/ep.c 13723 +/doc/simgrid/examples/smpi/NAS/EP-trace/README 347 +/doc/simgrid/examples/smpi/NAS/EP-trace/randlc.c 3300 +/doc/simgrid/examples/smpi/NAS/EP-trace/ep-trace.c 13850 +/doc/simgrid/examples/smpi/NAS/config/NAS.samples/README 394 +/doc/simgrid/examples/smpi/NAS/IS-trace/is-trace.c 38276 +/doc/simgrid/examples/smpi/NAS/DT-trace/README 999 +/doc/simgrid/examples/smpi/NAS/DT-trace/DGraph.c 5451 +/doc/simgrid/examples/smpi/NAS/DT-trace/dt.c 23031 +/doc/simgrid/examples/smpi/NAS/IS/is.c 38077 +/doc/simgrid/examples/smpi/NAS/MPI_dummy/README 2406 +/doc/simgrid/examples/smpi/NAS/MPI_dummy/mpi_dummy.c 5660 +/doc/simgrid/examples/smpi/NAS/MPI_dummy/wtime_sgi64.c 1700 +/doc/simgrid/examples/smpi/NAS/MPI_dummy/wtime.c 228 +/doc/simgrid/examples/smpi/NAS/common/randdp.c 1441 +/doc/simgrid/examples/smpi/NAS/common/c_timers.c 1159 +/doc/simgrid/examples/smpi/NAS/common/c_print_results.c 3086 +/doc/simgrid/examples/smpi/NAS/sys/README 1461 +/doc/simgrid/examples/smpi/NAS/sys/setparams.c 38805 +/doc/simgrid/examples/smpi/NAS/SP/README 926 +/doc/simgrid/examples/smpi/NAS/FT/README 276 +/doc/simgrid/examples/smpi/NAS/DT/README 999 +/doc/simgrid/examples/smpi/NAS/DT/DGraph.c 5451 +/doc/simgrid/examples/smpi/NAS/DT/dt.c 22620 +/doc/simgrid/examples/smpi/NAS/EP/README 347 +/doc/simgrid/examples/smpi/NAS/EP/randlc.c 3300 +/doc/simgrid/examples/smpi/NAS/EP/ep.c 13688 +/doc/simgrid/examples/smpi/NAS/DT-folding/README 999 +/doc/simgrid/examples/smpi/NAS/DT-folding/DGraph.c 5451 +/doc/simgrid/examples/smpi/NAS/DT-folding/dt.c 22704 +/doc/simgrid/examples/smpi/NAS/MG/README 5465 +/doc/simgrid/examples/smpi/bcast.c 983 +/doc/simgrid/examples/smpi/compute2.c 628 +/doc/simgrid/examples/smpi/sendrecv.c 1652 +/doc/simgrid/examples/smpi/allreduce.c 2135 +/doc/simgrid/examples/smpi/mvmul.c 7069 +/doc/simgrid/examples/smpi/alltoallv.c 4441 +/doc/simgrid/examples/smpi/smpi_traced.c 8529 +/doc/simgrid/examples/smpi/compute3.c 816 +/doc/simgrid/examples/smpi/reduce.c 3545 +/doc/simgrid/examples/smpi/bcbench.c 2466 +/doc/simgrid/examples/smpi/ttest01.c 1273 +/doc/simgrid/examples/smpi/compute.c 622 +/doc/simgrid/examples/smpi/barrier.c 766 +/doc/simgrid/examples/smpi/alltoall_basic.c 1453 +/doc/simgrid/examples/smpi/pingpong.c 2286 +/doc/simgrid/examples/smpi/alltoall2.c 2799 +/doc/simgrid/examples/smpi/split.c 705 +/doc/simgrid/examples/xbt/sem_basic.c 1970 +/doc/simgrid/examples/xbt/sem_sched.c 7207 +/doc/simgrid/examples/msg/small_platform.xml 4582 +/doc/simgrid/examples/msg/README 4805 +/doc/simgrid/examples/msg/properties/deployment_properties.xml 272 +/doc/simgrid/examples/msg/properties/msg_prop.c 3853 +/doc/simgrid/examples/msg/ns3/3links-p.xml 856 +/doc/simgrid/examples/msg/ns3/dogbone-d.xml 582 +/doc/simgrid/examples/msg/ns3/Two_clusters.xml 1817 +/doc/simgrid/examples/msg/ns3/3links-d.xml 927 +/doc/simgrid/examples/msg/ns3/3links-d-timer.xml 1280 +/doc/simgrid/examples/msg/ns3/ns3.c 5177 +/doc/simgrid/examples/msg/ns3/Two_clusters-d.xml 369 +/doc/simgrid/examples/msg/ns3/One_cluster-d.xml 367 +/doc/simgrid/examples/msg/ns3/dogbone-p.xml 1497 +/doc/simgrid/examples/msg/ns3/3hosts_2links_p.xml 566 +/doc/simgrid/examples/msg/ns3/3hosts_2links_d.xml 352 +/doc/simgrid/examples/msg/ns3/One_cluster.xml 658 +/doc/simgrid/examples/msg/migration/migration.c 2922 +/doc/simgrid/examples/msg/small_platform_with_failures.xml 4746 +/doc/simgrid/examples/msg/icomms/small_platform.xml 972 +/doc/simgrid/examples/msg/icomms/deployment_peer.xml 678 +/doc/simgrid/examples/msg/icomms/deployment_peer05.xml 891 +/doc/simgrid/examples/msg/icomms/deployment_peer02.xml 855 +/doc/simgrid/examples/msg/icomms/peer2.c 4276 +/doc/simgrid/examples/msg/icomms/deployment_peer03.xml 851 +/doc/simgrid/examples/msg/icomms/deployment_peer04.xml 852 +/doc/simgrid/examples/msg/icomms/peer.c 5102 +/doc/simgrid/examples/msg/icomms/deployment_peer01.xml 855 +/doc/simgrid/examples/msg/icomms/peer3.c 5258 +/doc/simgrid/examples/msg/parallel_task/test_ptask_deployment.xml 654 +/doc/simgrid/examples/msg/parallel_task/test_ptask.c 5423 +/doc/simgrid/examples/msg/parallel_task/test_ptask_platform.xml 2380 +/doc/simgrid/examples/msg/parallel_task/parallel_task.c 2708 +/doc/simgrid/examples/msg/alias/masterslave_forwarder_with_alias.c 6217 +/doc/simgrid/examples/msg/trace/test9.xml 598 +/doc/simgrid/examples/msg/trace/test3.xml 372 +/doc/simgrid/examples/msg/trace/test_trace_integration.xml 206 +/doc/simgrid/examples/msg/trace/test2.xml 370 +/doc/simgrid/examples/msg/trace/test7.xml 501 +/doc/simgrid/examples/msg/trace/test11.xml 683 +/doc/simgrid/examples/msg/trace/test4.xml 371 +/doc/simgrid/examples/msg/trace/test10.xml 598 +/doc/simgrid/examples/msg/trace/test6.xml 372 +/doc/simgrid/examples/msg/trace/test8.xml 498 +/doc/simgrid/examples/msg/trace/test5.xml 371 +/doc/simgrid/examples/msg/trace/test_trace_integration.c 1960 +/doc/simgrid/examples/msg/trace/test1.xml 366 +/doc/simgrid/examples/msg/parallel_contexts/pcontexts_platform.xml 1002 +/doc/simgrid/examples/msg/parallel_contexts/deployment_pcontexts2_4.xml 467 +/doc/simgrid/examples/msg/parallel_contexts/pcontexts2.c 2236 +/doc/simgrid/examples/msg/parallel_contexts/deployment_pcontexts_2.xml 242 +/doc/simgrid/examples/msg/parallel_contexts/deployment_pcontexts_4.xml 353 +/doc/simgrid/examples/msg/parallel_contexts/pcontexts.c 1752 +/doc/simgrid/examples/msg/tracing/deployment.xml 800 +/doc/simgrid/examples/msg/tracing/ms.c 4374 +/doc/simgrid/examples/msg/tracing/platform.xml 3930 +/doc/simgrid/examples/msg/tracing/tasks.c 3594 +/doc/simgrid/examples/msg/tracing/procmig-deploy.xml 223 +/doc/simgrid/examples/msg/tracing/procmig.c 3282 +/doc/simgrid/examples/msg/tracing/categories.c 3358 +/doc/simgrid/examples/msg/sendrecv/README 689 +/doc/simgrid/examples/msg/sendrecv/deployment_sendrecv.xml 321 +/doc/simgrid/examples/msg/sendrecv/sendrecv.c 5098 +/doc/simgrid/examples/msg/sendrecv/platform_sendrecv.xml 528 +/doc/simgrid/examples/msg/gtnets/onelink-p.xml 439 +/doc/simgrid/examples/msg/gtnets/fullduplex-p.xml 575 +/doc/simgrid/examples/msg/gtnets/dogbone-d.xml 576 +/doc/simgrid/examples/msg/gtnets/waxman-d.xml 46642 +/doc/simgrid/examples/msg/gtnets/waxman-p.xml 4964600 +/doc/simgrid/examples/msg/gtnets/fullduplex-d.xml 1029 +/doc/simgrid/examples/msg/gtnets/onelink-d.xml 356 +/doc/simgrid/examples/msg/gtnets/gtnets.c 6172 +/doc/simgrid/examples/msg/gtnets/dogbone-p.xml 1482 +/doc/simgrid/examples/msg/pmm/msg_pmm.c 9688 +/doc/simgrid/examples/msg/pmm/pmm_9_deploy.xml 786 +/doc/simgrid/examples/msg/mc/bugged1.c 1378 +/doc/simgrid/examples/msg/mc/deploy_bugged3.xml 377 +/doc/simgrid/examples/msg/mc/deploy_mutex.xml 925 +/doc/simgrid/examples/msg/mc/platform.xml 876 +/doc/simgrid/examples/msg/mc/deploy_bugged2.xml 377 +/doc/simgrid/examples/msg/mc/random_test.c 563 +/doc/simgrid/examples/msg/mc/deploy_bugged1.xml 459 +/doc/simgrid/examples/msg/mc/bugged3.c 1827 +/doc/simgrid/examples/msg/mc/deploy_random_test.xml 468 +/doc/simgrid/examples/msg/mc/bugged2.c 1957 +/doc/simgrid/examples/msg/mc/centralized_mutex.c 3375 +/doc/simgrid/examples/msg/token_ring/two_clusters.xml 1007 +/doc/simgrid/examples/msg/token_ring/ring_call.c 4205 +/doc/simgrid/examples/msg/token_ring/two_peers.xml 556 +/doc/simgrid/examples/msg/msg_platform.xml 2261806 +/doc/simgrid/examples/msg/priority/deployment_priority.xml 406 +/doc/simgrid/examples/msg/priority/priority.c 2394 +/doc/simgrid/examples/msg/actions/actions.c 19339 +/doc/simgrid/examples/msg/actions/deployment.xml 249 +/doc/simgrid/examples/msg/actions/NAS_LU_S_4/platform_flat.xml 6805 +/doc/simgrid/examples/msg/actions/NAS_LU_S_4/platform.xml 387 +/doc/simgrid/examples/msg/actions/NAS_LU_S_4/deploy_MPI_4.xml 605 +/doc/simgrid/examples/msg/actions/sim.0.bordereau.lu.b.8/toto.xml 1066 +/doc/simgrid/examples/msg/actions/sim.0.bordereau.lu.b.8/titi.xml 1066 +/doc/simgrid/examples/msg/actions/deployment_split.xml 525 +/doc/simgrid/examples/msg/actions/homogeneous_3_hosts.xml 906 +/doc/simgrid/examples/msg/actions/bcast_deployment.xml 224 +/doc/simgrid/examples/msg/actions/actions_deployment_split.xml 501 +/doc/simgrid/examples/msg/masterslave/masterslave_bypass.c 9082 +/doc/simgrid/examples/msg/masterslave/deployment_masterslave_mailbox.xml 990 +/doc/simgrid/examples/msg/masterslave/masterslave_cluster.c 6773 +/doc/simgrid/examples/msg/masterslave/masterslave_console.c 3952 +/doc/simgrid/examples/msg/masterslave/platform_clusters.xml 930 +/doc/simgrid/examples/msg/masterslave/deployment_masterslave_mailbox_multicore.xml 1078 +/doc/simgrid/examples/msg/masterslave/masterslave_failure.c 7120 +/doc/simgrid/examples/msg/masterslave/deployment_masterslave_vivaldi.xml 4170 +/doc/simgrid/examples/msg/masterslave/deployment_masterslave_forwarder.xml 1382 +/doc/simgrid/examples/msg/masterslave/masterslave_forwarder.c 6438 +/doc/simgrid/examples/msg/masterslave/platform_script.lua 2535 +/doc/simgrid/examples/msg/masterslave/deployment_masterslave.xml 998 +/doc/simgrid/examples/msg/masterslave/jumbo_deployment.xml 6805 +/doc/simgrid/examples/msg/masterslave/jumbo_deployment_masterslave_mailbox.xml 878 +/doc/simgrid/examples/msg/masterslave/masterslave_mailbox.c 4118 +/doc/simgrid/examples/msg/suspend/suspend.c 2692 +/doc/simgrid/examples/msg/suspend/deployment_suspend.xml 183 +/doc/simgrid/examples/msg/small_platform_with_routers.xml 5295 +/doc/simgrid/examples/msg/chord/chord90.xml 13992 +/doc/simgrid/examples/msg/chord/chord.xml 2236 +/doc/simgrid/examples/msg/chord/chord10k.xml 1624671 +/doc/simgrid/examples/msg/chord/chord.c 28995 +/doc/simgrid/examples/lua/multi_matrix/quicksort_platform.xml 4628 +/doc/simgrid/examples/lua/multi_matrix/mult_matrix.lua 227 +/doc/simgrid/examples/lua/multi_matrix/receiver.lua 1199 +/doc/simgrid/examples/lua/multi_matrix/quicksort_deployment.xml 524 +/doc/simgrid/examples/lua/multi_matrix/sender.lua 748 +/doc/simgrid/examples/lua/mult_matrix.lua 2196 +/doc/simgrid/examples/lua/README 1416 +/doc/simgrid/examples/lua/deploy.xml 879 +/doc/simgrid/examples/lua/splaySim/master.lua 1125 +/doc/simgrid/examples/lua/splaySim/slave.lua 729 +/doc/simgrid/examples/lua/splaySim/splay_platform.lua 1950 +/doc/simgrid/examples/lua/splaySim/splay_ctrl.lua 304 +/doc/simgrid/examples/lua/splaySim/splay_deploy_masterslave.lua 487 +/doc/simgrid/examples/lua/tracing/master.lua 1390 +/doc/simgrid/examples/lua/tracing/slave.lua 713 +/doc/simgrid/examples/lua/tracing/master_slave_trace.lua 491 +/doc/simgrid/examples/lua/SimSplay/sim_splay.lua 2298 +/doc/simgrid/examples/lua/SimSplay/splay_school.lua 402 +/doc/simgrid/examples/lua/SimSplay/chord.lua 1906 +/doc/simgrid/examples/lua/SimSplay/platform_script.lua 1706 +/doc/simgrid/examples/lua/console/master.lua 1125 +/doc/simgrid/examples/lua/console/deploy.lua 480 +/doc/simgrid/examples/lua/console/slave.lua 730 +/doc/simgrid/examples/lua/console/platform.lua 2424 +/doc/simgrid/examples/lua/console/master_slave_bypass.lua 158 +/doc/simgrid/examples/lua/masterslave/master.lua 1125 +/doc/simgrid/examples/lua/masterslave/slave.lua 730 +/doc/simgrid/examples/lua/masterslave/platform.lua 2424 +/doc/simgrid/examples/lua/masterslave/master_slave.lua 378 +/doc/simgrid/examples/simdag/properties/sd_prop.c 3012 +/doc/simgrid/examples/simdag/dax/Strassen.xml 9663 +/doc/simgrid/examples/simdag/dax/Montage_25.xml 23087 +/doc/simgrid/examples/simdag/dax/Sipht_30.xml 267014 +/doc/simgrid/examples/simdag/dax/dax_test.c 4346 +/doc/simgrid/examples/simdag/dax/Montage_50.xml 48868 +/doc/simgrid/examples/simdag/dax/Inspiral_30.xml 28774 +/doc/simgrid/examples/simdag/dax/sagittaire.xml 289 +/doc/simgrid/examples/simdag/scheduling/minmin_test.c 11328 +/doc/simgrid/examples/simdag/scheduling/Montage_25.xml 23087 +/doc/simgrid/examples/simdag/scheduling/simulacrum_7_hosts.xml 5670 +/doc/simgrid/examples/simdag/sd_seq_access.c 4153 +/doc/simgrid/examples/simdag/sd_test_console.c 6976 +/doc/simgrid/examples/simdag/metaxml/sd_meta.c 2207 +/doc/simgrid/examples/simdag/2clusters.xml 14326 +/doc/simgrid/examples/simdag/sd_test2.c 7538 +/doc/simgrid/examples/simdag/platform_script.lua 1864 +/doc/simgrid/examples/simdag/simdag_trace.c 4354 +/doc/simgrid/examples/simdag/sd_test.c 6964 +/doc/simgrid/examples/simdag/dot/dot_test2.c 1622 +/doc/simgrid/examples/simdag/dot/simulate_dot.c 3590 +/doc/simgrid/examples/simdag/dot/dot_test.c 4002 +/doc/simgrid/examples/platforms/g5k.xml 17028 +/doc/simgrid/examples/platforms/One_cluster_no_backbone.xml 482 +/doc/simgrid/examples/platforms/g5k_cabinets.xml 22645 +/doc/simgrid/examples/platforms/nancy.xml 4028 +/doc/simgrid/examples/platforms/lcg_sept2004_grid.xml 15970 +/doc/simgrid/examples/platforms/Two_clusters.xml 930 +/doc/simgrid/examples/platforms/vivaldi.xml 3274 +/doc/simgrid/examples/platforms/gridpp_grid_2004.xml 6096 +/doc/simgrid/examples/platforms/griffon.xml 1879 +/doc/simgrid/examples/platforms/median_harvard.xml 28125 +/doc/simgrid/examples/platforms/prop.xml 1273 +/doc/simgrid/examples/platforms/One_cluster.xml 661 +/doc/simgrid/examples/platforms/gdx.xml 2323 +/doc/simgrid/examples/platforms/multicore_machine.xml 222 +/doc/simgrid/html/group__XBT__str.html 36192 +/doc/simgrid/html/group__XBT__cfg__decl.html 14505 +/doc/simgrid/html/bug.html 2130 +/doc/simgrid/html/group__MSG__C.html 10658 +/doc/simgrid/html/structs__xbt__strbuff__t.html 2512 +/doc/simgrid/html/MSG_ex_master_slave_lua_bypass.html 4803 +/doc/simgrid/html/simgrid_modules2.png 11932 +/doc/simgrid/html/classsimgrid_1_1msg_1_1Msg.html 1519 +/doc/simgrid/html/group__SURF__actions.html 13562 +/doc/simgrid/html/publis_intra.html 435 +/doc/simgrid/html/simgrid_logo_small.png 8326 +/doc/simgrid/html/group__SURF__resources.html 4203 +/doc/simgrid/html/structsurf__cpu__model__extension__public.html 2751 +/doc/simgrid/html/tabs.css 1095 +/doc/simgrid/html/group__XBT__set.html 6991 +/doc/simgrid/html/group__XBT__set__curs.html 9653 +/doc/simgrid/html/structxbt__ex__t.html 10014 +/doc/simgrid/html/pages.html 5794 +/doc/simgrid/html/MSG_ex_master_slave_scrip_lua.html 30160 +/doc/simgrid/html/group__XBT__API.html 6276 +/doc/simgrid/html/classsimgrid_1_1msg_1_1MsgException.html 1519 +/doc/simgrid/html/todo.html 3202 +/doc/simgrid/html/nav_f.png 159 +/doc/simgrid/html/group__XBT__queue.html 23050 +/doc/simgrid/html/group__XBT__fifo__cons.html 9876 +/doc/simgrid/html/structsurf__model.html 17707 +/doc/simgrid/html/MSG_ex_asynchronous_communications.html 43212 +/doc/simgrid/html/Paje_MSG_screenshot_thn.jpg 30326 +/doc/simgrid/html/structsurf__network__model__extension__public.html 2783 +/doc/simgrid/html/structsurf__model__description.html 2621 +/doc/simgrid/html/group__m__host__management.html 19042 +/doc/simgrid/html/group__XBT__fifo__perl.html 14045 +/doc/simgrid/html/modules.html 12734 +/doc/simgrid/html/annotated.html 7707 +/doc/simgrid/html/group__XBT__fifo.html 6191 +/doc/simgrid/html/group__XBT__parmap.html 3765 +/doc/simgrid/html/tracing.html 58483 +/doc/simgrid/html/structs__surf__metric__t.html 2523 +/doc/simgrid/html/classsimgrid_1_1msg_1_1Task.html 1519 +/doc/simgrid/html/group__XBT__swag.html 5923 +/doc/simgrid/html/functions_vars.html 11436 +/doc/simgrid/html/group__XBT__swag__type.html 8194 +/doc/simgrid/html/win_install_02.png 60084 +/doc/simgrid/html/simgrid_modules.png 8309 +/doc/simgrid/html/group__XBT__error.html 8348 +/doc/simgrid/html/group__XBT__dynar__cons.html 15743 +/doc/simgrid/html/simgrid_logo.png 21536 +/doc/simgrid/html/group__XBT__fifo__misc.html 7717 +/doc/simgrid/html/group__XBT__context.html 3460 +/doc/simgrid/html/group__m__channel__management.html 8963 +/doc/simgrid/html/structm__task.html 4188 +/doc/simgrid/html/group__XBT__swag__curs.html 8561 +/doc/simgrid/html/group__XBT__log.html 60965 +/doc/simgrid/html/open.png 118 +/doc/simgrid/html/group__msg__simulation.html 9008 +/doc/simgrid/html/group__XBT__dynar__cursor.html 11976 +/doc/simgrid/html/group__XBT__log__cats.html 5102 +/doc/simgrid/html/win_install_03.png 55802 +/doc/simgrid/html/poster_thumbnail.png 3249 +/doc/simgrid/html/group__m__datatypes__management__details.html 7557 +/doc/simgrid/html/group__XBT__set__basic.html 24314 +/doc/simgrid/html/win_install_01.png 61053 +/doc/simgrid/html/closed.png 126 +/doc/simgrid/html/group__XBT__adt.html 6958 +/doc/simgrid/html/index.html 9659 +/doc/simgrid/html/group__SD__link__management.html 17867 +/doc/simgrid/html/group__MSG__JAVA.html 5443 +/doc/simgrid/html/group__SURF__simulation.html 10385 +/doc/simgrid/html/structm__host.html 4188 +/doc/simgrid/html/group__XBT__dynar__array.html 22436 +/doc/simgrid/html/simgrid.css 386 +/doc/simgrid/html/group__SD__task__dependency__management.html 15389 +/doc/simgrid/html/group__XBT__grounding.html 7225 +/doc/simgrid/html/pls.html 11863 +/doc/simgrid/html/group__XBT__dynar__ctn.html 12693 +/doc/simgrid/html/functions.html 11564 +/doc/simgrid/html/group__XBT__dynar__speed.html 9616 +/doc/simgrid/html/installSimgrid.html 24837 +/doc/simgrid/html/triva-graph_configuration.png 59769 +/doc/simgrid/html/triva-graph_visualization.png 55335 +/doc/simgrid/html/MSG_ex_master_slave.html 51294 +/doc/simgrid/html/doxygen.png 3942 +/doc/simgrid/html/group__XBT__mallocator__cons.html 10757 +/doc/simgrid/html/group__API__index.html 125324 +/doc/simgrid/html/group__XBT__dict__cons.html 9746 +/doc/simgrid/html/group__XBT__swag__func.html 19885 +/doc/simgrid/html/group__SimGrid__API.html 4674 +/doc/simgrid/html/group__XBT__dynar__misc.html 9591 +/doc/simgrid/html/structxbt__set__elm__.html 5121 +/doc/simgrid/html/group__XBT__cfg__get.html 19320 +/doc/simgrid/html/bindings.html 23685 +/doc/simgrid/html/group__XBT__dict.html 6916 +/doc/simgrid/html/use.html 3904 +/doc/simgrid/html/group__XBT__dict__basic.html 20935 +/doc/simgrid/html/group__XBT__graph.html 23682 +/doc/simgrid/html/group__XBT__mallocator.html 6444 +/doc/simgrid/html/structsurf__workstation__model__extension__public.html 11076 +/doc/simgrid/html/publis.html 435 +/doc/simgrid/html/group__XBT__misc.html 4663 +/doc/simgrid/html/simdag.html 226 +/doc/simgrid/html/Paje_MSG_screenshot.jpg 340759 +/doc/simgrid/html/group__msg__gos__functions.html 65293 +/doc/simgrid/html/classsimgrid_1_1msg_1_1Host.html 1519 +/doc/simgrid/html/publis_extern.html 435 +/doc/simgrid/html/group__MSG__LUA.html 5094 +/doc/simgrid/html/group__XBT__dynar.html 14081 +/doc/simgrid/html/structs__model__type.html 2480 +/doc/simgrid/html/group__XBT__synchro.html 19296 +/doc/simgrid/html/bc_s.png 677 +/doc/simgrid/html/classes.html 6934 +/doc/simgrid/html/group__XBT__fifo__direct.html 29778 +/doc/simgrid/html/group__XBT__cfg__use.html 37757 +/doc/simgrid/html/group__XBT__mallocator__objects.html 9306 +/doc/simgrid/html/classsimgrid_1_1msg_1_1Process.html 1519 +/doc/simgrid/html/group__XBT__dict__multi.html 18525 +/doc/simgrid/html/group__m__datatypes__management.html 16459 +/doc/simgrid/html/tab_b.png 178 +/doc/simgrid/html/group__SD__simulation.html 45009 +/doc/simgrid/html/group__msg__easier__life.html 50885 +/doc/simgrid/html/group__m__task__management.html 35307 +/doc/simgrid/html/tab_a.png 140 +/doc/simgrid/html/group__XBT__config.html 16354 +/doc/simgrid/html/options.html 7629 +/doc/simgrid/html/group__XBT__dict__nnul.html 18891 +/doc/simgrid/html/win_install_04.png 52033 +/doc/simgrid/html/structsurf__action.html 8353 +/doc/simgrid/html/group__XBT__ex.html 32537 +/doc/simgrid/html/group__SURF__API.html 6659 +/doc/simgrid/html/doxygen.css 12350 +/doc/simgrid/html/group__XBT__set__cons.html 7965 +/doc/simgrid/html/group__SURF__build__api.html 7821 +/doc/simgrid/html/group__m__process__management.html 47169 +/doc/simgrid/html/group__XBT__dict__curs.html 19747 +/doc/simgrid/html/group__SD__datatypes__management.html 20816 +/doc/simgrid/html/group__SD__API.html 8379 +/doc/simgrid/html/group__SMPI__API.html 4776 +/doc/simgrid/html/group__XBT__dynar__perl.html 12131 +/doc/simgrid/html/group__XBT__cfg__register.html 15874 +/doc/simgrid/html/publis_core.html 435 +/doc/simgrid/html/group__SD__workstation__management.html 46397 +/doc/simgrid/html/MSG_ex_master_slave_lua.html 4794 +/doc/simgrid/html/group__MSG__API.html 6026 +/doc/simgrid/html/msg.html 227 +/doc/simgrid/html/group__SD__task__management.html 60347 +/doc/simgrid/html/group__XBT__syscall.html 10095 +/doc/simgrid/html/group__XBT__heap.html 18482 +/doc/simgrid/html/structsurf__action__state.html 7301 +/doc/simgrid/html/tab_s.png 189 +/doc/simgrid/html/tab_h.png 192 +/doc/simgrid/html/nav_h.png 97 +/include/smpi/mpif.h 4826 +/include/smpi/smpif.h 1139 +/include/smpi/mpi.h 510 +/include/smpi/smpi_cocci.h 3187 +/include/smpi/smpi.h 24101 +/include/xbt/fifo.h 3626 +/include/xbt/dict.h 7459 +/include/xbt/str.h 2111 +/include/xbt/log.h 25433 +/include/xbt/misc.h 8031 +/include/xbt/synchro_core.h 4477 +/include/xbt/mmalloc.h 1976 +/include/xbt/replay_trace_reader.h 917 +/include/xbt/function_types.h 1111 +/include/xbt/strbuff.h 1281 +/include/xbt/virtu.h 684 +/include/xbt/asserts.h 1871 +/include/xbt/ex.h 23255 +/include/xbt/graph.h 5668 +/include/xbt/graphxml.h 5474 +/include/xbt/queue.h 2252 +/include/xbt/matrix.h 3027 +/include/xbt/setset.h 2422 +/include/xbt/time.h 743 +/include/xbt/lib.h 2014 +/include/xbt/hash.h 1064 +/include/xbt/set.h 4383 +/include/xbt/config.h 9224 +/include/xbt/sysdep.h 4941 +/include/xbt/swag.h 5352 +/include/xbt/graphxml_parse.h 1926 +/include/xbt/peer.h 870 +/include/xbt/module.h 648 +/include/xbt/cunit.h 5523 +/include/xbt/parmap.h 1166 +/include/xbt/mallocator.h 2296 +/include/xbt/dynar.h 9553 +/include/xbt/heap.h 1444 +/include/xbt.h 876 +/include/msg/datatypes.h 4635 +/include/msg/msg.h 12038 +/include/simgrid_config.h 3641 +/include/mc/modelchecker.h 96 +/include/surf/simgrid_dtd.h 23583 +/include/surf/surf_routing.h 1167 +/include/surf/surfxml_parse.h 5343 +/include/instr/instr.h 5750 +/include/simdag/simdag.h 10325 +/include/simdag/datatypes.h 3715 +/include/simix/simix.h 13003 +/include/simix/datatypes.h 3346 +/include/simix/context.h 4040 +/lib/libsimgrid.so.3.6.2 12710497 +/bin/smpicc 918 +/bin/smpirun 7292 +/bin/smpif2c 1990 +/bin/simgrid_update_xml 5018 +/bin/graphicator 66986 +/bin/simgrid-colorizer 2993 +/bin/smpiff 820 +/bin/tesh 356434 diff --git a/examples/platforms/content/win_storage_content.txt b/examples/platforms/content/win_storage_content.txt index cf109af3fa..48972cabdd 100644 --- a/examples/platforms/content/win_storage_content.txt +++ b/examples/platforms/content/win_storage_content.txt @@ -1,36 +1,36 @@ -.\Windows\avastSS.scr 41664 -.\Windows\bfsvc.exe 75264 -.\Windows\bootstat.dat 67584 -.\Windows\CoreSingleLanguage.xml 31497 -.\Windows\csup.txt 12 -.\Windows\dchcfg64.exe 335464 -.\Windows\dcmdev64.exe 93288 -.\Windows\DirectX.log 10486 -.\Windows\DPINST.LOG 18944 -.\Windows\DtcInstall.log 1955 -.\Windows\explorer.exe 2380944 -.\Windows\font1.sii 4907 -.\Windows\font2.sii 8698 -.\Windows\hapint.exe 382056 -.\Windows\HelpPane.exe 883712 -.\Windows\hh.exe 17408 -.\Windows\MEMORY.DMP 2384027342 -.\Windows\mib.bin 43131 -.\Windows\notepad.exe 243712 -.\Windows\PFRO.log 6770 -.\Windows\Professional.xml 31881 -.\Windows\regedit.exe 159232 -.\Windows\setupact.log 101663 -.\Windows\setuperr.log 0 -.\Windows\splwow64.exe 126464 -.\Windows\Starter.xml 31537 -.\Windows\system.ini 219 -.\Windows\twain_32.dll 50176 -.\Windows\vmgcoinstall.log 1585 -.\Windows\win.ini 92 -.\Windows\WindowsUpdate.log 1518934 -.\Windows\winhlp32.exe 10752 -.\Windows\WLXPGSS.SCR 322048 -.\Windows\WMSysPr9.prx 316640 -.\Windows\write.exe 10752 -.\Windows\_isusr32.dll 180320 \ No newline at end of file +\Windows\avastSS.scr 41664 +\Windows\bfsvc.exe 75264 +\Windows\bootstat.dat 67584 +\Windows\CoreSingleLanguage.xml 31497 +\Windows\csup.txt 12 +\Windows\dchcfg64.exe 335464 +\Windows\dcmdev64.exe 93288 +\Windows\DirectX.log 10486 +\Windows\DPINST.LOG 18944 +\Windows\DtcInstall.log 1955 +\Windows\explorer.exe 2380944 +\Windows\font1.sii 4907 +\Windows\font2.sii 8698 +\Windows\hapint.exe 382056 +\Windows\HelpPane.exe 883712 +\Windows\hh.exe 17408 +\Windows\MEMORY.DMP 2384027342 +\Windows\mib.bin 43131 +\Windows\notepad.exe 243712 +\Windows\PFRO.log 6770 +\Windows\Professional.xml 31881 +\Windows\regedit.exe 159232 +\Windows\setupact.log 101663 +\Windows\setuperr.log 0 +\Windows\splwow64.exe 126464 +\Windows\Starter.xml 31537 +\Windows\system.ini 219 +\Windows\twain_32.dll 50176 +\Windows\vmgcoinstall.log 1585 +\Windows\win.ini 92 +\Windows\WindowsUpdate.log 1518934 +\Windows\winhlp32.exe 10752 +\Windows\WLXPGSS.SCR 322048 +\Windows\WMSysPr9.prx 316640 +\Windows\write.exe 10752 +\Windows\_isusr32.dll 180320 \ No newline at end of file diff --git a/examples/platforms/storage.xml b/examples/platforms/storage.xml index 7ad5b020ac..988e40b709 100644 --- a/examples/platforms/storage.xml +++ b/examples/platforms/storage.xml @@ -37,7 +37,7 @@ - + @@ -45,7 +45,7 @@ - + diff --git a/examples/simdag/io/io.tesh b/examples/simdag/io/io.tesh index 928bd2e624..2f2ceed7f5 100644 --- a/examples/simdag/io/io.tesh +++ b/examples/simdag/io/io.tesh @@ -1,8 +1,8 @@ #! ./tesh $ ${bindir:=.}/io/sd_io ${srcdir:=.}/examples/platforms/storage.xml +> [0.000000] [sd_io/INFO] Workstation 'denise' mounts 'c:' > [0.000000] [sd_io/INFO] Workstation 'denise' mounts '/home' -> [0.000000] [sd_io/INFO] Workstation 'denise' mounts '/windows' -> [0.000000] [sd_io/INFO] Workstation 'alice' mounts '/windows' +> [0.000000] [sd_io/INFO] Workstation 'alice' mounts 'c:' > [0.000000] [sd_io/INFO] Workstation 'carl' mounts '/home' > [0.000000] [sd_io/INFO] Workstation 'bob' mounts '/home' diff --git a/include/msg/datatypes.h b/include/msg/datatypes.h index bd2ced126a..b76e6c3006 100644 --- a/include/msg/datatypes.h +++ b/include/msg/datatypes.h @@ -110,7 +110,7 @@ extern int MSG_FILE_LEVEL; typedef struct simdata_file *simdata_file_t; typedef struct msg_file_priv { - char *fullname; + char *fullpath; sg_size_t size; char* mount_point; char* storageId; diff --git a/include/msg/msg.h b/include/msg/msg.h index e3e5bee730..cf6e52b931 100644 --- a/include/msg/msg.h +++ b/include/msg/msg.h @@ -83,8 +83,7 @@ XBT_PUBLIC(xbt_dynar_t) MSG_environment_as_get_hosts(msg_as_t as); /************************** File handling ***********************************/ XBT_PUBLIC(sg_size_t) MSG_file_read(msg_file_t fd, sg_size_t size); XBT_PUBLIC(sg_size_t) MSG_file_write(msg_file_t fd, sg_size_t size); -XBT_PUBLIC(msg_file_t) MSG_file_open(const char* mount, const char* path, - void* data); +XBT_PUBLIC(msg_file_t) MSG_file_open(const char* fullpath, void* data); XBT_PUBLIC(void*) MSG_file_get_data(msg_file_t fd); XBT_PUBLIC(msg_error_t) MSG_file_set_data(msg_file_t fd, void * data); XBT_PUBLIC(int) MSG_file_close(msg_file_t fd); diff --git a/include/simgrid/simix.h b/include/simgrid/simix.h index 02ef86dda6..611453866e 100644 --- a/include/simgrid/simix.h +++ b/include/simgrid/simix.h @@ -490,7 +490,7 @@ XBT_PUBLIC(void *) simcall_file_get_data(smx_file_t fd); XBT_PUBLIC(void) simcall_file_set_data(smx_file_t fd, void *data); XBT_PUBLIC(sg_size_t) simcall_file_read(smx_file_t fd, sg_size_t size); XBT_PUBLIC(sg_size_t) simcall_file_write(smx_file_t fd, sg_size_t size); -XBT_PUBLIC(smx_file_t) simcall_file_open(const char* storage, const char* path); +XBT_PUBLIC(smx_file_t) simcall_file_open(const char* fullpath); XBT_PUBLIC(int) simcall_file_close(smx_file_t fd); XBT_PUBLIC(int) simcall_file_unlink(smx_file_t fd); XBT_PUBLIC(xbt_dict_t) simcall_file_ls(const char* mount, const char* path); diff --git a/src/include/surf/surf.h b/src/include/surf/surf.h index e83c9fa2dc..0eeb7c2536 100644 --- a/src/include/surf/surf.h +++ b/src/include/surf/surf.h @@ -413,7 +413,7 @@ XBT_PUBLIC(surf_action_t) surf_workstation_sleep(surf_resource_t resource, doubl * @param path The path to the file * @return The surf action corresponding to the openning */ -XBT_PUBLIC(surf_action_t) surf_workstation_open(surf_resource_t workstation, const char* mount, const char* path); +XBT_PUBLIC(surf_action_t) surf_workstation_open(surf_resource_t workstation, const char* fullpath); /** * @brief Close a file descriptor on a workstation diff --git a/src/msg/msg_io.c b/src/msg/msg_io.c index b5667c255f..ec54dd9a59 100644 --- a/src/msg/msg_io.c +++ b/src/msg/msg_io.c @@ -73,13 +73,13 @@ void MSG_file_dump (msg_file_t fd){ msg_file_priv_t priv = MSG_file_priv(fd); XBT_INFO("File Descriptor information:\n" - "\t\tFull name: '%s'\n" + "\t\tFull path: '%s'\n" "\t\tSize: %llu\n" "\t\tMount point: '%s'\n" "\t\tStorage Id: '%s'\n" "\t\tStorage Type: '%s'\n" "\t\tContent Type: '%s'", - priv->fullname, priv->size, priv->mount_point, + priv->fullpath, priv->size, priv->mount_point, priv->storageId, priv->storage_type, priv->content_type); } @@ -114,20 +114,20 @@ sg_size_t MSG_file_write(msg_file_t fd, sg_size_t size) * \brief Opens the file whose name is the string pointed to by path * * \param mount is the mount point where find the file is located - * \param fullname is the file location on the storage + * \param fullpath is the file location on the storage * \param data user data to attach to the file * * \return An #msg_file_t associated to the file */ -msg_file_t MSG_file_open(const char* mount,const char* fullname, void* data) +msg_file_t MSG_file_open(const char* fullpath, void* data) { msg_file_priv_t priv = xbt_new(s_msg_file_priv_t, 1); priv->data = data; - priv->fullname = xbt_strdup(fullname); + priv->fullpath = xbt_strdup(fullpath); priv->simdata = xbt_new0(s_simdata_file_t,1); - priv->simdata->smx_file = simcall_file_open(mount, fullname); - xbt_lib_set(file_lib, fullname, MSG_FILE_LEVEL, priv); - return (msg_file_t) xbt_lib_get_elm_or_null(file_lib, fullname); + priv->simdata->smx_file = simcall_file_open(fullpath); + xbt_lib_set(file_lib, fullpath, MSG_FILE_LEVEL, priv); + return (msg_file_t) xbt_lib_get_elm_or_null(file_lib, fullpath); } /** @@ -149,7 +149,7 @@ int MSG_file_close(msg_file_t fd) { msg_file_priv_t priv = MSG_file_priv(fd); int res = simcall_file_close(priv->simdata->smx_file); - xbt_lib_unset(file_lib, priv->fullname, MSG_FILE_LEVEL, 1); + xbt_lib_unset(file_lib, priv->fullpath, MSG_FILE_LEVEL, 1); return res; } @@ -240,7 +240,7 @@ sg_size_t MSG_file_tell(msg_file_t fd) const char *MSG_file_get_name(msg_file_t fd) { xbt_assert((fd != NULL), "Invalid parameters"); msg_file_priv_t priv = MSG_file_priv(fd); - return priv->fullname; + return priv->fullpath; } @@ -248,7 +248,7 @@ const char *MSG_file_get_name(msg_file_t fd) { * \brief Destroys a file (internal call only) */ void __MSG_file_destroy(msg_file_priv_t file) { - xbt_free(file->fullname); + xbt_free(file->fullpath); xbt_free(file->simdata); xbt_free(file); } diff --git a/src/simix/simcalls.in b/src/simix/simcalls.in index 8328b476a7..59865c8b22 100644 --- a/src/simix/simcalls.in +++ b/src/simix/simcalls.in @@ -110,7 +110,7 @@ sem_acquire_timeout False (void) (sem, void*, smx_sem_t) (timeout, double) sem_get_capacity True (int) (sem, void*, smx_sem_t) file_read False (sg_size_t) (fd, void*, smx_file_t) (size, sg_size_t) file_write False (sg_size_t) (fd, void*, smx_file_t) (size, sg_size_t) -file_open False (void*, smx_file_t) (mount, const char*) (path, const char*) +file_open False (void*, smx_file_t) (fullpath, const char*) file_close False (int) (fd, void*, smx_file_t) file_unlink True (int) (fd, void*, smx_file_t) file_ls False (void*, xbt_dict_t) (mount, const char*) (path, const char*) diff --git a/src/simix/simcalls_generated_args_getter_setter.h b/src/simix/simcalls_generated_args_getter_setter.h index 052c837a8a..e76f174fd4 100644 --- a/src/simix/simcalls_generated_args_getter_setter.h +++ b/src/simix/simcalls_generated_args_getter_setter.h @@ -1076,18 +1076,12 @@ static inline sg_size_t simcall_file_write__get__size(smx_simcall_t simcall){ static inline void simcall_file_write__set__size(smx_simcall_t simcall, sg_size_t arg){ simcall->args[1].sgsz = arg; } -static inline const char* simcall_file_open__get__mount(smx_simcall_t simcall){ +static inline const char* simcall_file_open__get__fullpath(smx_simcall_t simcall){ return simcall->args[0].cc; } -static inline void simcall_file_open__set__mount(smx_simcall_t simcall, const char* arg){ +static inline void simcall_file_open__set__fullpath(smx_simcall_t simcall, const char* arg){ simcall->args[0].cc = arg; } -static inline const char* simcall_file_open__get__path(smx_simcall_t simcall){ - return simcall->args[1].cc; -} -static inline void simcall_file_open__set__path(smx_simcall_t simcall, const char* arg){ - simcall->args[1].cc = arg; -} static inline smx_file_t simcall_file_close__get__fd(smx_simcall_t simcall){ return (smx_file_t) simcall->args[0].dp; } diff --git a/src/simix/simcalls_generated_body.c b/src/simix/simcalls_generated_body.c index 8b98b8e693..c37a78b52e 100644 --- a/src/simix/simcalls_generated_body.c +++ b/src/simix/simcalls_generated_body.c @@ -1642,13 +1642,12 @@ } return self->simcall.result.sgsz; } - inline static smx_file_t simcall_BODY_file_open(const char* mount, const char* path) { + inline static smx_file_t simcall_BODY_file_open(const char* fullpath) { smx_process_t self = SIMIX_process_self(); self->simcall.call = SIMCALL_FILE_OPEN; memset(&self->simcall.result, 0, sizeof(self->simcall.result)); memset(self->simcall.args, 0, sizeof(self->simcall.args)); - self->simcall.args[0].cc = (const char*) mount; - self->simcall.args[1].cc = (const char*) path; + self->simcall.args[0].cc = (const char*) fullpath; if (self != simix_global->maestro_process) { XBT_DEBUG("Yield process '%s' on simcall %s (%d)", self->name, SIMIX_simcall_name(self->simcall.call), (int)self->simcall.call); diff --git a/src/simix/simcalls_generated_case.c b/src/simix/simcalls_generated_case.c index aa0946a51b..cc672efe05 100644 --- a/src/simix/simcalls_generated_case.c +++ b/src/simix/simcalls_generated_case.c @@ -510,7 +510,7 @@ case SIMCALL_FILE_WRITE: break; case SIMCALL_FILE_OPEN: - SIMIX_pre_file_open(simcall , simcall->args[0].cc, simcall->args[1].cc); + SIMIX_pre_file_open(simcall , simcall->args[0].cc); break; case SIMCALL_FILE_CLOSE: diff --git a/src/simix/smx_io.c b/src/simix/smx_io.c index eee26b21f5..5bfbe2060e 100644 --- a/src/simix/smx_io.c +++ b/src/simix/smx_io.c @@ -120,16 +120,14 @@ smx_action_t SIMIX_file_write(smx_process_t process, smx_file_t fd, sg_size_t si } //SIMIX FILE OPEN -void SIMIX_pre_file_open(smx_simcall_t simcall, const char* mount, - const char* path) +void SIMIX_pre_file_open(smx_simcall_t simcall, const char* fullpath) { - smx_action_t action = SIMIX_file_open(simcall->issuer, mount, path); + smx_action_t action = SIMIX_file_open(simcall->issuer, fullpath); xbt_fifo_push(action->simcalls, simcall); simcall->issuer->waiting_action = action; } -smx_action_t SIMIX_file_open(smx_process_t process ,const char* mount, - const char* path) +smx_action_t SIMIX_file_open(smx_process_t process, const char* fullpath) { smx_action_t action; smx_host_t host = process->smx_host; @@ -148,7 +146,7 @@ smx_action_t SIMIX_file_open(smx_process_t process ,const char* mount, #endif action->io.host = host; - action->io.surf_io = surf_workstation_open(host, mount, path); + action->io.surf_io = surf_workstation_open(host, fullpath); surf_action_set_data(action->io.surf_io, action); XBT_DEBUG("Create io action %p", action); diff --git a/src/simix/smx_io_private.h b/src/simix/smx_io_private.h index ad7598d87f..f55facee79 100644 --- a/src/simix/smx_io_private.h +++ b/src/simix/smx_io_private.h @@ -24,8 +24,7 @@ smx_storage_t SIMIX_storage_create(const char *name, void *storage, void *data); void SIMIX_storage_destroy(void *s); void SIMIX_pre_file_read(smx_simcall_t simcall, smx_file_t fd, sg_size_t size); void SIMIX_pre_file_write(smx_simcall_t simcall,smx_file_t fd, sg_size_t size); -void SIMIX_pre_file_open(smx_simcall_t simcall, const char* mount, - const char* path); +void SIMIX_pre_file_open(smx_simcall_t simcall, const char* fullpath); void SIMIX_pre_file_close(smx_simcall_t simcall, smx_file_t fd); int SIMIX_pre_file_unlink(smx_simcall_t simcall, smx_file_t fd); void SIMIX_pre_file_ls(smx_simcall_t simcall, @@ -38,8 +37,7 @@ void SIMIX_pre_storage_file_rename(smx_simcall_t simcall,smx_storage_t storage, smx_action_t SIMIX_file_read(smx_process_t process, smx_file_t fd, sg_size_t size); smx_action_t SIMIX_file_write(smx_process_t process, smx_file_t fd, sg_size_t size); -smx_action_t SIMIX_file_open(smx_process_t process, const char* storage, - const char* path); +smx_action_t SIMIX_file_open(smx_process_t process, const char* fullpath); smx_action_t SIMIX_file_close(smx_process_t process, smx_file_t fd); int SIMIX_file_unlink(smx_process_t process, smx_file_t fd); smx_action_t SIMIX_file_ls(smx_process_t process, const char *mount, diff --git a/src/simix/smx_user.c b/src/simix/smx_user.c index 8feee85b1f..61ffbfec21 100644 --- a/src/simix/smx_user.c +++ b/src/simix/smx_user.c @@ -1336,9 +1336,9 @@ sg_size_t simcall_file_write(smx_file_t fd, sg_size_t size) * \ingroup simix_file_management * \brief */ -smx_file_t simcall_file_open(const char* mount, const char* path) +smx_file_t simcall_file_open(const char* fullpath) { - return simcall_BODY_file_open(mount, path); + return simcall_BODY_file_open(fullpath); } /** diff --git a/src/surf/storage_interface.hpp b/src/surf/storage_interface.hpp index d70771c2f0..5b89f8d638 100644 --- a/src/surf/storage_interface.hpp +++ b/src/surf/storage_interface.hpp @@ -182,7 +182,7 @@ public: * * @return The StorageAction corresponding to the opening */ - virtual StorageActionPtr open(const char* mount, const char* path)=0; + virtual StorageActionPtr open(const char* mount, char* path)=0; /** * @brief Close a file diff --git a/src/surf/storage_n11.cpp b/src/surf/storage_n11.cpp index c5395d6960..e384fb8a4b 100644 --- a/src/surf/storage_n11.cpp +++ b/src/surf/storage_n11.cpp @@ -406,9 +406,10 @@ StorageActionPtr StorageN11::ls(const char* path) return action; } -StorageActionPtr StorageN11::open(const char* mount, const char* path) +StorageActionPtr StorageN11::open(const char* mount, char* path) { XBT_DEBUG("\tOpen file '%s'",path); + sg_size_t size, *psize; psize = (sg_size_t*) xbt_dict_get_or_null(p_content, path); // if file does not exist create an empty file @@ -429,6 +430,7 @@ StorageActionPtr StorageN11::open(const char* mount, const char* path) StorageActionPtr action = new StorageN11Action(getModel(), 0, getState() != SURF_RESOURCE_ON, this, OPEN); action->p_file = file; + return action; } diff --git a/src/surf/storage_n11.hpp b/src/surf/storage_n11.hpp index 93f4f3a636..f682ea558f 100644 --- a/src/surf/storage_n11.hpp +++ b/src/surf/storage_n11.hpp @@ -53,7 +53,7 @@ public: lmm_system_t maxminSystem, double bread, double bwrite, double bconnection, const char* type_id, char *content_name, char *content_type, sg_size_t size, char *attach); - StorageActionPtr open(const char* mount, const char* path); + StorageActionPtr open(const char* mount, char* path); StorageActionPtr close(surf_file_t fd); StorageActionPtr ls(const char *path); StorageActionPtr read(surf_file_t fd, sg_size_t size);//FIXME:why we have a useless param ptr ?? diff --git a/src/surf/surf_c_bindings.cpp b/src/surf/surf_c_bindings.cpp index 9d364aaedb..c4326917c9 100644 --- a/src/surf/surf_c_bindings.cpp +++ b/src/surf/surf_c_bindings.cpp @@ -360,8 +360,8 @@ xbt_dynar_t surf_workstation_get_attached_storage_list(surf_resource_t workstati return get_casted_workstation(workstation)->getAttachedStorageList(); } -surf_action_t surf_workstation_open(surf_resource_t workstation, const char* mount, const char* path){ - return get_casted_workstation(workstation)->open(mount, path); +surf_action_t surf_workstation_open(surf_resource_t workstation, const char* fullpath){ + return get_casted_workstation(workstation)->open(fullpath); } surf_action_t surf_workstation_close(surf_resource_t workstation, surf_file_t fd){ diff --git a/src/surf/workstation_interface.cpp b/src/surf/workstation_interface.cpp index 71718e312e..06a52f62aa 100644 --- a/src/surf/workstation_interface.cpp +++ b/src/surf/workstation_interface.cpp @@ -201,10 +201,41 @@ xbt_dynar_t Workstation::getAttachedStorageList() return result; } -ActionPtr Workstation::open(const char* mount, const char* path) { - StoragePtr st = findStorageOnMountList(mount); - XBT_DEBUG("OPEN on disk '%s'", st->getName()); - return st->open(mount, path); +ActionPtr Workstation::open(const char* fullpath) { + + StoragePtr st = NULL; + s_mount_t mnt; + unsigned int cursor; + size_t pos = 0; + char *path, *mount_name; + + XBT_DEBUG("Search for storage name for '%s' on '%s'", fullpath, getName()); + xbt_dynar_foreach(p_storage,cursor,mnt) + { + XBT_DEBUG("See '%s'",mnt.name); + char *file_mount_name = NULL; + file_mount_name = xbt_new(char,strlen(mnt.name)+1); + strncpy(file_mount_name,fullpath,strlen(mnt.name)); + file_mount_name[strlen(mnt.name)] = '\0'; + + if(!strcmp(file_mount_name,mnt.name) && strlen(mnt.name)>pos) + {/* The current mount name is found in the full path and is bigger than the previous*/ + pos = strlen(mnt.name); + mount_name = mnt.name; + st = static_cast(mnt.storage); + } + xbt_free(file_mount_name); + } + if(pos>0) + { /* Mount point found, deduce path + file name from full path (full path = mount name + path + file name)*/ + path = xbt_new(char, strlen(fullpath)-strlen(mount_name)); + strncpy(path, fullpath+pos, strlen(fullpath)-strlen(mount_name)+1); + XBT_INFO("TROUVE"); + } + else + xbt_die("Can't find mount point for '%s' on '%s'", fullpath, getName()); + + return st->open(mount_name, path); } ActionPtr Workstation::close(surf_file_t fd) { diff --git a/src/surf/workstation_interface.hpp b/src/surf/workstation_interface.hpp index 3357edb60d..621771d0f1 100644 --- a/src/surf/workstation_interface.hpp +++ b/src/surf/workstation_interface.hpp @@ -259,11 +259,11 @@ public: * @brief Open a file * * @param mount The mount point - * @param path The path to the file + * @param path The full path to the file * * @return The StorageAction corresponding to the opening */ - virtual ActionPtr open(const char* mount, const char* path); + virtual ActionPtr open(const char* fullpath); /** * @brief Close a file diff --git a/teshsuite/msg/storage/storage_basic.c b/teshsuite/msg/storage/storage_basic.c index fa5f5ead5d..38e07ee6a1 100644 --- a/teshsuite/msg/storage/storage_basic.c +++ b/teshsuite/msg/storage/storage_basic.c @@ -12,7 +12,7 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(storage,"Messages specific for this simulation"); void storage_info(msg_host_t host); void display_storage_properties(msg_storage_t storage); int hsm_put(const char *remote_host, const char *src, const char *dest); -sg_size_t write_local_file(char *dest, sg_size_t file_size); +sg_size_t write_local_file(const char *dest, sg_size_t file_size); sg_size_t read_local_file(const char *src); void dump_storage_by_name(char *name); void display_storage_content(msg_storage_t storage); @@ -76,10 +76,10 @@ int hsm_put(const char *remote_host, const char *src, const char *dest){ return 1; } -sg_size_t write_local_file(char *dest, sg_size_t file_size) +sg_size_t write_local_file(const char *dest, sg_size_t file_size) { sg_size_t written; - msg_file_t file = MSG_file_open("/sd1",dest, NULL); + msg_file_t file = MSG_file_open(dest, NULL); written = MSG_file_write(file, file_size); XBT_INFO("%llu bytes on %llu bytes have been written by %s on /sd1",written, file_size, MSG_host_get_name(MSG_host_self())); MSG_file_close(file); @@ -89,7 +89,7 @@ sg_size_t write_local_file(char *dest, sg_size_t file_size) sg_size_t read_local_file(const char *src) { sg_size_t read, file_size; - msg_file_t file = MSG_file_open("/sd1",src, NULL); + msg_file_t file = MSG_file_open(src, NULL); file_size = MSG_file_get_size(file); read = MSG_file_read(file, file_size); @@ -140,9 +140,9 @@ void get_set_storage_data(const char *storage_name){ int client(int argc, char *argv[]) { - hsm_put("server","./doc/simgrid/examples/cxx/autoDestination/FinalizeTask.cxx","./scratch/toto.cxx"); - hsm_put("server","./doc/simgrid/examples/cxx/autoDestination/autoDestination_deployment.xml","./scratch/titi.xml"); - hsm_put("server","./doc/simgrid/examples/cxx/autoDestination/Slave.cxx","./scratch/tata.cxx"); + hsm_put("server","/sd1/doc/simgrid/examples/cxx/autoDestination/FinalizeTask.cxx","/sd2/scratch/toto.cxx"); + hsm_put("server","/sd1/doc/simgrid/examples/cxx/autoDestination/autoDestination_deployment.xml","/sd2/scratch/titi.xml"); + hsm_put("server","/sd1/doc/simgrid/examples/cxx/autoDestination/Slave.cxx","/sd2/scratch/tata.cxx"); msg_task_t finalize = MSG_task_create("finalize", 0, 0, NULL); MSG_task_send(finalize, "server"); diff --git a/teshsuite/msg/storage/storage_content_c.txt b/teshsuite/msg/storage/storage_content_c.txt index 1c5713fc83..e495e7e3c4 100644 --- a/teshsuite/msg/storage/storage_content_c.txt +++ b/teshsuite/msg/storage/storage_content_c.txt @@ -1,5 +1,5 @@ -./doc/simgrid/examples/cxx/autoDestination/FinalizeTask.cxx 500001 -./doc/simgrid/examples/cxx/autoDestination/autoDestination_deployment.xml 800000 -./doc/simgrid/examples/cxx/autoDestination/Main.cxx 75000000 -./doc/simgrid/examples/cxx/autoDestination/Slave.cxx 45800000 -./doc/simgrid/examples/cxx/autoDestination/BasicTask.cxx 400000 +/doc/simgrid/examples/cxx/autoDestination/FinalizeTask.cxx 500001 +/doc/simgrid/examples/cxx/autoDestination/autoDestination_deployment.xml 800000 +/doc/simgrid/examples/cxx/autoDestination/Main.cxx 75000000 +/doc/simgrid/examples/cxx/autoDestination/Slave.cxx 45800000 +/doc/simgrid/examples/cxx/autoDestination/BasicTask.cxx 400000 diff --git a/teshsuite/msg/storage/storage_content_s1.txt b/teshsuite/msg/storage/storage_content_s1.txt index 34cb554c7c..f2adbfbd6c 100644 --- a/teshsuite/msg/storage/storage_content_s1.txt +++ b/teshsuite/msg/storage/storage_content_s1.txt @@ -1,4 +1,4 @@ -./doc/simgrid/examples/cxx/autoDestination/Master.cxx 10 -./doc/simgrid/examples/cxx/autoDestination/autoDestination_platform.xml 10 -./doc/simgrid/examples/cxx/autoDestination/Forwarder.cxx 10 -./doc/simgrid/examples/cxx/basic/FinalizeTask.cxx 10 +/doc/simgrid/examples/cxx/autoDestination/Master.cxx 10 +/doc/simgrid/examples/cxx/autoDestination/autoDestination_platform.xml 10 +/doc/simgrid/examples/cxx/autoDestination/Forwarder.cxx 10 +/doc/simgrid/examples/cxx/basic/FinalizeTask.cxx 10 diff --git a/teshsuite/msg/storage/storage_content_s2.txt b/teshsuite/msg/storage/storage_content_s2.txt index 06ed884aa8..e1497a00b3 100644 --- a/teshsuite/msg/storage/storage_content_s2.txt +++ b/teshsuite/msg/storage/storage_content_s2.txt @@ -1,2 +1,2 @@ -./doc/simgrid/examples/cxx/basic/Main.cxx 10 -./doc/simgrid/examples/cxx/basic/Slave.cxx 10 \ No newline at end of file +/doc/simgrid/examples/cxx/basic/Main.cxx 10 +/doc/simgrid/examples/cxx/basic/Slave.cxx 10 \ No newline at end of file