/* initialize them */
act->name = xbt_strdup(name);
act->source = sender;
-
+ act->category = NULL;
act->surf_action =
surf_workstation_model->extension.workstation.communicate(sender->host,
/* initialize them */
act->source = host;
act->name = xbt_strdup(name);
+ act->category = NULL;
/* set communication */
act->surf_action =
surf_workstation_model->action_data_set(act->surf_action, act);
DEBUG1("Create execute action %p", act);
+#ifdef HAVE_TRACING
+ TRACE_smx_action_execute (act);
+#endif
return act;
}
/* initialize them */
act->source = host;
act->name = xbt_strdup(name);
+ act->category = NULL;
act->surf_action =
surf_workstation_model->extension.workstation.sleep(host->host, duration);
if (action->surf_action)
action->surf_action->model_type->action_unref(action->surf_action);
-
+#ifdef HAVE_TRACING
+ TRACE_smx_action_destroy (action);
+#endif
xbt_free(action);
return 1;
}
/* initialize them */
act->name = xbt_strdup(name);
+ act->category = NULL;
/* set action */