X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ebf8e9cb9961c8310418ddcb7e6cee64f750cf8d..e3a1cf8d29cef5eaf730b485da389cff9319fa56:/src/surf/ptask_L07.cpp?ds=sidebyside diff --git a/src/surf/ptask_L07.cpp b/src/surf/ptask_L07.cpp index 8cea923b87..9a4715ddff 100644 --- a/src/surf/ptask_L07.cpp +++ b/src/surf/ptask_L07.cpp @@ -131,14 +131,14 @@ void HostL07Model::update_actions_state(double /*now*/, double delta) } } -kernel::resource::Action* HostL07Model::execute_parallel(const std::vector host_list, +kernel::resource::Action* HostL07Model::execute_parallel(const std::vector& host_list, const double* flops_amount, const double* bytes_amount, double rate) { return new L07Action(this, host_list, flops_amount, bytes_amount, rate); } -L07Action::L07Action(kernel::resource::Model* model, const std::vector host_list, +L07Action::L07Action(kernel::resource::Model* model, const std::vector& host_list, const double* flops_amount, const double* bytes_amount, double rate) : CpuAction(model, 1, 0), computationAmount_(flops_amount), communicationAmount_(bytes_amount), rate_(rate) {