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
Enable SIMIX parallel mode for parmap_{bench,text}.
[simgrid.git]
/
teshsuite
/
xbt
/
parmap_test
/
parmap_test.cpp
diff --git
a/teshsuite/xbt/parmap_test/parmap_test.cpp
b/teshsuite/xbt/parmap_test/parmap_test.cpp
index
cfb1684
..
2e4416f
100644
(file)
--- a/
teshsuite/xbt/parmap_test/parmap_test.cpp
+++ b/
teshsuite/xbt/parmap_test/parmap_test.cpp
@@
-83,7
+83,9
@@
static int test_parmap_extended(e_xbt_parmap_mode_t mode)
int main(int argc, char** argv)
{
int status = 0;
int main(int argc, char** argv)
{
int status = 0;
+ xbt_log_control_set("parmap_test.fmt:[%c/%p]%e%m%n");
MSG_init(&argc, argv);
MSG_init(&argc, argv);
+ SIMIX_context_set_nthreads(16); // dummy value > 1
XBT_INFO("Basic testing posix");
status += test_parmap_basic(XBT_PARMAP_POSIX);
XBT_INFO("Basic testing posix");
status += test_parmap_basic(XBT_PARMAP_POSIX);