X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5afd75483d80ccf2c678e50f82613b3556c7ca97..f3978ee8083967b9249494916e755a3a855435d0:/src/surf/host_clm03.cpp diff --git a/src/surf/host_clm03.cpp b/src/surf/host_clm03.cpp index 59d813d4ae..ef0e7fc50f 100644 --- a/src/surf/host_clm03.cpp +++ b/src/surf/host_clm03.cpp @@ -62,7 +62,7 @@ kernel::resource::Action* HostCLM03Model::execute_parallel(const std::vectorget_netpoint()->get_englobing_zone()->get_network_model(); if ((host_list.size() == 1) && (has_cost(bytes_amount, 0) <= 0) && (has_cost(flops_amount, 0) > 0)) { - action = host_list[0]->pimpl_cpu->execution_start(flops_amount[0]); + action = host_list[0]->get_cpu()->execution_start(flops_amount[0]); } else if ((host_list.size() == 1) && (has_cost(flops_amount, 0) <= 0)) { action = net_model->communicate(host_list[0], host_list[0], bytes_amount[0], rate); } else if ((host_list.size() == 2) && (has_cost(flops_amount, 0) <= 0) && (has_cost(flops_amount, 1) <= 0)) {