#define _XBT_OS_TIMER_H
#include <xbt/misc.h> /* XBT_PUBLIC */
+#include <stddef.h> /* size_t */
SG_BEGIN_DECL()
/** @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);
+ *
+ * gives the number of seconds since the Epoch (00:00:00 UTC, January 1, 1970).
+ */
+XBT_PUBLIC(double) xbt_os_time();
XBT_PUBLIC(void) xbt_os_sleep(double sec);
typedef struct s_xbt_os_timer *xbt_os_timer_t;
-XBT_PUBLIC(xbt_os_timer_t) xbt_os_timer_new(void);
+XBT_PUBLIC(xbt_os_timer_t) xbt_os_timer_new();
XBT_PUBLIC(void) xbt_os_timer_free(xbt_os_timer_t timer);
XBT_PUBLIC(double) xbt_os_timer_elapsed(xbt_os_timer_t timer);
-XBT_PUBLIC(size_t) xbt_os_timer_size(void);
+XBT_PUBLIC(size_t) xbt_os_timer_size();
XBT_PUBLIC(void) xbt_os_walltimer_start(xbt_os_timer_t timer);
XBT_PUBLIC(void) xbt_os_walltimer_resume(xbt_os_timer_t timer);