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
give the VM a link to their PM as a simgrid::Host
[simgrid.git]
/
src
/
mc
/
mc_smx.cpp
diff --git
a/src/mc/mc_smx.cpp
b/src/mc/mc_smx.cpp
index
f513359
..
325ea15
100644
(file)
--- a/
src/mc/mc_smx.cpp
+++ b/
src/mc/mc_smx.cpp
@@
-196,7
+196,7
@@
const char* MC_smx_process_get_host_name(smx_process_t p)
~fake_host() {}
};
fake_host foo;
~fake_host() {}
};
fake_host foo;
- const size_t offset = (char*) &foo.host.
id
() - (char*) &foo.host;
+ const size_t offset = (char*) &foo.host.
getName
() - (char*) &foo.host;
// Read the simgrid::xbt::string in the MCed process:
mc_smx_process_info_t info = MC_smx_process_get_info(p);
// Read the simgrid::xbt::string in the MCed process:
mc_smx_process_info_t info = MC_smx_process_get_info(p);