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
Rename mc::Session into mc::api::RemoteApp
[simgrid.git]
/
src
/
mc
/
explo
/
CommunicationDeterminismChecker.cpp
diff --git
a/src/mc/explo/CommunicationDeterminismChecker.cpp
b/src/mc/explo/CommunicationDeterminismChecker.cpp
index
4464631
..
3212daa
100644
(file)
--- a/
src/mc/explo/CommunicationDeterminismChecker.cpp
+++ b/
src/mc/explo/CommunicationDeterminismChecker.cpp
@@
-202,7
+202,7
@@
void CommDetExtension::enforce_deterministic_pattern(aid_t actor, const PatternC
XBT_INFO("***** Non-send-deterministic communications pattern *****");
XBT_INFO("*********************************************************");
XBT_INFO("%s", send_diff.c_str());
XBT_INFO("***** Non-send-deterministic communications pattern *****");
XBT_INFO("*********************************************************");
XBT_INFO("%s", send_diff.c_str());
- Api::get().get_
session
().log_state();
+ Api::get().get_
remote_app
().log_state();
Api::get().mc_exit(SIMGRID_MC_EXIT_NON_DETERMINISM);
} else if (_sg_mc_comms_determinism && (not send_deterministic && not recv_deterministic)) {
XBT_INFO("****************************************************");
Api::get().mc_exit(SIMGRID_MC_EXIT_NON_DETERMINISM);
} else if (_sg_mc_comms_determinism && (not send_deterministic && not recv_deterministic)) {
XBT_INFO("****************************************************");
@@
-212,7
+212,7
@@
void CommDetExtension::enforce_deterministic_pattern(aid_t actor, const PatternC
XBT_INFO("%s", send_diff.c_str());
if (not recv_diff.empty())
XBT_INFO("%s", recv_diff.c_str());
XBT_INFO("%s", send_diff.c_str());
if (not recv_diff.empty())
XBT_INFO("%s", recv_diff.c_str());
- Api::get().get_
session
().log_state();
+ Api::get().get_
remote_app
().log_state();
Api::get().mc_exit(SIMGRID_MC_EXIT_NON_DETERMINISM);
}
}
Api::get().mc_exit(SIMGRID_MC_EXIT_NON_DETERMINISM);
}
}
@@
-314,7
+314,7
@@
void CommDetExtension::handle_comm_pattern(const Transition* transition)
}
*/
}
*/
-Exploration* create_communication_determinism_checker(
Session* session
)
+Exploration* create_communication_determinism_checker(
RemoteApp* remote_app
)
{
CommDetExtension::EXTENSION_ID = simgrid::mc::Exploration::extension_create<CommDetExtension>();
StateCommDet::EXTENSION_ID = simgrid::mc::State::extension_create<StateCommDet>();
{
CommDetExtension::EXTENSION_ID = simgrid::mc::Exploration::extension_create<CommDetExtension>();
StateCommDet::EXTENSION_ID = simgrid::mc::State::extension_create<StateCommDet>();
@@
-366,7
+366,7
@@
Exploration* create_communication_determinism_checker(Session* session)
delete extension;
});
delete extension;
});
- return new DFSExplorer(
session
);
+ return new DFSExplorer(
remote_app
);
}
} // namespace simgrid::mc
}
} // namespace simgrid::mc