From: Christian Heinrich Date: Wed, 20 Apr 2016 16:29:03 +0000 (+0200) Subject: [SMPI] Introduce smpi/papi_events option X-Git-Tag: v3_14~1202^2~15 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/06ee57d1f41a929aefd01a17151a5dd51402eb33 [SMPI] Introduce smpi/papi_events option --- diff --git a/src/simgrid/sg_config.cpp b/src/simgrid/sg_config.cpp index 8459539872..67da0de999 100644 --- a/src/simgrid/sg_config.cpp +++ b/src/simgrid/sg_config.cpp @@ -581,6 +581,10 @@ void sg_config_init(int *argc, char **argv) xbt_cfg_register_boolean("smpi/privatize-global-variables", "no", NULL, "Whether we should privatize global variable at runtime."); xbt_cfg_register_alias("smpi/privatize-global-variables", "smpi/privatize_global_variables"); +#if HAVE_PAPI + xbt_cfg_register_string("smpi/papi-events", nullptr, NULL, "This switch enables tracking the specified counters with PAPI"); +#endif + xbt_cfg_register_string("smpi/os", "1:0:0:0:0", NULL, "Small messages timings (MPI_Send minimum time for small messages)"); xbt_cfg_register_string("smpi/ois", "1:0:0:0:0", NULL, "Small messages timings (MPI_Isend minimum time for small messages)"); xbt_cfg_register_string("smpi/or", "1:0:0:0:0", NULL, "Small messages timings (MPI_Recv minimum time for small messages)");