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
namespace and method chaining for Io activities
[simgrid.git]
/
src
/
s4u
/
s4u_Host.cpp
diff --git
a/src/s4u/s4u_Host.cpp
b/src/s4u/s4u_Host.cpp
index 24163be788308ada4ee541044807b1c1873a53a1..80000607cba74882f95ca302620b01a19e4df5a9 100644
(file)
--- a/
src/s4u/s4u_Host.cpp
+++ b/
src/s4u/s4u_Host.cpp
@@
-295,6
+295,7
@@
void Host::execute(double flops)
{
execute(flops, 1.0 /* priority */);
}
+
void Host::execute(double flops, double priority)
{
this_actor::exec_init(flops)->set_host(this)->set_priority(1 / priority)->start()->wait();