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
[simix] More generic mapping between function name and actor code
[simgrid.git]
/
src
/
mc
/
mc_smx.cpp
diff --git
a/src/mc/mc_smx.cpp
b/src/mc/mc_smx.cpp
index
8ed0249
..
b7135d6
100644
(file)
--- a/
src/mc/mc_smx.cpp
+++ b/
src/mc/mc_smx.cpp
@@
-84,7
+84,7
@@
void Process::refresh_simix()
this->read_variable("simix_global", &simix_global_p, sizeof(simix_global_p));
// simix_global = REMOTE(*simix_global)
this->read_variable("simix_global", &simix_global_p, sizeof(simix_global_p));
// simix_global = REMOTE(*simix_global)
- s
_smx_global_t
simix_global;
+ s
imgrid::simix::Global
simix_global;
this->read_bytes(&simix_global, sizeof(simix_global),
remote(simix_global_p));
this->read_bytes(&simix_global, sizeof(simix_global),
remote(simix_global_p));
@@
-136,7
+136,7
@@
const char* MC_smx_process_get_host_name(smx_process_t p)
/* HACK, Horrible hack to find the offset of the id in the simgrid::s4u::Host.
Offsetof is not supported for non-POD types but this should
/* HACK, Horrible hack to find the offset of the id in the simgrid::s4u::Host.
Offsetof is not supported for non-POD types but this should
- work in pratice for the targets currently supported by the MC
+ work in pra
c
tice for the targets currently supported by the MC
as long as we do not add funny features to the Host class
(such as virtual base).
as long as we do not add funny features to the Host class
(such as virtual base).