X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/48028d9fbcca84960514fb0622b9b22a48162cc0..51c23076e2b42ff07dc167dea1cb0e3a4ab3cf68:/src/surf/sg_platf.cpp diff --git a/src/surf/sg_platf.cpp b/src/surf/sg_platf.cpp index e7374e59c4..cff7f9e696 100644 --- a/src/surf/sg_platf.cpp +++ b/src/surf/sg_platf.cpp @@ -80,11 +80,11 @@ void sg_platf_new_host(simgrid::kernel::routing::HostCreationArgs* args) /* Change from the defaults */ if (args->state_trace) - host->pimpl_cpu->setStateTrace(args->state_trace); + host->pimpl_cpu->set_state_trace(args->state_trace); if (args->speed_trace) host->pimpl_cpu->set_speed_trace(args->speed_trace); if (args->pstate != 0) - host->pimpl_cpu->setPState(args->pstate); + host->pimpl_cpu->set_pstate(args->pstate); if (args->coord && strcmp(args->coord, "")) new simgrid::kernel::routing::vivaldi::Coords(host->pimpl_netpoint, args->coord); } @@ -126,7 +126,7 @@ void sg_platf_new_link(simgrid::kernel::routing::LinkCreationArgs* link) if (link->properties) { for (auto const& elm : *link->properties) - l->setProperty(elm.first, elm.second); + l->set_property(elm.first, elm.second); } if (link->latency_trace) @@ -363,7 +363,7 @@ void sg_platf_new_storage(simgrid::kernel::routing::StorageCreationArgs* storage if (storage->properties) { for (auto const& elm : *storage->properties) - s->setProperty(elm.first, elm.second); + s->set_property(elm.first, elm.second); delete storage->properties; } } @@ -487,7 +487,7 @@ void sg_platf_new_peer(simgrid::kernel::routing::PeerCreationArgs* peer) /* Change from the defaults */ if (peer->state_trace) - host->pimpl_cpu->setStateTrace(peer->state_trace); + host->pimpl_cpu->set_state_trace(peer->state_trace); if (peer->speed_trace) host->pimpl_cpu->set_speed_trace(peer->speed_trace); }