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?


_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/SLDev
Please read the policies before posting to keep unmoderated posting privileges

Reply via email to