Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add extra argument "priority" to SIMIX_req_host_execute.
[simgrid.git] / src / gras / Virtu / sg_emul.c
index 62be7c2..4729c35 100644 (file)
@@ -23,7 +23,7 @@ void gras_cpu_burn(double flops)
   smx_action_t execution;
 
   if (flops > 0){
-    execution = SIMIX_req_host_execute("task", SIMIX_host_self(), flops);
+    execution = SIMIX_req_host_execute("task", SIMIX_host_self(), flops, 1);
     SIMIX_req_host_execution_wait(execution);
   }
 }