svn commit: r230201 - head/lib/libc/gen
jhb at freebsd.org
Thu Jan 19 15:50:47 UTC 2012
On Thursday, January 19, 2012 12:57:50 am David Xu wrote:
> rdtsc() may not work on SMP, so I have updated it to use clock_gettime
> to get total time.
> Still, lfence is a lot faster than atomic lock.
This the patch I've had for quite a while. Can you retest with this? You'll
probably have to install the updated header in /usr/include as well.
More information about the svn-src-head