[sldev] [SNOW][PATCH] Intent to commit
Tofu Linden
tofu.linden at lindenlab.com
Thu Jul 23 05:58:54 PDT 2009
gettimeofday() is fine with me, though anecdotally clock_gettime()
seems a bit more reliable (i.e. monotonic) in the presence of clock
adjustments - would be nice to compare.
Robin Cornelius wrote:
> http://jira.secondlife.com/browse/SNOW-108
>
> A very simple patch to use get_time_of_day() for AMD64 Linux, as the get
> cpu count asm fails to return correct values and also fails on multicore
> systems.
>
> I would actually prefer to use the original patch and to always use the
> get_time_of_day() operating system call rather than hit the processor
> directly, but there is a 2nd version of the patch that leaves the
> original i386 code path untouched.
>
> Any comments, esp Tofu?
More information about the SLDev
mailing list