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
get size of struct s_xbt_os_timer
[simgrid.git]
/
src
/
xbt
/
xbt_os_time.c
diff --git
a/src/xbt/xbt_os_time.c
b/src/xbt/xbt_os_time.c
index
4e0f331
..
f0d4387
100644
(file)
--- a/
src/xbt/xbt_os_time.c
+++ b/
src/xbt/xbt_os_time.c
@@
-99,6
+99,10
@@
struct s_xbt_os_timer {
#endif
};
+size_t xbt_os_timer_size(void){
+ return sizeof(struct s_xbt_os_timer);
+}
+
xbt_os_timer_t xbt_os_timer_new(void)
{
return xbt_new0(struct s_xbt_os_timer, 1);