A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename the class objects and C types for the As -> NetZone transition
[simgrid.git]
/
include
/
xbt
/
xbt_os_time.h
diff --git
a/include/xbt/xbt_os_time.h
b/include/xbt/xbt_os_time.h
index
d0a4292
..
b9d9b46
100644
(file)
--- a/
include/xbt/xbt_os_time.h
+++ b/
include/xbt/xbt_os_time.h
@@
-10,13
+10,14
@@
#define _XBT_OS_TIMER_H
#include <xbt/misc.h> /* XBT_PUBLIC */
#define _XBT_OS_TIMER_H
#include <xbt/misc.h> /* XBT_PUBLIC */
+#include <stddef.h> /* size_t */
SG_BEGIN_DECL()
/** @brief get time in seconds
SG_BEGIN_DECL()
/** @brief get time in seconds
-
-
* gives the number of seconds since the Epoch (00:00:00 UTC, January 1, 1970).
-
*/
+ *
+ * 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);
XBT_PUBLIC(double) xbt_os_time(void);
XBT_PUBLIC(void) xbt_os_sleep(double sec);