X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dbb0053e46341918b4d5ba5ec69ddbd54c01f5de..17015166daf4c69a05fe412053880c80c5333d87:/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 *