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
Show the user-level call in MC backtraces
[simgrid.git]
/
src
/
smpi
/
internals
/
smpi_replay.cpp
diff --git
a/src/smpi/internals/smpi_replay.cpp
b/src/smpi/internals/smpi_replay.cpp
index c743864e7e432d932541fa0eedffe7ddc04db7d9..701323fb28dd88a8124e7872b3d06eb6dbf81f79 100644
(file)
--- a/
src/smpi/internals/smpi_replay.cpp
+++ b/
src/smpi/internals/smpi_replay.cpp
@@
-117,7
+117,7
@@
public:
{
for (auto const& [_, reqs] : store) {
aid_t my_proc_id = simgrid::s4u::this_actor::get_pid();
{
for (auto const& [_, reqs] : store) {
aid_t my_proc_id = simgrid::s4u::this_actor::get_pid();
- for (
auto& req: reqs)
{
+ for (
const auto& req : reqs)
{
if (req != MPI_REQUEST_NULL && (req->src() == my_proc_id || req->dst() == my_proc_id)) {
vec.push_back(req);
req->print_request("MM");
if (req != MPI_REQUEST_NULL && (req->src() == my_proc_id || req->dst() == my_proc_id)) {
vec.push_back(req);
req->print_request("MM");
@@
-564,7
+564,7
@@
void SleepAction::kernel(simgrid::xbt::ReplayAction&)
void LocationAction::kernel(simgrid::xbt::ReplayAction&)
{
const LocationParser& args = get_args();
void LocationAction::kernel(simgrid::xbt::ReplayAction&)
{
const LocationParser& args = get_args();
- smpi_trace_set_call_location(args.filename.c_str(), args.line);
+ smpi_trace_set_call_location(args.filename.c_str(), args.line
, "replay_action"
);
}
void TestAction::kernel(simgrid::xbt::ReplayAction&)
}
void TestAction::kernel(simgrid::xbt::ReplayAction&)
@@
-920,7
+920,7
@@
void smpi_replay_main(int rank, const char* private_trace_filename)
unsigned int i=0;
for (auto const& [_, reqs] : storage[simgrid::s4u::this_actor::get_pid()].get_store()) {
unsigned int i=0;
for (auto const& [_, reqs] : storage[simgrid::s4u::this_actor::get_pid()].get_store()) {
- for (auto& req : reqs) {
+ for (
const
auto& req : reqs) {
requests[i] = req; // FIXME: overwritten at each iteration?
}
i++;
requests[i] = req; // FIXME: overwritten at each iteration?
}
i++;