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
control better random, returning to assertion
[simgrid.git]
/
teshsuite
/
surf
/
surf_usage
/
surf_usage2.cpp
diff --git
a/teshsuite/surf/surf_usage/surf_usage2.cpp
b/teshsuite/surf/surf_usage/surf_usage2.cpp
index
ed16cdb
..
3230aa2
100644
(file)
--- a/
teshsuite/surf/surf_usage/surf_usage2.cpp
+++ b/
teshsuite/surf/surf_usage/surf_usage2.cpp
@@
-9,7
+9,6
@@
#include <stdio.h>
#include "simgrid/sg_config.h"
#include "surf/surf.h"
#include <stdio.h>
#include "simgrid/sg_config.h"
#include "surf/surf.h"
-#include "surf/surfxml_parse.h" // for reset callback
#include "src/surf/surf_interface.hpp"
#include "src/surf/cpu_interface.hpp"
#include "src/surf/surf_interface.hpp"
#include "src/surf/cpu_interface.hpp"
@@
-58,8
+57,8
@@
void test(char *platform)
XBT_DEBUG("%s : %p", sg_host_get_name(hostB), hostB);
/* Let's do something on it */
XBT_DEBUG("%s : %p", sg_host_get_name(hostB), hostB);
/* Let's do something on it */
- hostA->p
_cpu->execute
(1000.0);
- hostB->p
_cpu->execute
(1000.0);
+ hostA->p
impl_cpu->execution_start
(1000.0);
+ hostB->p
impl_cpu->execution_start
(1000.0);
surf_host_sleep(hostB, 7.32);
surf_network_model_communicate(surf_network_model, hostA, hostB, 150.0, -1.0);
surf_host_sleep(hostB, 7.32);
surf_network_model_communicate(surf_network_model, hostA, hostB, 150.0, -1.0);