X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5d2730ebe780871aad000c557cbe4e8f414a0134..dbcf720995035476f8fda570bd5ab0926cacc799:/src/smpi/internals/smpi_bench.cpp diff --git a/src/smpi/internals/smpi_bench.cpp b/src/smpi/internals/smpi_bench.cpp index 21fe9740d2..c067ad93ea 100644 --- a/src/smpi/internals/smpi_bench.cpp +++ b/src/smpi/internals/smpi_bench.cpp @@ -4,12 +4,13 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #include "private.hpp" +#include "simgrid/host.h" #include "simgrid/modelchecker.h" #include "smpi_comm.hpp" -#include "simgrid/host.h" #include "smpi_process.hpp" #include "src/internal_config.h" #include "src/mc/mc_replay.hpp" +#include "src/simix/ActorImpl.hpp" #include #ifndef WIN32 @@ -43,7 +44,7 @@ void smpi_execute_(double *duration) void smpi_execute_flops(double flops) { XBT_DEBUG("Handle real computation time: %f flops", flops); - smx_activity_t action = simcall_execution_start("computation", flops, 1, 0); + smx_activity_t action = simcall_execution_start("computation", flops, 1, 0, smpi_process()->process()->getImpl()->host); simcall_set_category (action, TRACE_internal_smpi_get_category()); simcall_execution_wait(action); smpi_switch_data_segment(smpi_process()->index());