res->pimpl_netpoint = new NetPoint(name, NetPoint::Type::Host, this);
- surf_cpu_model_pm->createCpu(res, speedPerPstate, coreAmount);
+ surf_cpu_model_pm->create_cpu(res, speedPerPstate, coreAmount);
if (props != nullptr)
for (auto const& kv : *props)
NetZoneImpl* current = src->get_englobing_zone();
while (current != nullptr) {
path_src.push_back(current);
- current = static_cast<NetZoneImpl*>(current->getFather());
+ current = static_cast<NetZoneImpl*>(current->get_father());
}
std::vector<NetZoneImpl*> path_dst;
current = dst->get_englobing_zone();
while (current != nullptr) {
path_dst.push_back(current);
- current = static_cast<NetZoneImpl*>(current->getFather());
+ current = static_cast<NetZoneImpl*>(current->get_father());
}
/* (3) find the common father.