A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't know why this was still a struct
[simgrid.git]
/
src
/
kernel
/
routing
/
NetZoneImpl.cpp
diff --git
a/src/kernel/routing/NetZoneImpl.cpp
b/src/kernel/routing/NetZoneImpl.cpp
index
670720c
..
1fa9475
100644
(file)
--- a/
src/kernel/routing/NetZoneImpl.cpp
+++ b/
src/kernel/routing/NetZoneImpl.cpp
@@
-92,7
+92,7
@@
int NetZoneImpl::get_host_count()
return count;
}
return count;
}
-simgrid::s4u::Host* NetZoneImpl::create_host(const
char*
name, const std::vector<double>& speed_per_pstate,
+simgrid::s4u::Host* NetZoneImpl::create_host(const
std::string&
name, const std::vector<double>& speed_per_pstate,
int coreAmount, const std::map<std::string, std::string>* props)
{
simgrid::s4u::Host* res = new simgrid::s4u::Host(name);
int coreAmount, const std::map<std::string, std::string>* props)
{
simgrid::s4u::Host* res = new simgrid::s4u::Host(name);
@@
-100,7
+100,7
@@
simgrid::s4u::Host* NetZoneImpl::create_host(const char* name, const std::vector
if (hierarchy_ == RoutingMode::unset)
hierarchy_ = RoutingMode::base;
if (hierarchy_ == RoutingMode::unset)
hierarchy_ = RoutingMode::base;
- res->
pimpl_netpoint = new NetPoint(name, NetPoint::Type::Host, this
);
+ res->
set_netpoint(new NetPoint(name, NetPoint::Type::Host, this)
);
surf_cpu_model_pm->create_cpu(res, speed_per_pstate, coreAmount);
surf_cpu_model_pm->create_cpu(res, speed_per_pstate, coreAmount);