- container_t host_container = getContainer(host->name);
- container_t msg = newContainer(instr_process_id_2(process_name, process_pid, str, len), INSTR_MSG_PROCESS, host_container);
-
- type_t type = getType ("MSG_PROCESS_STATE", msg->type);
- val_t value = getValueByName ("executing", type);
- new_pajeSetState (MSG_get_clock(), msg, type, value);
+ container_t host_container = PJ_container_get (SIMIX_host_get_name(host->smx_host));
+ PJ_container_new(instr_process_id_2(process_name, process_pid, str, len), INSTR_MSG_PROCESS, host_container);