Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Do not include the useless semaphore standard header. It's not needed, and moreover...
[simgrid.git] / src / include / xbt / xbt_os_time.h
index 533bbf6..031bd0e 100644 (file)
   * 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;
-xbt_os_timer_t xbt_os_timer_new(void);
-void xbt_os_timer_free(xbt_os_timer_t timer);
-void xbt_os_timer_start(xbt_os_timer_t timer);
-void xbt_os_timer_stop(xbt_os_timer_t timer);
-double xbt_os_timer_elapsed(xbt_os_timer_t timer);
+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_stop(xbt_os_timer_t timer);
+XBT_PUBLIC(double) xbt_os_timer_elapsed(xbt_os_timer_t timer);
 
 #endif