X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/04e4b74194a2a469fa52ea1b29f0a7265a24434f..16f1630ae434e729cbe0b24fe2f19c8f67f774cd:/include/simgrid/engine.h diff --git a/include/simgrid/engine.h b/include/simgrid/engine.h index 2add0558ae..4a2247eec8 100644 --- a/include/simgrid/engine.h +++ b/include/simgrid/engine.h @@ -38,6 +38,8 @@ XBT_PUBLIC void simgrid_register_function(const char* name, int (*code)(int, cha XBT_PUBLIC void simgrid_register_default(int (*code)(int, char**)); /** Retrieve the simulation time (in seconds) */ XBT_PUBLIC double simgrid_get_clock(); +/** Retrieve the number of actors in the simulation */ +XBT_PUBLIC int simgrid_get_actor_count(); /** @brief Allow other libraries to react to the --help flag, too *