X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fe304706848f0a64477d4687b3ea97d5b9a0c35c..b5c0093dd3fb7d66ec6e1f72963ba7b9faa45fe7:/src/s4u/s4u_Exec.cpp diff --git a/src/s4u/s4u_Exec.cpp b/src/s4u/s4u_Exec.cpp index feecbdd46d..17fa93cd8a 100644 --- a/src/s4u/s4u_Exec.cpp +++ b/src/s4u/s4u_Exec.cpp @@ -138,7 +138,7 @@ Exec* ExecSeq::start() (*boost::static_pointer_cast(pimpl_)) .set_name(name_) .set_tracing_category(tracing_category_) - .set_priority(1. / priority_) + .set_sharing_penalty(1. / priority_) .set_bound(bound_) .set_flops_amount(flops_amount_) .start(); @@ -177,7 +177,7 @@ double ExecSeq::get_remaining() [this]() { return boost::static_pointer_cast(pimpl_)->get_remaining(); }); } -/** @brief Returns the ratio of elements that are still to do +/** @brief Returns the ratio of elements that are still to do * * The returned value is between 0 (completely done) and 1 (nothing done yet). */