Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
update the comments of that file
[simgrid.git] / src / include / xbt / xbt_os_time.h
index a6d848d..0b1341a 100644 (file)
@@ -1,14 +1,13 @@
-/*  xbt/xbt_portability.h -- all system dependency                          */
-/* Private portability layer                                                */
+/*  xbt/xbt_os_timer.h -- system dependency on time functions               */
 
-/* Copyright (c) 2007, 2009, 2010. The SimGrid Team.
+/* Copyright (c) 2007, 2009-2010, 2012-2014. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#ifndef _XBT_PORTABILITY_H
-#define _XBT_PORTABILITY_H
+#ifndef _XBT_OS_TIMER_H
+#define _XBT_OS_TIMER_H
 
 #include <xbt/misc.h>           /* XBT_PUBLIC */
 
@@ -20,10 +19,11 @@ 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_PUBLIC(xbt_os_timer_t) xbt_os_timer_new(void);
 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(void) xbt_os_walltimer_start(xbt_os_timer_t timer);
 XBT_PUBLIC(void) xbt_os_walltimer_resume(xbt_os_timer_t timer);