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
please sonar and use & when creating function pointers
[simgrid.git]
/
teshsuite
/
xbt
/
parmap_bench
/
parmap_bench.c
diff --git
a/teshsuite/xbt/parmap_bench/parmap_bench.c
b/teshsuite/xbt/parmap_bench/parmap_bench.c
index
f28a54f
..
a3f1b0f
100644
(file)
--- a/
teshsuite/xbt/parmap_bench/parmap_bench.c
+++ b/
teshsuite/xbt/parmap_bench/parmap_bench.c
@@
-183,7
+183,7
@@
int main(int argc, char *argv[])
printf("Parmap benchmark with %d workers (modes = %#x)...\n\n", nthreads, modes);
printf("Parmap benchmark with %d workers (modes = %#x)...\n\n", nthreads, modes);
- fun_to_apply = fun_small_comp;
+ fun_to_apply =
&
fun_small_comp;
printf("Benchmark for parmap create+apply+destroy (small comp):\n");
bench_all_modes(bench_parmap_full, nthreads, modes);
printf("Benchmark for parmap create+apply+destroy (small comp):\n");
bench_all_modes(bench_parmap_full, nthreads, modes);
@@
-193,7
+193,7
@@
int main(int argc, char *argv[])
bench_all_modes(bench_parmap_apply, nthreads, modes);
printf("\n");
bench_all_modes(bench_parmap_apply, nthreads, modes);
printf("\n");
- fun_to_apply = fun_big_comp;
+ fun_to_apply =
&
fun_big_comp;
printf("Benchmark for parmap create+apply+destroy (big comp):\n");
bench_all_modes(bench_parmap_full, nthreads, modes);
printf("Benchmark for parmap create+apply+destroy (big comp):\n");
bench_all_modes(bench_parmap_full, nthreads, modes);