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
add sg_exec_set_host
[simgrid.git]
/
src
/
s4u
/
s4u_Exec.cpp
diff --git
a/src/s4u/s4u_Exec.cpp
b/src/s4u/s4u_Exec.cpp
index
7048f1b
..
966fa79
100644
(file)
--- a/
src/s4u/s4u_Exec.cpp
+++ b/
src/s4u/s4u_Exec.cpp
@@
-217,6
+217,11
@@
void sg_exec_set_bound(sg_exec_t exec, double bound)
exec->set_bound(bound);
}
+void sg_exec_set_host(sg_exec_t exec, sg_host_t new_host)
+{
+ exec->set_host(new_host);
+}
+
double sg_exec_get_remaining(const_sg_exec_t exec)
{
return exec->get_remaining();