X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6760cb07d6b57be16928d95339d71e57c4e24f36..fdb00db083af84f44f82e6dfd98140a4b1c08c22:/src/include/xbt/xbt_os_time.h diff --git a/src/include/xbt/xbt_os_time.h b/src/include/xbt/xbt_os_time.h index e9f30e4433..a86bcdd96c 100644 --- a/src/include/xbt/xbt_os_time.h +++ b/src/include/xbt/xbt_os_time.h @@ -15,15 +15,15 @@ /** @brief get time in seconds * gives the number of seconds since the Epoch (00:00:00 UTC, January 1, 1970). - * Most users should use gras_os_time and should not use this function unless - they really know what they are doing. */ + */ XBT_PUBLIC(double) xbt_os_time(void); XBT_PUBLIC(void) xbt_os_sleep(double sec); - typedef struct s_xbt_os_timer *xbt_os_timer_t; +typedef struct s_xbt_os_timer *xbt_os_timer_t; XBT_PUBLIC(xbt_os_timer_t) xbt_os_timer_new(void); XBT_PUBLIC(void) xbt_os_timer_free(xbt_os_timer_t timer); XBT_PUBLIC(void) xbt_os_timer_start(xbt_os_timer_t timer); +XBT_PUBLIC(void) xbt_os_timer_resume(xbt_os_timer_t timer); XBT_PUBLIC(void) xbt_os_timer_stop(xbt_os_timer_t timer); XBT_PUBLIC(double) xbt_os_timer_elapsed(xbt_os_timer_t timer);