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
model->resource when needed...
[simgrid.git]
/
testsuite
/
surf
/
surf_usage.c
diff --git
a/testsuite/surf/surf_usage.c
b/testsuite/surf/surf_usage.c
index
c13cd91
..
acb9119
100644
(file)
--- a/
testsuite/surf/surf_usage.c
+++ b/
testsuite/surf/surf_usage.c
@@
-62,9
+62,9
@@
void test(char *platform)
/* Let's check that those two processors exist */
DEBUG2("%s : %p\n",
/* Let's check that those two processors exist */
DEBUG2("%s : %p\n",
- surf_cpu_model->common_public->get_
model
_name(cpuA), cpuA);
+ surf_cpu_model->common_public->get_
resource
_name(cpuA), cpuA);
DEBUG2("%s : %p\n",
DEBUG2("%s : %p\n",
- surf_cpu_model->common_public->get_
model
_name(cpuB), cpuB);
+ surf_cpu_model->common_public->get_
resource
_name(cpuB), cpuB);
/* Let's do something on it */
actionA = surf_cpu_model->extension_public->execute(cpuA, 1000.0);
/* Let's do something on it */
actionA = surf_cpu_model->extension_public->execute(cpuA, 1000.0);
@@
-88,10
+88,10
@@
void test(char *platform)
/* Let's check that those two processors exist */
DEBUG2("%s : %p\n",
/* Let's check that those two processors exist */
DEBUG2("%s : %p\n",
- surf_network_model->common_public->get_
model
_name(cardA),
+ surf_network_model->common_public->get_
resource
_name(cardA),
cardA);
DEBUG2("%s : %p\n",
cardA);
DEBUG2("%s : %p\n",
- surf_network_model->common_public->get_
model
_name(cardB),
+ surf_network_model->common_public->get_
resource
_name(cardB),
cardB);
/* Let's do something on it */
cardB);
/* Let's do something on it */