- simgrid::instr::Type* msg_process = container->type_->getOrCreateContainerType("MSG_PROCESS");
- simgrid::instr::Type* state = msg_process->getOrCreateStateType("MSG_PROCESS_STATE");
- simgrid::instr::Value::byNameOrCreate("suspend", "1 0 1", state);
- simgrid::instr::Value::byNameOrCreate("sleep", "1 1 0", state);
- simgrid::instr::Value::byNameOrCreate("receive", "1 0 0", state);
- simgrid::instr::Value::byNameOrCreate("send", "0 0 1", state);
- simgrid::instr::Value::byNameOrCreate("task_execute", "0 1 1", state);
+ simgrid::instr::ContainerType* msg_process = container->type_->getOrCreateContainerType("MSG_PROCESS");
+ simgrid::instr::StateType* state = msg_process->getOrCreateStateType("MSG_PROCESS_STATE");
+ state->addEntityValue("suspend", "1 0 1");
+ state->addEntityValue("sleep", "1 1 0");
+ state->addEntityValue("receive", "1 0 0");
+ state->addEntityValue("send", "0 0 1");
+ state->addEntityValue("task_execute", "0 1 1");