A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SMPI] Renamed global memory init function
[simgrid.git]
/
src
/
smpi
/
internals
/
smpi_memory.cpp
diff --git
a/src/smpi/internals/smpi_memory.cpp
b/src/smpi/internals/smpi_memory.cpp
index
642f46a
..
b3a9fd1
100644
(file)
--- a/
src/smpi/internals/smpi_memory.cpp
+++ b/
src/smpi/internals/smpi_memory.cpp
@@
-137,14
+137,14
@@
int smpi_is_privatization_file(char* file)
// TODO: cheinrich: The behavior changed; this now only makes a backup of the
// data segment. I think the function should be renamed.
// TODO: cheinrich: The behavior changed; this now only makes a backup of the
// data segment. I think the function should be renamed.
-void smpi_
initialize_global_memory_segments
()
+void smpi_
backup_global_memory_segment
()
{
#if HAVE_PRIVATIZATION
smpi_get_executable_global_size();
XBT_DEBUG("bss+data segment found : size %d starting at %p", smpi_data_exe_size, smpi_data_exe_start);
{
#if HAVE_PRIVATIZATION
smpi_get_executable_global_size();
XBT_DEBUG("bss+data segment found : size %d starting at %p", smpi_data_exe_size, smpi_data_exe_start);
- if (smpi_data_exe_size == 0) { // no need to
switch
as global variables don't exist
+ if (smpi_data_exe_size == 0) { // no need to
do anything
as global variables don't exist
smpi_privatize_global_variables=false;
return;
}
smpi_privatize_global_variables=false;
return;
}