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
Compile with flag NDEBUG.
[simgrid.git]
/
examples
/
msg
/
parallel_task
/
test_ptask.c
diff --git
a/examples/msg/parallel_task/test_ptask.c
b/examples/msg/parallel_task/test_ptask.c
index
8047d8a
..
95b9c9f
100644
(file)
--- a/
examples/msg/parallel_task/test_ptask.c
+++ b/
examples/msg/parallel_task/test_ptask.c
@@
-35,8
+35,8
@@
int execute(int argc, char *argv[])
int host_list_size;
double *computation_duration = NULL;
double *communication_table = NULL;
int host_list_size;
double *computation_duration = NULL;
double *communication_table = NULL;
- double communication_amount;
- double computation_amount;
+ double communication_amount
= 0
;
+ double computation_amount
= 0
;
double execution_time;
double execution_time;
@@
-91,7
+91,7
@@
int redistribute(int argc, char *argv[])
int host_list_size;
double *computation_duration = NULL;
double *communication_table = NULL;
int host_list_size;
double *computation_duration = NULL;
double *communication_table = NULL;
- double communication_amount;
+ double communication_amount
= 0
;
double redistribution_time;
double redistribution_time;