X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d9966aa66acc63c0417fbeae8e3ff12bccb0cdb0..d3c605045fe8c525f32393a054425d72edf47b18:/src/surf/HostImpl.cpp diff --git a/src/surf/HostImpl.cpp b/src/surf/HostImpl.cpp index 6edf250fd2..889b934c5e 100644 --- a/src/surf/HostImpl.cpp +++ b/src/surf/HostImpl.cpp @@ -36,9 +36,9 @@ void HostModel::ignoreEmptyVmInPmLMM() XBT_DEBUG("set the weight of the dummy CPU action of VM%p on PM to %d (#tasks: %d)", ws_vm, impact, active_tasks); if (impact > 0) - ws_vm->getImpl()->action_->setSharingWeight(1. / impact); + ws_vm->getImpl()->action_->set_priority(1. / impact); else - ws_vm->getImpl()->action_->setSharingWeight(0.); + ws_vm->getImpl()->action_->set_priority(0.); } }