X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4985c83ba72d754df4abf682daafb5030bfd7ba1..5e7d79b763a5f55d1afb579d2b5a8d30ccfe869c:/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.); } }