X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3080c6b0d097d6b3b7d5b3dda0592154ce438f64..548d489d0654223b4c025f22ba047bb19d2c5293:/src/smpi/smpi_bench.c diff --git a/src/smpi/smpi_bench.c b/src/smpi/smpi_bench.c index e33d659375..4138cac7e6 100644 --- a/src/smpi/smpi_bench.c +++ b/src/smpi/smpi_bench.c @@ -74,6 +74,7 @@ double smpi_cpu_threshold; double smpi_running_power; int* fds; +size_t mappings_count = 0; void** mappings; int loaded_page = -1; char* start_data_exe = NULL; @@ -610,7 +611,6 @@ void switch_data_segment(int dest){ if (loaded_page==dest)//no need to switch either return; - #ifdef HAVE_MMAP int i; if(loaded_page==-1){//initial switch, do the copy from the real page here