projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gas on cygwin doesn't like section type (althought that's not what the docu says...
[libfirm]
/
ir
/
stat
/
stat_timing.h
diff --git
a/ir/stat/stat_timing.h
b/ir/stat/stat_timing.h
index
5d75b72
..
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))
typedef struct timeval timing_ticks_t;
#define timing_ticks(t) (gettimeofday(&(t), NULL))
-#define timing_ticks_init(t)
((t).tv_sec = 0, (t).tv_usec = 0
)
+#define timing_ticks_init(t)
memset(&(t), 0, sizeof(t)
)
/*
* This shamelessly stolen and modified from glibc's
/*
* This shamelessly stolen and modified from glibc's