Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[sonar] Constify pointer and reference parameters in examples/deprecated/.
[simgrid.git] / include / simgrid / engine.h
index 2add055..c63b5d0 100644 (file)
@@ -14,14 +14,14 @@ XBT_PUBLIC void simgrid_init(int* argc, char** argv);
 
 /** Creates a new platform, including hosts, links, and the routing table.
  *
- * \rst
+ * \beginrst
  * See also: :ref:`platform`.
  * \endrst
  */
 XBT_PUBLIC void simgrid_load_platform(const char* filename);
 /** Load a deployment file and launch the actors that it contains
  *
- * \rst
+ * \beginrst
  * See also: :ref:`deploy`.
  * \endrst
  */
@@ -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
  *