projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0860caf
)
fix
author
Matthias Braun
<matze@braunis.de>
Thu, 6 Aug 2009 16:36:43 +0000
(16:36 +0000)
committer
Matthias Braun
<matze@braunis.de>
Thu, 6 Aug 2009 16:36:43 +0000
(16:36 +0000)
[r26321]
ir/stat/stat_timing.h
patch
|
blob
|
history
diff --git
a/ir/stat/stat_timing.h
b/ir/stat/stat_timing.h
index
1915084
..
517f201
100644
(file)
--- a/
ir/stat/stat_timing.h
+++ b/
ir/stat/stat_timing.h
@@
-53,7
+53,7
@@
static __inline timing_ticks_t __timing_ticks(void) { __asm { rdtsc } }
typedef struct timeval timing_ticks_t;
#define timing_ticks(t) (gettimeofday(&(t), NULL))
-#define timing_ticks_init(t) memset((t), 0, sizeof(t))
+#define timing_ticks_init(t) memset(
&
(t), 0, sizeof(t))
/*
* This shamelessly stolen and modified from glibc's