Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Enable SIMIX parallel mode for parmap_{bench,text}.
[simgrid.git] / teshsuite / xbt / parmap_bench / parmap_bench.cpp
index ce12620..4fbead4 100644 (file)
@@ -131,6 +131,7 @@ int main(int argc, char* argv[])
   XBT_INFO("Parmap benchmark with %d workers (modes = %#x)...", nthreads, modes);
   XBT_INFO("%s", "");
 
+  SIMIX_context_set_nthreads(nthreads);
   fun_to_apply = &fun_small_comp;
 
   XBT_INFO("Benchmark for parmap create+apply+destroy (small comp):");