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
Reworking user_bound for Exec actions.
[simgrid.git]
/
teshsuite
/
surf
/
surf_usage2
/
surf_usage2.cpp
diff --git
a/teshsuite/surf/surf_usage2/surf_usage2.cpp
b/teshsuite/surf/surf_usage2/surf_usage2.cpp
index
34119a3
..
f62da2b
100644
(file)
--- a/
teshsuite/surf/surf_usage2/surf_usage2.cpp
+++ b/
teshsuite/surf/surf_usage2/surf_usage2.cpp
@@
-34,8
+34,8
@@
int main(int argc, char** argv)
simgrid::s4u::Host* hostB = sg_host_by_name("Cpu B");
/* Let's do something on it */
simgrid::s4u::Host* hostB = sg_host_by_name("Cpu B");
/* Let's do something on it */
- hostA->get_cpu()->execution_start(1000.0);
- hostB->get_cpu()->execution_start(1000.0);
+ hostA->get_cpu()->execution_start(1000.0
, -1
);
+ hostB->get_cpu()->execution_start(1000.0
, -1
);
hostB->get_cpu()->sleep(7.32);
const_sg_netzone_t as_zone = sg_zone_get_by_name("AS0");
hostB->get_cpu()->sleep(7.32);
const_sg_netzone_t as_zone = sg_zone_get_by_name("AS0");