Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Simplify the process_execute simcall
[simgrid.git] / src / smpi / smpi_bench.c
index fe88c48..2e70327 100644 (file)
@@ -153,10 +153,8 @@ void smpi_execute_(double *duration)
 
 void smpi_execute_flops(double flops) {
   smx_synchro_t action;
-  sg_host_t host;
-  host = SIMIX_host_self();
   XBT_DEBUG("Handle real computation time: %f flops", flops);
-  action = simcall_process_execute("computation", host, flops, 1, 0, 0);
+  action = simcall_process_execute("computation", flops, 1, 0, 0);
   simcall_set_category (action, TRACE_internal_smpi_get_category());
   simcall_process_execution_wait(action);
   smpi_switch_data_segment(smpi_process_index());