From: Christian Heinrich Date: Tue, 20 Feb 2018 17:14:00 +0000 (+0100) Subject: [SMPI] Use Actor->getHost() instead of Actor->getImpl()->host X-Git-Tag: v3.19~165 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a7102c29577c01a547d830b0c519ba669390ec6c [SMPI] Use Actor->getHost() instead of Actor->getImpl()->host --- diff --git a/src/smpi/internals/smpi_bench.cpp b/src/smpi/internals/smpi_bench.cpp index 78442e2050..96b381881e 100644 --- a/src/smpi/internals/smpi_bench.cpp +++ b/src/smpi/internals/smpi_bench.cpp @@ -44,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, smpi_process()->process()->getImpl()->host); + smx_activity_t action = simcall_execution_start("computation", flops, 1, 0, smpi_process()->process()->getHost()); simcall_set_category (action, TRACE_internal_smpi_get_category()); simcall_execution_wait(action); smpi_switch_data_segment(simgrid::s4u::Actor::self()->getPid());