#endif
/* set surf's action */
- if (!MC_IS_ENABLED) {
+ if (!MC_is_active()) {
action->execution.surf_exec =
surf_workstation_model->extension.workstation.execute(host->host,
computation_amount);
workstation_list[i] = host_list[i]->host;
/* set surf's action */
- if (!MC_IS_ENABLED) {
+ if (!MC_is_active()) {
action->execution.surf_exec =
surf_workstation_model->extension.workstation.
execute_parallel_task(host_nb, workstation_list, computation_amount,
simcall->issuer->waiting_action = action;
/* set surf's action */
- if (MC_IS_ENABLED) {
+ if (MC_is_active()) {
action->state = SIMIX_DONE;
SIMIX_execution_finish(action);
return;