X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/eb5b6b0c3c4d9a38bb205b2c8bc9aeeba8674a25..4667db33a753d88cbcd186f191fb1e65f49f4bd6:/include/xbt/xbt_os_time.h diff --git a/include/xbt/xbt_os_time.h b/include/xbt/xbt_os_time.h index 0b1341aa29..b9d9b46b92 100644 --- a/include/xbt/xbt_os_time.h +++ b/include/xbt/xbt_os_time.h @@ -10,11 +10,14 @@ #define _XBT_OS_TIMER_H #include /* XBT_PUBLIC */ +#include /* size_t */ -/** @brief get time in seconds +SG_BEGIN_DECL() - * gives the number of seconds since the Epoch (00:00:00 UTC, January 1, 1970). - */ +/** @brief get time in seconds + * + * gives the number of seconds since the Epoch (00:00:00 UTC, January 1, 1970). + */ XBT_PUBLIC(double) xbt_os_time(void); XBT_PUBLIC(void) xbt_os_sleep(double sec); @@ -36,4 +39,7 @@ XBT_PUBLIC(void) xbt_os_cputimer_stop(xbt_os_timer_t timer); XBT_PUBLIC(void) xbt_os_threadtimer_start(xbt_os_timer_t timer); XBT_PUBLIC(void) xbt_os_threadtimer_resume(xbt_os_timer_t timer); XBT_PUBLIC(void) xbt_os_threadtimer_stop(xbt_os_timer_t timer); + +SG_END_DECL() + #endif