- type_t type = PJ_type_get ("MPI_STATE", container->type);
- value* val = value::get_or_new("computing", nullptr, type);
- new PushStateEvent(SIMIX_get_clock(), container, type, val, static_cast<void*>(extra));
+ simgrid::instr::Type* type = container->type_->getChild("MPI_STATE");
+ simgrid::instr::Value* val = simgrid::instr::Value::get_or_new("computing", nullptr, type);
+ new simgrid::instr::PushStateEvent(SIMIX_get_clock(), container, type, val, static_cast<void*>(extra));