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
Use size_t for xbt_malloc and friends.
[simgrid.git]
/
include
/
xbt
/
time.h
diff --git
a/include/xbt/time.h
b/include/xbt/time.h
index
20ebc93
..
2a7ebad
100644
(file)
--- a/
include/xbt/time.h
+++ b/
include/xbt/time.h
@@
-1,12
+1,13
@@
/* xbt/time.h -- Time tools */
/* Usable in simulator, (or in real life when mixing with GRAS) */
/* xbt/time.h -- Time tools */
/* Usable in simulator, (or in real life when mixing with GRAS) */
-/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
+/* Copyright (c) 2007, 2009, 2010. 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. */
/* 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. */
-#include "xbt/misc.h" /* SG_BEGIN_DECL */
+#include "xbt/misc.h"
/* SG_BEGIN_DECL */
SG_BEGIN_DECL()
SG_BEGIN_DECL()
@@
-14,8
+15,7
@@
SG_BEGIN_DECL()
*
* Time management functions, returns the system time or sleeps a process. They work both on the simulated and real systems(GRAS).
*/
*
* Time management functions, returns the system time or sleeps a process. They work both on the simulated and real systems(GRAS).
*/
-
-XBT_PUBLIC(double) xbt_os_time(void);
-XBT_PUBLIC(void) xbt_os_sleep(double sec);
+XBT_PUBLIC(double) xbt_time(void);
+XBT_PUBLIC(void) xbt_sleep(double sec);
SG_END_DECL()
SG_END_DECL()