-/* Copyright (c) 2007, 2009-2014. The SimGrid Team.
+/* Copyright (c) 2007, 2009-2015. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
typedef struct s_smpi_mpi_request {
void *buf;
- /* in the case of non-contignous memory the user address shoud be keep
+ /* in the case of non-contiguous memory the user address should be keep
* to unserialize the data inside the user memory*/
void *old_buf;
- /* this let us know how tounserialize at the end of
+ /* this let us know how to unserialize at the end of
* the communication*/
MPI_Datatype old_type;
size_t size;
extern double smpi_cpu_threshold;
extern double smpi_running_power;
extern int smpi_privatize_global_variables;
-extern char* start_data_exe; //start of the data+bss segment of the executable
-extern int size_data_exe; //size of the data+bss segment of the executable
+extern char* smpi_start_data_exe; //start of the data+bss segment of the executable
+extern int smpi_size_data_exe; //size of the data+bss segment of the executable
void smpi_switch_data_segment(int dest);
typedef struct s_smpi_privatisation_region {
void* address;
int file_descriptor;
-} *smpi_privatisation_region_t;
+} s_smpi_privatisation_region_t, *smpi_privatisation_region_t;
extern smpi_privatisation_region_t smpi_privatisation_regions;
-
extern int smpi_loaded_page;
+extern int smpi_universe_size;
int SIMIX_process_get_PID(smx_process_t self);