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
Update copyright lines with new year.
[simgrid.git]
/
teshsuite
/
xbt
/
parmap_bench
/
parmap_bench.cpp
diff --git
a/teshsuite/xbt/parmap_bench/parmap_bench.cpp
b/teshsuite/xbt/parmap_bench/parmap_bench.cpp
index
db7c43e
..
e9a34f2
100644
(file)
--- a/
teshsuite/xbt/parmap_bench/parmap_bench.cpp
+++ b/
teshsuite/xbt/parmap_bench/parmap_bench.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2012-20
19
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2012-20
20
. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
@@
-15,9
+15,9
@@
XBT_LOG_NEW_DEFAULT_CATEGORY(parmap_bench, "Bench for parmap");
XBT_LOG_NEW_DEFAULT_CATEGORY(parmap_bench, "Bench for parmap");
-#define MODES_DEFAULT 0x7
-#define ARRAY_SIZE 10007
-#define FIBO_MAX 25
+constexpr unsigned MODES_DEFAULT = 0x7;
+constexpr unsigned ARRAY_SIZE = 10007;
+constexpr unsigned FIBO_MAX = 25;
void (*fun_to_apply)(unsigned*);
void (*fun_to_apply)(unsigned*);