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
Modify almost all SD tests. There is no need to free a structure
[simgrid.git]
/
teshsuite
/
simdag
/
network
/
mxn
/
test_intra_all2all.c
diff --git
a/teshsuite/simdag/network/mxn/test_intra_all2all.c
b/teshsuite/simdag/network/mxn/test_intra_all2all.c
index
bb64cf3
..
d5b56d3
100644
(file)
--- a/
teshsuite/simdag/network/mxn/test_intra_all2all.c
+++ b/
teshsuite/simdag/network/mxn/test_intra_all2all.c
@@
-25,7
+25,6
@@
int main(int argc, char **argv)
{
double time;
SD_task_t task;
{
double time;
SD_task_t task;
- xbt_dynar_t ret;
double communication_amount[] = { 0.0, 1.0, 1.0, 1.0,
1.0, 0.0, 1.0, 1.0,
double communication_amount[] = { 0.0, 1.0, 1.0, 1.0,
1.0, 0.0, 1.0, 1.0,
@@
-46,8
+45,7
@@
int main(int argc, char **argv)
SD_task_schedule(task, 4, SD_workstation_get_list(), no_cost,
communication_amount, -1.0);
SD_task_schedule(task, 4, SD_workstation_get_list(), no_cost,
communication_amount, -1.0);
- ret = SD_simulate(-1.0);
- xbt_dynar_free(&ret);
+ SD_simulate(-1.0);
time = SD_get_clock();
time = SD_get_clock();