On Mon, Mar 15, 2010 at 12:42:56AM +0100, Mircea Gherzan wrote: > Diego Biurrun <diego@xxxxxxxxxx> wrote: > > Now we're adding local clutter to work around platform shortcomings. > > I have the nagging feeling that gettimeofday() would avoid all these > > problems. So why not switch back? > > Because it's declared *obsolete* by POSIX.1-2008. I know. But it's available everywhere, very much unlike clock_gettime(). So what's the advantage of clock_gettime() in the real world? I don't see any... Diego