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
Remove useless files.
[simgrid.git]
/
testsuite
/
xbt
/
parmap_bench.c
diff --git
a/testsuite/xbt/parmap_bench.c
b/testsuite/xbt/parmap_bench.c
index cec94262e25042a86a6ae450eb4e6bc643355117..e95d77deaec354c4992fbb8bca5ec38f3c000a35 100644
(file)
--- a/
testsuite/xbt/parmap_bench.c
+++ b/
testsuite/xbt/parmap_bench.c
@@
-3,7
+3,8
@@
#include <xbt/dynar.h>
#include <xbt/parmap.h>
#include <xbt/sysdep.h>
#include <xbt/dynar.h>
#include <xbt/parmap.h>
#include <xbt/sysdep.h>
-#include <gras_config.h> /* HAVE_FUTEX_H */
+#include <internal_config.h> /* HAVE_FUTEX_H */
+#include "simgrid/simix.h"
#include "xbt/xbt_os_time.h"
#define MODES_DEFAULT 0x7
#include "xbt/xbt_os_time.h"
#define MODES_DEFAULT 0x7
@@
-166,6
+167,8
@@
int main(int argc, char *argv[])
int nthreads;
unsigned modes = MODES_DEFAULT;
int nthreads;
unsigned modes = MODES_DEFAULT;
+ SIMIX_global_init(&argc, argv);
+
if (argc != 2 && argc != 3) {
fprintf(stderr,
"Usage: %s nthreads [modes]\n"
if (argc != 2 && argc != 3) {
fprintf(stderr,
"Usage: %s nthreads [modes]\n"