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
routing: dedupplicate code
[simgrid.git]
/
examples
/
simdag
/
goal
/
goal_test.c
diff --git
a/examples/simdag/goal/goal_test.c
b/examples/simdag/goal/goal_test.c
index 1b2e514d9b704f711438dfd55c5e2af2f3070b77..e44ceea28986c82314ab2c5c3b4dbfa511b63547 100644
(file)
--- a/
examples/simdag/goal/goal_test.c
+++ b/
examples/simdag/goal/goal_test.c
@@
-26,7
+26,7
@@
typedef struct {
} s_bcast_task_t,*bcast_task_t;
} s_bcast_task_t,*bcast_task_t;
-const
SD_workstation
_t* ws_list;
+const
sg_host
_t* ws_list;
int count = 0;
xbt_dynar_t reclaimed;
int count = 0;
xbt_dynar_t reclaimed;
@@
-68,12
+68,12
@@
int main(int argc, char **argv) {
SD_create_environment("../../platforms/One_cluster_no_backbone.xml");
}
SD_create_environment("../../platforms/One_cluster_no_backbone.xml");
}
- ws_list =
SD_workstation_ge
t_list();
+ ws_list =
sg_hos
t_list();
reclaimed = xbt_dynar_new(sizeof(bcast_task_t),xbt_free_ref);
xbt_dynar_t done = NULL;
xbt_os_cputimer_start(timer);
reclaimed = xbt_dynar_new(sizeof(bcast_task_t),xbt_free_ref);
xbt_dynar_t done = NULL;
xbt_os_cputimer_start(timer);
- send_one(0,
SD_workstation_ge
t_count());
+ send_one(0,
sg_hos
t_count());
do {
if (done != NULL && !xbt_dynar_is_empty(done)) {
unsigned int cursor;
do {
if (done != NULL && !xbt_dynar_is_empty(done)) {
unsigned int cursor;