Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
replace SIMIX_process_count by simgrid_get_actor_count
[simgrid.git] / include / simgrid / engine.h
index 2add055..4a2247e 100644 (file)
@@ -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
  *