A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename Action::priority into Action::sharing_penalty in surf as it should be
[simgrid.git]
/
src
/
s4u
/
s4u_Exec.cpp
diff --git
a/src/s4u/s4u_Exec.cpp
b/src/s4u/s4u_Exec.cpp
index
feecbdd
..
17fa93c
100644
(file)
--- a/
src/s4u/s4u_Exec.cpp
+++ b/
src/s4u/s4u_Exec.cpp
@@
-138,7
+138,7
@@
Exec* ExecSeq::start()
(*boost::static_pointer_cast<kernel::activity::ExecImpl>(pimpl_))
.set_name(name_)
.set_tracing_category(tracing_category_)
(*boost::static_pointer_cast<kernel::activity::ExecImpl>(pimpl_))
.set_name(name_)
.set_tracing_category(tracing_category_)
- .set_
priori
ty(1. / priority_)
+ .set_
sharing_penal
ty(1. / priority_)
.set_bound(bound_)
.set_flops_amount(flops_amount_)
.start();
.set_bound(bound_)
.set_flops_amount(flops_amount_)
.start();
@@
-177,7
+177,7
@@
double ExecSeq::get_remaining()
[this]() { return boost::static_pointer_cast<simgrid::kernel::activity::ExecImpl>(pimpl_)->get_remaining(); });
}
[this]() { return boost::static_pointer_cast<simgrid::kernel::activity::ExecImpl>(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).
*/
*
* The returned value is between 0 (completely done) and 1 (nothing done yet).
*/