X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5afd75483d80ccf2c678e50f82613b3556c7ca97..f3978ee8083967b9249494916e755a3a855435d0:/teshsuite/surf/surf_usage/surf_usage.cpp diff --git a/teshsuite/surf/surf_usage/surf_usage.cpp b/teshsuite/surf/surf_usage/surf_usage.cpp index 5cf04a0ac2..e9be9ca048 100644 --- a/teshsuite/surf/surf_usage/surf_usage.cpp +++ b/teshsuite/surf/surf_usage/surf_usage.cpp @@ -52,9 +52,9 @@ int main(int argc, char** argv) simgrid::s4u::Host* hostB = sg_host_by_name("Cpu B"); /* Let's do something on it */ - const simgrid::kernel::resource::Action* actionA = hostA->pimpl_cpu->execution_start(1000.0); - const simgrid::kernel::resource::Action* actionB = hostB->pimpl_cpu->execution_start(1000.0); - const simgrid::kernel::resource::Action* actionC = hostB->pimpl_cpu->sleep(7.32); + const simgrid::kernel::resource::Action* actionA = hostA->get_cpu()->execution_start(1000.0); + const simgrid::kernel::resource::Action* actionB = hostB->get_cpu()->execution_start(1000.0); + const simgrid::kernel::resource::Action* actionC = hostB->get_cpu()->sleep(7.32); simgrid::kernel::resource::Action::State stateActionA = actionA->get_state(); simgrid::kernel::resource::Action::State stateActionB = actionB->get_state();