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
[sonar] Inherit from std::exception.
[simgrid.git]
/
src
/
mc
/
mc_smx.cpp
diff --git
a/src/mc/mc_smx.cpp
b/src/mc/mc_smx.cpp
index
c1ea4b3
..
920a9a2
100644
(file)
--- a/
src/mc/mc_smx.cpp
+++ b/
src/mc/mc_smx.cpp
@@
-19,7
+19,7
@@
using simgrid::mc::remote;
static inline simgrid::mc::ActorInformation* actor_info_cast(smx_actor_t actor)
{
simgrid::mc::ActorInformation temp;
static inline simgrid::mc::ActorInformation* actor_info_cast(smx_actor_t actor)
{
simgrid::mc::ActorInformation temp;
- std::size_t offset = (char*)
temp.copy.getB
uffer() - (char*)&temp;
+ std::size_t offset = (char*)
temp.copy.get_b
uffer() - (char*)&temp;
simgrid::mc::ActorInformation* process_info = (simgrid::mc::ActorInformation*)((char*)actor - offset);
return process_info;
simgrid::mc::ActorInformation* process_info = (simgrid::mc::ActorInformation*)((char*)actor - offset);
return process_info;
@@
-77,9
+77,9
@@
void RemoteClient::refresh_simix()
Remote<simgrid::simix::Global> simix_global =
this->read<simgrid::simix::Global>(simix_global_p);
Remote<simgrid::simix::Global> simix_global =
this->read<simgrid::simix::Global>(simix_global_p);
- MC_process_refresh_simix_actor_dynar(this, this->smx_actors_infos, remote(simix_global.get
B
uffer()->actors_vector));
+ MC_process_refresh_simix_actor_dynar(this, this->smx_actors_infos, remote(simix_global.get
_b
uffer()->actors_vector));
MC_process_refresh_simix_actor_dynar(this, this->smx_dead_actors_infos,
MC_process_refresh_simix_actor_dynar(this, this->smx_dead_actors_infos,
- remote(simix_global.get
B
uffer()->dead_actors_vector));
+ remote(simix_global.get
_b
uffer()->dead_actors_vector));
this->cache_flags_ |= RemoteClient::cache_simix_processes;
}
this->cache_flags_ |= RemoteClient::cache_simix_processes;
}
@@
-106,10
+106,10
@@
smx_actor_t MC_smx_simcall_get_issuer(s_smx_simcall const* req)
// Lookup by address:
for (auto& actor : mc_model_checker->process().actors())
if (actor.address == address)
// Lookup by address:
for (auto& actor : mc_model_checker->process().actors())
if (actor.address == address)
- return actor.copy.get
B
uffer();
+ return actor.copy.get
_b
uffer();
for (auto& actor : mc_model_checker->process().dead_actors())
if (actor.address == address)
for (auto& actor : mc_model_checker->process().dead_actors())
if (actor.address == address)
- return actor.copy.get
B
uffer();
+ return actor.copy.get
_b
uffer();
xbt_die("Issuer not found");
}
xbt_die("Issuer not found");
}