- type_t type = PJ_type_get ("bandwidth", container->type);
- new SetVariableEvent(date, container, type, bandwidth);
+ simgrid::instr::Type* type = container->type_->getChild("bandwidth");
+ new simgrid::instr::SetVariableEvent(date, container, type, bandwidth);