int len = INSTR_DEFAULT_STR_SIZE;
char str[INSTR_DEFAULT_STR_SIZE];
- container_t process_container = PJ_container_get (instr_process_id(MSG_process_self(), str, len));
+ container_t process_container = simgrid::instr::Container::byName(instr_process_id(MSG_process_self(), str, len));
simgrid::instr::Type* type = process_container->type_->getChild("MSG_PROCESS_STATE");
simgrid::instr::Value* val = simgrid::instr::Value::byName("task_execute", type);
new simgrid::instr::PushStateEvent(MSG_get_clock(), process_container, type, val);
int len = INSTR_DEFAULT_STR_SIZE;
char str[INSTR_DEFAULT_STR_SIZE];
- container_t process_container = PJ_container_get (instr_process_id(MSG_process_self(), str, len));
+ container_t process_container = simgrid::instr::Container::byName(instr_process_id(MSG_process_self(), str, len));
simgrid::instr::Type* type = process_container->type_->getChild("MSG_PROCESS_STATE");
new simgrid::instr::PopStateEvent(MSG_get_clock(), process_container, type);
}
int len = INSTR_DEFAULT_STR_SIZE;
char str[INSTR_DEFAULT_STR_SIZE];
- container_t process_container = PJ_container_get (instr_process_id(MSG_process_self(), str, len));
+ container_t process_container = simgrid::instr::Container::byName(instr_process_id(MSG_process_self(), str, len));
simgrid::instr::Type* type = process_container->type_->getChild("MSG_PROCESS_STATE");
simgrid::instr::Value* val = simgrid::instr::Value::byName("receive", type);
new simgrid::instr::PushStateEvent(MSG_get_clock(), process_container, type, val);
int len = INSTR_DEFAULT_STR_SIZE;
char str[INSTR_DEFAULT_STR_SIZE];
- container_t process_container = PJ_container_get (instr_process_id(MSG_process_self(), str, len));
+ container_t process_container = simgrid::instr::Container::byName(instr_process_id(MSG_process_self(), str, len));
simgrid::instr::Type* type = process_container->type_->getChild("MSG_PROCESS_STATE");
new simgrid::instr::PopStateEvent(MSG_get_clock(), process_container, type);
int len = INSTR_DEFAULT_STR_SIZE;
char str[INSTR_DEFAULT_STR_SIZE];
- container_t process_container = PJ_container_get (instr_process_id(MSG_process_self(), str, len));
+ container_t process_container = simgrid::instr::Container::byName(instr_process_id(MSG_process_self(), str, len));
simgrid::instr::Type* type = process_container->type_->getChild("MSG_PROCESS_STATE");
simgrid::instr::Value* val = simgrid::instr::Value::byName("send", type);
new simgrid::instr::PushStateEvent(MSG_get_clock(), process_container, type, val);
int len = INSTR_DEFAULT_STR_SIZE;
char str[INSTR_DEFAULT_STR_SIZE];
- container_t process_container = PJ_container_get (instr_process_id(MSG_process_self(), str, len));
+ container_t process_container = simgrid::instr::Container::byName(instr_process_id(MSG_process_self(), str, len));
simgrid::instr::Type* type = process_container->type_->getChild("MSG_PROCESS_STATE");
new simgrid::instr::PopStateEvent(MSG_get_clock(), process_container, type);
}