Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
C++-ifies a wrapper function, and kill it
[simgrid.git] / src / simix / smx_host.cpp
index 34d253e..4a5bf18 100644 (file)
@@ -320,7 +320,7 @@ smx_synchro_t SIMIX_process_execute(smx_process_t issuer, const char *name,
   /* set surf's action */
   if (!MC_is_active() && !MC_record_replay_is_active()) {
 
-    synchro->execution.surf_exec = surf_host_execute(issuer->host, flops_amount);
+    synchro->execution.surf_exec = issuer->host->p_cpu->execute(flops_amount);
     synchro->execution.surf_exec->setData(synchro);
     synchro->execution.surf_exec->setPriority(priority);