- msg_process = s_type::containerNew("MSG_PROCESS", container->type);
- type_t state = s_type::stateNew ("MSG_PROCESS_STATE", msg_process);
- value PJ_value("suspend", "1 0 1", state);
- value::get_or_new("sleep", "1 1 0", state);
- value::get_or_new("receive", "1 0 0", state);
- value::get_or_new("send", "0 0 1", state);
- value::get_or_new("task_execute", "0 1 1", state);
- s_type::linkNew ("MSG_PROCESS_LINK", PJ_type_get_root(), msg_process, msg_process);
- s_type::linkNew ("MSG_PROCESS_TASK_LINK", PJ_type_get_root(), msg_process, msg_process);
+ msg_process = simgrid::instr::Type::containerNew("MSG_PROCESS", container->type_);
+ simgrid::instr::Type* state = simgrid::instr::Type::stateNew("MSG_PROCESS_STATE", msg_process);
+ new simgrid::instr::Value("suspend", "1 0 1", state);
+ simgrid::instr::Value::get_or_new("sleep", "1 1 0", state);
+ simgrid::instr::Value::get_or_new("receive", "1 0 0", state);
+ simgrid::instr::Value::get_or_new("send", "0 0 1", state);
+ simgrid::instr::Value::get_or_new("task_execute", "0 1 1", state);
+ simgrid::instr::Type::linkNew("MSG_PROCESS_LINK", PJ_type_get_root(), msg_process, msg_process);
+ simgrid::instr::Type::linkNew("MSG_PROCESS_TASK_LINK", PJ_type_get_root(), msg_process, msg_process);