X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1e830ec2832ab05f4bc81e681e7388b056e8ca12..e2b930ee430830d0be797be083a0bdd124778e7f:/src/smpi/smpi_bench.c diff --git a/src/smpi/smpi_bench.c b/src/smpi/smpi_bench.c index 084123b849..ed6e7c07ef 100644 --- a/src/smpi/smpi_bench.c +++ b/src/smpi/smpi_bench.c @@ -48,12 +48,11 @@ static void smpi_execute_flops(double flops) host = SIMIX_host_self(); DEBUG1("Handle real computation time: %f flops", flops); - action = SIMIX_req_host_execute("computation", host, flops); + action = SIMIX_req_host_execute("computation", host, flops, 1); #ifdef HAVE_TRACING SIMIX_req_set_category (action, TRACE_internal_smpi_get_category()); #endif SIMIX_req_host_execution_wait(action); - SIMIX_req_host_execution_destroy(action); } static void smpi_execute(double duration)