Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill some useless getter simcalls
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 15 Feb 2017 23:35:50 +0000 (00:35 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 15 Feb 2017 23:40:55 +0000 (00:40 +0100)
commite3d5991eca6de3227dcd3efc36a0f415a45aedf9
tree111d18abef15dc741abcb4003f6d34a75a644506
parent8802264733f1081568164bfb8d7d44bc77214d89
kill some useless getter simcalls

They were rather misleading since they did not do any simcall,
actually. The code around the getters of data in the actors is still
somehow magical:

smpi_switch_data_segment((static_cast<smpi_process_data_t>((static_cast<simdata_process_t>(comm->dst_proc->data)->data))->index));

I love this one. Once I'm done, it will become:

smpi_switch_data_segment(comm->dst_proc->extension<SmpiActorExt>()->index);

I pretend that it is clearer. Maybe to me only? :-3
include/simgrid/simix.h
src/msg/msg_process.cpp
src/simix/ActorImpl.cpp
src/simix/ActorImpl.hpp
src/simix/libsmx.cpp
src/smpi/smpi_global.cpp