X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d0044d55f406052a8fe431b8ba2eec7d85217dd3..832fed2e817aad1deb04971a551b7a5204981d87:/src/include/xbt/xbt_portability.h?ds=sidebyside diff --git a/src/include/xbt/xbt_portability.h b/src/include/xbt/xbt_portability.h index 6a3ef6a859..be1589292f 100644 --- a/src/include/xbt/xbt_portability.h +++ b/src/include/xbt/xbt_portability.h @@ -17,4 +17,11 @@ they really know what they are doing. */ double xbt_os_time(void); +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); + #endif