X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/aae7a703c6ceea5834b33c55eea5076bf87a988b..446516ef6cc8459883ad5b3a53cd724e24185c21:/src/simix/smx_global.c diff --git a/src/simix/smx_global.c b/src/simix/smx_global.c index 3280f7a910..abde774b8f 100644 --- a/src/simix/smx_global.c +++ b/src/simix/smx_global.c @@ -49,6 +49,7 @@ XBT_INLINE double SIMIX_timer_next(void) } /** + * \ingroup SIMIX_API * \brief Initialize SIMIX internal data. * * \param argc Argc @@ -101,6 +102,7 @@ void SIMIX_global_init(int *argc, char **argv) } /** + * \ingroup SIMIX_API * \brief Clean the SIMIX simulation * * This functions remove the memory used by SIMIX @@ -152,6 +154,7 @@ void SIMIX_clean(void) /** + * \ingroup SIMIX_API * \brief A clock (in second). * * \return Return the clock. @@ -178,6 +181,10 @@ static int process_syscall_color(void *p) } } +/** + * \ingroup SIMIX_API + * \brief Run the main simulation loop. + */ void SIMIX_run(void) { double time = 0; @@ -310,12 +317,12 @@ void SIMIX_run(void) } /** - * \brief Set the date to execute a function + * \brief Set the date to execute a function * * Set the date to execute the function on the surf. - * \param date Date to execute function - * \param function Function to be executed - * \param arg Parameters of the function + * \param date Date to execute function + * \param function Function to be executed + * \param arg Parameters of the function * */ XBT_INLINE void SIMIX_timer_set(double date, void *function, void *arg)