- type_t type = PJ_type_get ("MSG_PROCESS_STATE", process_container->type);
- val_t value = pj_value.PJ_value_get ("task_execute", type);
- new PushStateEvent (MSG_get_clock(), process_container, type, value);
+ simgrid::instr::Type* type = process_container->type_->getChild("MSG_PROCESS_STATE");
+ simgrid::instr::Value* val = simgrid::instr::Value::get("task_execute", type);
+ new simgrid::instr::PushStateEvent(MSG_get_clock(), process_container, type, val);