m_host_t host = MSG_process_get_host(process);
container_t host_container = getContainer(host->name);
- container_t msg = newContainer(process->name, INSTR_MSG, host_container);
+ container_t msg = newContainer(process->name, INSTR_MSG_PROCESS, host_container);
type_t type = getType (category);
if (!type){
type = newVariableType(category, TYPE_VARIABLE, color, msg->type);
destroyContainer(getContainer(process->name));
//create new container on the new_host location
- container_t msg = newContainer(process->name, INSTR_MSG, getContainer(new_host->name));
+ container_t msg = newContainer(process->name, INSTR_MSG_PROCESS, getContainer(new_host->name));
type_t type = getType (process->category);
pajeSetVariable(SIMIX_get_clock(), type->id, msg->id, "1");
}
case INSTR_LINK: new->type = getContainerType ("LINK", new->father->type); break;
case INSTR_ROUTER: new->type = getContainerType ("ROUTER", new->father->type); break;
case INSTR_SMPI: new->type = getContainerType ("MPI", new->father->type); break;
- case INSTR_MSG: new->type = getContainerType ("MSG", new->father->type); break;
+ case INSTR_MSG_PROCESS: new->type = getContainerType ("MSG_PROCESS", new->father->type); break;
default: xbt_die ("Congratulations, you have found a bug on newContainer function of instr_routing.c"); break;
}
}
}
if (TRACE_msg_process_is_enabled()) {
- getContainerType("MSG", new->type);
+ getContainerType("MSG_PROCESS", new->type);
}
}