X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/005cf0f71b3817a9e93de0b0c3bd92f216ef5c7f..cd8852187f491f7fa8049414d7ac2d0193518e23:/src/smpi/smpi_bench.c diff --git a/src/smpi/smpi_bench.c b/src/smpi/smpi_bench.c index 4ecf4ebbb4..7ab58fa992 100644 --- a/src/smpi/smpi_bench.c +++ b/src/smpi/smpi_bench.c @@ -45,6 +45,9 @@ static void smpi_execute_flops(double flops) DEBUG1("Handle real computation time: %f flops", flops); action = SIMIX_req_host_execute("computation", host, flops); +#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); }