Commit d20e8214 authored by Matthias Braun's avatar Matthias Braun
Browse files

fix

[r26321]
parent 0860cafa
...@@ -53,7 +53,7 @@ static __inline timing_ticks_t __timing_ticks(void) { __asm { rdtsc } } ...@@ -53,7 +53,7 @@ static __inline timing_ticks_t __timing_ticks(void) { __asm { rdtsc } }
typedef struct timeval timing_ticks_t; typedef struct timeval timing_ticks_t;
#define timing_ticks(t) (gettimeofday(&(t), NULL)) #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 * This shamelessly stolen and modified from glibc's
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment